Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_a.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.001804/0.001804, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.00192/0.00192, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.719/1.719, allocations: 230.6 MB / 256 MB, free: 9.586 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.509/1.509, allocations: 316.7 MB / 0.6144 GB, free: 92.89 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_Shinohara2017_nio_a,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_a") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_a,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_a") [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.003959/0.003959, allocations: 69.55 kB / 0.775 GB, free: 14.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1571, allocations: 74 MB / 0.8472 GB, free: 4.793 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_a): time 0.003464/0.1606, allocations: 1.815 MB / 0.849 GB, free: 2.98 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.162, allocations: 0.5471 MB / 0.8495 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.1621, allocations: 0 / 0.8495 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.1622, allocations: 11.86 kB / 0.8495 GB, free: 2.422 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.1626, allocations: 64.88 kB / 0.8496 GB, free: 2.359 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.1628, allocations: 67.78 kB / 0.8497 GB, free: 2.297 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.1631, allocations: 167.9 kB / 0.8498 GB, free: 2.133 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.1631, allocations: 5.312 kB / 0.8498 GB, free: 2.129 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.1633, allocations: 72.27 kB / 0.8499 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.1635, allocations: 84.36 kB / 0.85 GB, free: 1.977 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.1636, allocations: 8.594 kB / 0.85 GB, free: 1.969 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.208e-05/0.1636, allocations: 4 kB / 0.85 GB, free: 1.965 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.1637, allocations: 36.34 kB / 0.85 GB, free: 1.93 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.766e-05/0.1638, allocations: 52.39 kB / 0.8501 GB, free: 1.879 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.164, allocations: 95.58 kB / 0.8502 GB, free: 1.785 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.164, allocations: 0.5938 kB / 0.8502 GB, free: 1.785 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.733e-06/0.164, allocations: 0 / 0.8502 GB, free: 1.785 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.164, allocations: 0.5625 kB / 0.8502 GB, free: 1.785 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.0009163/0.1649, allocations: 389.2 kB / 0.8505 GB, free: 1.371 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1649, allocations: 16.58 kB / 0.8506 GB, free: 1.355 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.165, allocations: 12.84 kB / 0.8506 GB, free: 1.344 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1653, allocations: 155.6 kB / 0.8507 GB, free: 1.168 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1653, allocations: 4.375 kB / 0.8507 GB, free: 1.164 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.1653, allocations: 12.62 kB / 0.8507 GB, free: 1.152 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.1656, allocations: 102.2 kB / 0.8508 GB, free: 1.047 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1656, allocations: 4.5 kB / 0.8508 GB, free: 1.043 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1656, allocations: 0 / 0.8508 GB, free: 1.043 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1656, allocations: 4.5 kB / 0.8508 GB, free: 1.039 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.1659, allocations: 82.27 kB / 0.8509 GB, free: 0.9609 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.1665, allocations: 280.3 kB / 0.8512 GB, free: 0.6562 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.1669, allocations: 134.4 kB / 0.8513 GB, free: 0.5156 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.1671, allocations: 49.47 kB / 0.8514 GB, free: 476 kB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1671, allocations: 4.531 kB / 0.8514 GB, free: 472 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.1674, allocations: 112.3 kB / 0.8515 GB, free: 348 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.1674, allocations: 5.094 kB / 0.8515 GB, free: 344 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006231/0.168, allocations: 209.8 kB / 0.8517 GB, free: 132 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.1681, allocations: 51.41 kB / 0.8517 GB, free: 68 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1683, allocations: 155 kB / 0.8519 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.1683, allocations: 33.7 kB / 0.8519 GB, free: 15.87 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.1684, allocations: 105.8 kB / 0.852 GB, free: 15.76 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.035e-05/0.1685, allocations: 47.62 kB / 0.8521 GB, free: 15.71 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.1686, allocations: 37.7 kB / 0.8521 GB, free: 15.67 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1687, allocations: 330.8 kB / 0.8524 GB, free: 15.34 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.1689, allocations: 79 kB / 0.8525 GB, free: 15.26 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.1693, allocations: 202.1 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.1696, allocations: 141.9 kB / 0.8528 GB, free: 14.88 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1696, allocations: 2.031 kB / 0.8528 GB, free: 14.88 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005135/0.1701, allocations: 243.5 kB / 0.853 GB, free: 14.62 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.1702, allocations: 33.7 kB / 0.8531 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1702, allocations: 4 kB / 0.8531 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1702, allocations: 0.75 kB / 0.8531 GB, free: 14.58 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1704, allocations: 24.58 kB / 0.8531 GB, free: 14.56 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.1704, allocations: 11.91 kB / 0.8531 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.1706, allocations: 28.72 kB / 0.8531 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1706, allocations: 0.5938 kB / 0.8531 GB, free: 14.52 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.0001406/0.1707, allocations: 126.2 kB / 0.8533 GB, free: 14.39 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.1707, allocations: 12.45 kB / 0.8533 GB, free: 14.38 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.1712, allocations: 175.6 kB / 0.8534 GB, free: 14.2 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.1712, allocations: 4 kB / 0.8534 GB, free: 14.2 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1712, allocations: 0.6875 kB / 0.8534 GB, free: 14.2 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1713, allocations: 3.984 kB / 0.8535 GB, free: 14.19 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1715, allocations: 149.7 kB / 0.8536 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1715, allocations: 0.6562 kB / 0.8536 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.1716, allocations: 27.98 kB / 0.8536 GB, free: 13.99 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1716, allocations: 4.656 kB / 0.8536 GB, free: 13.98 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.1716, allocations: 4.625 kB / 0.8536 GB, free: 13.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1716, allocations: 3.984 kB / 0.8536 GB, free: 13.98 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1716, allocations: 4.594 kB / 0.8536 GB, free: 13.97 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/0.1723, allocations: 250 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.1723, allocations: 12.58 kB / 0.8539 GB, free: 13.7 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1723, allocations: 7.984 kB / 0.8539 GB, free: 13.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1725, allocations: 12.55 kB / 0.8539 GB, free: 13.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.1726, allocations: 12.89 kB / 0.8539 GB, free: 13.67 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1726, allocations: 7.984 kB / 0.8539 GB, free: 13.66 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1727, allocations: 126.6 kB / 0.854 GB, free: 13.54 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1727, allocations: 0 / 0.854 GB, free: 13.54 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002418/0.1729, allocations: 32.59 kB / 0.8541 GB, free: 13.51 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.0001647/0.1731, allocations: 99.97 kB / 0.8542 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005126/0.1736, allocations: 218.1 kB / 0.8544 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1736, allocations: 0.5 kB / 0.8544 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.1738, allocations: 60.58 kB / 0.8544 GB, free: 13.11 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1742, allocations: 41.53 kB / 0.8545 GB, free: 13.07 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.175, allocations: 323.2 kB / 0.8548 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.1751, allocations: 102.8 kB / 0.8549 GB, free: 12.61 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.1752, allocations: 24.45 kB / 0.8549 GB, free: 12.59 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.1753, allocations: 16.12 kB / 0.8549 GB, free: 12.58 MB / 490.8 MB Notification: Performance of SimCode: time 4.41e-07/0.1753, allocations: 0 / 0.8549 GB, free: 12.58 MB / 490.8 MB Notification: Performance of Templates: time 0.3257/0.501, allocations: 2.63 MB / 0.8575 GB, free: 28.14 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_a.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_a.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_a.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_a.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_a.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_a -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_a.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.532756468979642]