Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.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.001991/0.001991, 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.00216/0.00216, allocations: 226.4 kB / 22.25 MB, free: 3.57 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.767/1.767, allocations: 230.6 MB / 256 MB, free: 9.617 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.444/1.444, allocations: 316.8 MB / 0.6144 GB, free: 93.56 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.ProtoporphyrinIx.ProtoporphyrinIx,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx") [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.003593/0.003593, allocations: 73.8 kB / 0.775 GB, free: 15.09 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1559, allocations: 74 MB / 0.8473 GB, free: 5.238 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx): time 0.003713/0.1596, allocations: 1.821 MB / 0.8491 GB, free: 3.418 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1609, allocations: 0.5457 MB / 0.8496 GB, free: 2.871 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.161, allocations: 0 / 0.8496 GB, free: 2.871 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.1611, allocations: 12.52 kB / 0.8496 GB, free: 2.859 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.1615, allocations: 64.42 kB / 0.8497 GB, free: 2.797 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.1617, allocations: 70.02 kB / 0.8497 GB, free: 2.734 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.162, allocations: 163.3 kB / 0.8499 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/0.1621, allocations: 7.094 kB / 0.8499 GB, free: 2.57 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.1622, allocations: 75.69 kB / 0.85 GB, free: 2.496 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.1626, allocations: 83.66 kB / 0.8501 GB, free: 2.414 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.1626, allocations: 4 kB / 0.8501 GB, free: 2.41 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.469e-05/0.1626, allocations: 12.62 kB / 0.8501 GB, free: 2.398 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.1627, allocations: 35.88 kB / 0.8501 GB, free: 2.363 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.1628, allocations: 46.3 kB / 0.8502 GB, free: 2.32 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.163, allocations: 99.58 kB / 0.8502 GB, free: 2.223 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.163, allocations: 0 / 0.8502 GB, free: 2.223 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.583e-06/0.163, allocations: 0 / 0.8502 GB, free: 2.223 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.163, allocations: 0 / 0.8502 GB, free: 2.223 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.001014/0.164, allocations: 389.4 kB / 0.8506 GB, free: 1.809 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.1641, allocations: 15.89 kB / 0.8506 GB, free: 1.793 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.1641, allocations: 16.84 kB / 0.8507 GB, free: 1.777 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.1644, allocations: 156.1 kB / 0.8508 GB, free: 1.602 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1644, allocations: 8.375 kB / 0.8508 GB, free: 1.594 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.1645, allocations: 12.12 kB / 0.8508 GB, free: 1.582 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.1648, allocations: 98.22 kB / 0.8509 GB, free: 1.48 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1648, allocations: 1.188 kB / 0.8509 GB, free: 1.48 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1648, allocations: 3.984 kB / 0.8509 GB, free: 1.477 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1648, allocations: 4 kB / 0.8509 GB, free: 1.473 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.1651, allocations: 77.2 kB / 0.851 GB, free: 1.398 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.1657, allocations: 284.3 kB / 0.8513 GB, free: 1.09 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.1662, allocations: 135.6 kB / 0.8514 GB, free: 0.9492 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.1664, allocations: 57.44 kB / 0.8515 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1664, allocations: 4.562 kB / 0.8515 GB, free: 0.8867 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/0.1667, allocations: 116 kB / 0.8516 GB, free: 0.7617 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1667, allocations: 0.6562 kB / 0.8516 GB, free: 0.7617 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006629/0.1674, allocations: 194.8 kB / 0.8518 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.1674, allocations: 60.12 kB / 0.8518 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/0.1679, allocations: 157.3 kB / 0.852 GB, free: 344 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.168, allocations: 26.42 kB / 0.852 GB, free: 312 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1681, allocations: 112.1 kB / 0.8521 GB, free: 196 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.1681, allocations: 44.27 kB / 0.8521 GB, free: 152 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.707e-05/0.1682, allocations: 33.7 kB / 0.8522 GB, free: 112 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.1684, allocations: 331.3 kB / 0.8525 GB, free: 15.78 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.1686, allocations: 82.31 kB / 0.8526 GB, free: 15.69 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.1689, allocations: 202.7 kB / 0.8528 GB, free: 15.46 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.1693, allocations: 145.9 kB / 0.8529 GB, free: 15.31 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1693, allocations: 0.5312 kB / 0.8529 GB, free: 15.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005148/0.1698, allocations: 237.4 kB / 0.8531 GB, free: 15.06 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.09e-05/0.1699, allocations: 36.91 kB / 0.8532 GB, free: 15.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.1699, allocations: 4.438 kB / 0.8532 GB, free: 15.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.1699, allocations: 4.719 kB / 0.8532 GB, free: 15.01 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.1701, allocations: 27.98 kB / 0.8532 GB, free: 14.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1701, allocations: 4.562 kB / 0.8532 GB, free: 14.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.1703, allocations: 21.72 kB / 0.8532 GB, free: 14.96 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.1703, allocations: 8 kB / 0.8532 GB, free: 14.95 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.0001557/0.1705, allocations: 125.8 kB / 0.8533 GB, free: 14.82 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.1705, allocations: 7.953 kB / 0.8534 GB, free: 14.81 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000516/0.171, allocations: 179.9 kB / 0.8535 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.171, allocations: 4 kB / 0.8535 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1711, allocations: 3.938 kB / 0.8535 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1711, allocations: 0 / 0.8535 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.1713, allocations: 154.2 kB / 0.8537 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1713, allocations: 3.984 kB / 0.8537 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.1715, allocations: 28.53 kB / 0.8537 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1715, allocations: 0.9688 kB / 0.8537 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1715, allocations: 0 / 0.8537 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1715, allocations: 0 / 0.8537 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1715, allocations: 0.875 kB / 0.8537 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.1721, allocations: 266 kB / 0.854 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.1722, allocations: 11.89 kB / 0.854 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.1722, allocations: 5.75 kB / 0.854 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.1723, allocations: 11.98 kB / 0.854 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.1724, allocations: 15.97 kB / 0.854 GB, free: 14.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1724, allocations: 4 kB / 0.854 GB, free: 14.09 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1726, allocations: 119.8 kB / 0.8541 GB, free: 13.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1726, allocations: 0.5938 kB / 0.8541 GB, free: 13.98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002365/0.1728, allocations: 32 kB / 0.8542 GB, free: 13.95 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.0001856/0.173, allocations: 104.6 kB / 0.8543 GB, free: 13.84 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005064/0.1735, allocations: 209.5 kB / 0.8545 GB, free: 13.61 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1735, allocations: 0.6875 kB / 0.8545 GB, free: 13.61 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.1737, allocations: 64.48 kB / 0.8545 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.174, allocations: 45.59 kB / 0.8546 GB, free: 13.51 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008907/0.1749, allocations: 323.3 kB / 0.8549 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.175, allocations: 102.7 kB / 0.855 GB, free: 13.05 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.1751, allocations: 20.36 kB / 0.855 GB, free: 13.03 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.1752, allocations: 23.92 kB / 0.855 GB, free: 13.01 MB / 490.8 MB Notification: Performance of SimCode: time 6.22e-07/0.1752, allocations: 0.7188 kB / 0.855 GB, free: 13.01 MB / 490.8 MB Notification: Performance of Templates: time 0.3857/0.5609, allocations: 2.615 MB / 0.8576 GB, free: 28.3 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.5914258528500795]