Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002475/0.002475, allocations: 84.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002962/0.002962, allocations: 173.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.658/1.658, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.507/1.507, allocations: 293 MB / 0.5392 GB, free: 49.81 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6999 GB, free: 8.605 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.842e-05/4.006e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.602 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference): time 0.002833/0.002873, allocations: 1.821 MB / 0.7017 GB, free: 6.766 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009778/0.003851, allocations: 0.5535 MB / 0.7022 GB, free: 6.207 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.003917, allocations: 0 / 0.7022 GB, free: 6.207 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.004025, allocations: 11.86 kB / 0.7022 GB, free: 6.195 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.004404, allocations: 63.42 kB / 0.7023 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.004572, allocations: 75.77 kB / 0.7024 GB, free: 6.062 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.004781, allocations: 163.3 kB / 0.7025 GB, free: 5.902 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.515e-05/0.004836, allocations: 9.312 kB / 0.7025 GB, free: 5.895 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.004969, allocations: 87.78 kB / 0.7026 GB, free: 5.809 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.00521, allocations: 75.77 kB / 0.7027 GB, free: 5.734 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.005238, allocations: 8 kB / 0.7027 GB, free: 5.727 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.806e-05/0.005266, allocations: 8 kB / 0.7027 GB, free: 5.719 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.005331, allocations: 39.83 kB / 0.7028 GB, free: 5.68 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.582e-05/0.005397, allocations: 43.91 kB / 0.7028 GB, free: 5.637 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.005543, allocations: 99.62 kB / 0.7029 GB, free: 5.539 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005547, allocations: 3.984 kB / 0.7029 GB, free: 5.535 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.005549, allocations: 0 / 0.7029 GB, free: 5.535 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.005554, allocations: 0 / 0.7029 GB, free: 5.535 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007758/0.00633, allocations: 395.5 kB / 0.7033 GB, free: 5.113 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.006369, allocations: 15.83 kB / 0.7033 GB, free: 5.098 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.006429, allocations: 20.84 kB / 0.7033 GB, free: 5.078 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.006613, allocations: 153 kB / 0.7035 GB, free: 4.906 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.006632, allocations: 4.375 kB / 0.7035 GB, free: 4.902 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.006668, allocations: 12.38 kB / 0.7035 GB, free: 4.891 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.006924, allocations: 94.17 kB / 0.7036 GB, free: 4.793 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.006936, allocations: 3.938 kB / 0.7036 GB, free: 4.789 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.006953, allocations: 7.938 kB / 0.7036 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.006961, allocations: 4 kB / 0.7036 GB, free: 4.777 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.007251, allocations: 83.92 kB / 0.7037 GB, free: 4.695 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.007752, allocations: 272.4 kB / 0.7039 GB, free: 4.398 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.008127, allocations: 146.3 kB / 0.7041 GB, free: 4.246 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.008275, allocations: 48.81 kB / 0.7041 GB, free: 4.195 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.008293, allocations: 7.938 kB / 0.7041 GB, free: 4.188 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.008556, allocations: 111.3 kB / 0.7042 GB, free: 4.066 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.008557, allocations: 0 / 0.7042 GB, free: 4.066 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005653/0.009122, allocations: 193.7 kB / 0.7044 GB, free: 3.871 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.009152, allocations: 59.39 kB / 0.7045 GB, free: 3.801 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.009274, allocations: 155.6 kB / 0.7046 GB, free: 3.641 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.009295, allocations: 33.64 kB / 0.7046 GB, free: 3.602 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.009348, allocations: 104.1 kB / 0.7047 GB, free: 3.496 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.009377, allocations: 39.64 kB / 0.7048 GB, free: 3.457 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.009441, allocations: 37.7 kB / 0.7048 GB, free: 3.414 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.009497, allocations: 326.8 kB / 0.7051 GB, free: 3.086 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.009666, allocations: 85.66 kB / 0.7052 GB, free: 2.996 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.009865, allocations: 199.5 kB / 0.7054 GB, free: 2.766 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.01016, allocations: 144.4 kB / 0.7055 GB, free: 2.617 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01017, allocations: 3.938 kB / 0.7055 GB, free: 2.613 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003923/0.01056, allocations: 239.2 kB / 0.7058 GB, free: 2.363 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.01059, allocations: 37.62 kB / 0.7058 GB, free: 2.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.0106, allocations: 4 kB / 0.7058 GB, free: 2.316 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.01061, allocations: 4 kB / 0.7058 GB, free: 2.312 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.01078, allocations: 23.98 kB / 0.7058 GB, free: 2.289 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01078, allocations: 0 / 0.7058 GB, free: 2.289 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.01096, allocations: 19.92 kB / 0.7058 GB, free: 2.27 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.01098, allocations: 7.984 kB / 0.7059 GB, free: 2.262 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.01106, allocations: 126.4 kB / 0.706 GB, free: 2.129 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.01108, allocations: 11.91 kB / 0.706 GB, free: 2.117 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.01148, allocations: 177.2 kB / 0.7062 GB, free: 1.945 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01148, allocations: 7.938 kB / 0.7062 GB, free: 1.938 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01149, allocations: 0 / 0.7062 GB, free: 1.938 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.01149, allocations: 4.031 kB / 0.7062 GB, free: 1.934 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.01162, allocations: 149.4 kB / 0.7063 GB, free: 1.758 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01162, allocations: 3.938 kB / 0.7063 GB, free: 1.754 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.01179, allocations: 23.92 kB / 0.7063 GB, free: 1.73 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01179, allocations: 4 kB / 0.7063 GB, free: 1.727 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.01181, allocations: 4 kB / 0.7063 GB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01181, allocations: 7.938 kB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01181, allocations: 0 / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.01232, allocations: 244.9 kB / 0.7066 GB, free: 1.457 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.01235, allocations: 27.81 kB / 0.7066 GB, free: 1.43 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.01238, allocations: 4 kB / 0.7066 GB, free: 1.426 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.01251, allocations: 11.98 kB / 0.7066 GB, free: 1.414 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.01258, allocations: 15.97 kB / 0.7066 GB, free: 1.398 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.01259, allocations: 8.062 kB / 0.7066 GB, free: 1.391 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.409e-05/0.01266, allocations: 125.8 kB / 0.7068 GB, free: 1.27 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01266, allocations: 0 / 0.7068 GB, free: 1.27 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002162/0.01288, allocations: 32 kB / 0.7068 GB, free: 1.238 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001206/0.013, allocations: 107.2 kB / 0.7069 GB, free: 1.121 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.01341, allocations: 209 kB / 0.7071 GB, free: 0.8984 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01341, allocations: 0 / 0.7071 GB, free: 0.8984 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.01357, allocations: 67.88 kB / 0.7072 GB, free: 0.832 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.01388, allocations: 43.89 kB / 0.7072 GB, free: 0.7891 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006347/0.01452, allocations: 305.5 kB / 0.7075 GB, free: 476 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.821e-05/0.01458, allocations: 93.81 kB / 0.7076 GB, free: 364 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.421e-05/0.01467, allocations: 25.47 kB / 0.7076 GB, free: 336 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.01473, allocations: 16.5 kB / 0.7076 GB, free: 320 kB / 410.8 MB Notification: Performance of SimCode: time 3.2e-07/0.01473, allocations: 0 / 0.7076 GB, free: 320 kB / 410.8 MB Notification: Performance of Templates: time 0.006632/0.02136, allocations: 2.509 MB / 0.7101 GB, free: 13.92 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Tanaka1985_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.003083169925958]