Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_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.00185/0.00185, allocations: 109.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.002504/0.002504, allocations: 216.9 kB / 22.25 MB, free: 3.574 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.732/1.732, allocations: 230.6 MB / 256 MB, free: 9.633 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.511/1.511, allocations: 316.7 MB / 0.6144 GB, free: 93.54 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_Webber1997_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference") [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.004676/0.004676, allocations: 77.56 kB / 0.775 GB, free: 14.93 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1737, allocations: 73.98 MB / 0.8472 GB, free: 5.082 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference): time 0.003926/0.1776, allocations: 1.817 MB / 0.849 GB, free: 3.266 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1788, allocations: 0.5415 MB / 0.8495 GB, free: 2.723 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.1789, allocations: 0 / 0.8495 GB, free: 2.723 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.179, allocations: 12.52 kB / 0.8496 GB, free: 2.711 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.1794, allocations: 64.91 kB / 0.8496 GB, free: 2.648 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.1796, allocations: 65.69 kB / 0.8497 GB, free: 2.586 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.1799, allocations: 164 kB / 0.8498 GB, free: 2.426 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.1799, allocations: 9.891 kB / 0.8498 GB, free: 2.418 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1801, allocations: 71.7 kB / 0.8499 GB, free: 2.348 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.1803, allocations: 84.2 kB / 0.85 GB, free: 2.266 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.1804, allocations: 8.688 kB / 0.85 GB, free: 2.258 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.444e-05/0.1804, allocations: 4 kB / 0.85 GB, free: 2.254 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.1805, allocations: 36.5 kB / 0.85 GB, free: 2.219 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.473e-05/0.1806, allocations: 47.78 kB / 0.8501 GB, free: 2.172 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1808, allocations: 96.17 kB / 0.8502 GB, free: 2.078 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1808, allocations: 0.5938 kB / 0.8502 GB, free: 2.078 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1808, allocations: 0 / 0.8502 GB, free: 2.078 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1808, allocations: 0.5938 kB / 0.8502 GB, free: 2.078 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.0009143/0.1817, allocations: 393.3 kB / 0.8506 GB, free: 1.66 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1817, allocations: 12.03 kB / 0.8506 GB, free: 1.648 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.1818, allocations: 17.81 kB / 0.8506 GB, free: 1.633 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.182, allocations: 150.8 kB / 0.8507 GB, free: 1.461 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1821, allocations: 6.375 kB / 0.8507 GB, free: 1.457 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.1821, allocations: 16.12 kB / 0.8507 GB, free: 1.441 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.1824, allocations: 101.1 kB / 0.8508 GB, free: 1.34 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1824, allocations: 3.984 kB / 0.8508 GB, free: 1.336 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1824, allocations: 4 kB / 0.8509 GB, free: 1.332 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1824, allocations: 4.969 kB / 0.8509 GB, free: 1.328 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.1827, allocations: 81.89 kB / 0.8509 GB, free: 1.25 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.1833, allocations: 280.3 kB / 0.8512 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.1837, allocations: 138.4 kB / 0.8513 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.1839, allocations: 47.52 kB / 0.8514 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.1839, allocations: 7.984 kB / 0.8514 GB, free: 0.7461 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.1842, allocations: 115.3 kB / 0.8515 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1842, allocations: 0 / 0.8515 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006063/0.1848, allocations: 198.4 kB / 0.8517 GB, free: 432 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.1849, allocations: 56.27 kB / 0.8517 GB, free: 364 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.185, allocations: 157.5 kB / 0.8519 GB, free: 200 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.1851, allocations: 30.27 kB / 0.8519 GB, free: 164 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/0.1852, allocations: 108.1 kB / 0.852 GB, free: 52 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.1852, allocations: 44.22 kB / 0.8521 GB, free: 8 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.1853, allocations: 42.27 kB / 0.8521 GB, free: 15.96 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1855, allocations: 326.8 kB / 0.8524 GB, free: 15.63 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.1857, allocations: 82.94 kB / 0.8525 GB, free: 15.55 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.186, allocations: 202.7 kB / 0.8527 GB, free: 15.31 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.1863, allocations: 145.5 kB / 0.8528 GB, free: 15.16 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1863, allocations: 0.5938 kB / 0.8528 GB, free: 15.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004935/0.1868, allocations: 237.4 kB / 0.8531 GB, free: 14.91 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.1869, allocations: 34.28 kB / 0.8531 GB, free: 14.88 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1869, allocations: 4.484 kB / 0.8531 GB, free: 14.87 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.1869, allocations: 4.688 kB / 0.8531 GB, free: 14.87 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.1871, allocations: 23.98 kB / 0.8531 GB, free: 14.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1871, allocations: 0.6562 kB / 0.8531 GB, free: 14.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.1873, allocations: 25.88 kB / 0.8531 GB, free: 14.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.1873, allocations: 11.92 kB / 0.8532 GB, free: 14.81 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.0001292/0.1874, allocations: 121.8 kB / 0.8533 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.1875, allocations: 11.95 kB / 0.8533 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.1879, allocations: 173.5 kB / 0.8534 GB, free: 14.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1879, allocations: 4 kB / 0.8535 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1879, allocations: 7.875 kB / 0.8535 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1879, allocations: 4 kB / 0.8535 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.1881, allocations: 153.2 kB / 0.8536 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1881, allocations: 0 / 0.8536 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1883, allocations: 29.05 kB / 0.8536 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1883, allocations: 0 / 0.8536 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1883, allocations: 0 / 0.8536 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1883, allocations: 2.094 kB / 0.8536 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1883, allocations: 7.938 kB / 0.8536 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.189, allocations: 259.5 kB / 0.8539 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.189, allocations: 12.52 kB / 0.8539 GB, free: 13.98 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.189, allocations: 1.406 kB / 0.8539 GB, free: 13.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.1892, allocations: 15.98 kB / 0.8539 GB, free: 13.97 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.1892, allocations: 11.97 kB / 0.8539 GB, free: 13.96 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1892, allocations: 8.656 kB / 0.8539 GB, free: 13.95 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000124/0.1894, allocations: 121.9 kB / 0.8541 GB, free: 13.83 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1894, allocations: 0.8125 kB / 0.8541 GB, free: 13.83 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002236/0.1896, allocations: 35.98 kB / 0.8541 GB, free: 13.8 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.0001578/0.1898, allocations: 100.5 kB / 0.8542 GB, free: 13.69 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005042/0.1903, allocations: 209.6 kB / 0.8544 GB, free: 13.47 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1903, allocations: 0.7188 kB / 0.8544 GB, free: 13.47 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.1905, allocations: 68.47 kB / 0.8545 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1908, allocations: 49.66 kB / 0.8545 GB, free: 13.36 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007847/0.1916, allocations: 322.6 kB / 0.8548 GB, free: 13.02 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.1917, allocations: 99.48 kB / 0.8549 GB, free: 12.9 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.1918, allocations: 23.75 kB / 0.8549 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.1918, allocations: 20 kB / 0.8549 GB, free: 12.86 MB / 490.8 MB Notification: Performance of SimCode: time 4.41e-07/0.1919, allocations: 0.625 kB / 0.8549 GB, free: 12.86 MB / 490.8 MB Notification: Performance of Templates: time 0.3281/0.5199, allocations: 2.633 MB / 0.8575 GB, free: 28.2 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.556776521960273]