Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.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.001893/0.001893, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002014/0.002014, allocations: 218.4 kB / 22.25 MB, free: 3.703 MB / 13.93 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.705/1.705, allocations: 230.6 MB / 256 MB, free: 9.57 MB / 202.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.473/1.473, allocations: 316.7 MB / 0.6144 GB, free: 93.38 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.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003801/0.003801, allocations: 73.52 kB / 0.775 GB, free: 14.87 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.17, allocations: 74 MB / 0.8472 GB, free: 5.016 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c): time 0.003726/0.1737, allocations: 1.804 MB / 0.849 GB, free: 3.211 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.175, allocations: 0.5534 MB / 0.8495 GB, free: 2.656 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.1751, allocations: 0.5625 kB / 0.8495 GB, free: 2.656 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.1752, allocations: 12.45 kB / 0.8496 GB, free: 2.645 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.1756, allocations: 60.89 kB / 0.8496 GB, free: 2.586 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1758, allocations: 68.64 kB / 0.8497 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.1761, allocations: 163.3 kB / 0.8498 GB, free: 2.363 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.1762, allocations: 5.812 kB / 0.8498 GB, free: 2.359 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.1763, allocations: 76.19 kB / 0.8499 GB, free: 2.285 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.1766, allocations: 76.31 kB / 0.85 GB, free: 2.211 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.1766, allocations: 8 kB / 0.85 GB, free: 2.203 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.505e-05/0.1767, allocations: 8.562 kB / 0.85 GB, free: 2.195 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.1768, allocations: 40.31 kB / 0.85 GB, free: 2.156 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.1768, allocations: 48.42 kB / 0.8501 GB, free: 2.109 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.177, allocations: 95.58 kB / 0.8502 GB, free: 2.016 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.177, allocations: 0.7188 kB / 0.8502 GB, free: 2.016 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.814e-06/0.177, allocations: 0 / 0.8502 GB, free: 2.016 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.177, allocations: 0.625 kB / 0.8502 GB, free: 2.016 MB / 474.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.0009029/0.1779, allocations: 389.8 kB / 0.8506 GB, free: 1.602 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.178, allocations: 8.031 kB / 0.8506 GB, free: 1.594 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.178, allocations: 20.78 kB / 0.8506 GB, free: 1.574 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1783, allocations: 152.9 kB / 0.8507 GB, free: 1.402 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1783, allocations: 12.31 kB / 0.8507 GB, free: 1.391 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.1784, allocations: 12.12 kB / 0.8507 GB, free: 1.379 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.1786, allocations: 97.62 kB / 0.8508 GB, free: 1.277 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1786, allocations: 3.938 kB / 0.8508 GB, free: 1.273 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1787, allocations: 4.578 kB / 0.8508 GB, free: 1.27 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.1787, allocations: 6.031 kB / 0.8509 GB, free: 1.266 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.179, allocations: 79.92 kB / 0.8509 GB, free: 1.188 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.1795, allocations: 276.3 kB / 0.8512 GB, free: 0.8867 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.1799, allocations: 135.6 kB / 0.8513 GB, free: 0.7461 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.1801, allocations: 49.75 kB / 0.8514 GB, free: 0.6953 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1801, allocations: 0 / 0.8514 GB, free: 0.6953 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/0.1804, allocations: 121.4 kB / 0.8515 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.1804, allocations: 4 kB / 0.8515 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006132/0.181, allocations: 200.8 kB / 0.8517 GB, free: 372 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.1811, allocations: 56.97 kB / 0.8517 GB, free: 304 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.1813, allocations: 154.5 kB / 0.8519 GB, free: 140 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.1813, allocations: 29.7 kB / 0.8519 GB, free: 104 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1814, allocations: 104.2 kB / 0.852 GB, free: 15.99 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.1815, allocations: 49.08 kB / 0.8521 GB, free: 15.95 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/0.1815, allocations: 33.7 kB / 0.8521 GB, free: 15.91 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1817, allocations: 330.6 kB / 0.8524 GB, free: 15.58 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.1819, allocations: 82.16 kB / 0.8525 GB, free: 15.49 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.1825, allocations: 204.9 kB / 0.8527 GB, free: 15.26 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.1828, allocations: 139.9 kB / 0.8528 GB, free: 15.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1828, allocations: 3.938 kB / 0.8528 GB, free: 15.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004915/0.1833, allocations: 240.6 kB / 0.853 GB, free: 14.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.1833, allocations: 38.31 kB / 0.8531 GB, free: 14.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1833, allocations: 3.984 kB / 0.8531 GB, free: 14.81 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1834, allocations: 0.625 kB / 0.8531 GB, free: 14.81 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.1835, allocations: 28.58 kB / 0.8531 GB, free: 14.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1835, allocations: 0.5 kB / 0.8531 GB, free: 14.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.1837, allocations: 20.66 kB / 0.8531 GB, free: 14.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.1837, allocations: 8.594 kB / 0.8531 GB, free: 14.76 MB / 490.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 0.0001319/0.1839, allocations: 134.2 kB / 0.8533 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.1839, allocations: 8.578 kB / 0.8533 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/0.1844, allocations: 175.2 kB / 0.8534 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.1844, allocations: 7.984 kB / 0.8535 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1844, allocations: 4.656 kB / 0.8535 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1844, allocations: 0.75 kB / 0.8535 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.1846, allocations: 153.1 kB / 0.8536 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1846, allocations: 0.5625 kB / 0.8536 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.1847, allocations: 23.97 kB / 0.8536 GB, free: 14.22 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1848, allocations: 4.75 kB / 0.8536 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.1848, allocations: 4.5 kB / 0.8536 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1848, allocations: 4 kB / 0.8536 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1848, allocations: 0.625 kB / 0.8536 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.1854, allocations: 246.1 kB / 0.8539 GB, free: 13.95 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.1855, allocations: 16.38 kB / 0.8539 GB, free: 13.93 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.1855, allocations: 12.44 kB / 0.8539 GB, free: 13.92 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1857, allocations: 12.67 kB / 0.8539 GB, free: 13.91 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.1857, allocations: 15.97 kB / 0.8539 GB, free: 13.89 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1857, allocations: 4.5 kB / 0.8539 GB, free: 13.89 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1859, allocations: 122.5 kB / 0.8541 GB, free: 13.77 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1859, allocations: 0 / 0.8541 GB, free: 13.77 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002324/0.1861, allocations: 32.62 kB / 0.8541 GB, free: 13.74 MB / 490.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.0001819/0.1863, allocations: 104 kB / 0.8542 GB, free: 13.63 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005406/0.1868, allocations: 218.3 kB / 0.8544 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1868, allocations: 0 / 0.8544 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.1871, allocations: 61.14 kB / 0.8544 GB, free: 13.34 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1874, allocations: 41.72 kB / 0.8545 GB, free: 13.3 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008943/0.1883, allocations: 326.8 kB / 0.8548 GB, free: 12.96 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.1884, allocations: 94.77 kB / 0.8549 GB, free: 12.85 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1885, allocations: 24.39 kB / 0.8549 GB, free: 12.83 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.1886, allocations: 19.92 kB / 0.8549 GB, free: 12.81 MB / 490.8 MB Notification: Performance of SimCode: time 6.11e-07/0.1886, allocations: 0.5938 kB / 0.8549 GB, free: 12.81 MB / 490.8 MB Notification: Performance of Templates: time 0.2816/0.4702, allocations: 2.632 MB / 0.8575 GB, free: 28.17 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.530140506103635]