Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_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.002512/0.002512, 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.003026/0.003026, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.69/1.69, 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.462/1.462, 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.Alteplase.Alteplase_Verstraete1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_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.004437/0.004437, allocations: 77.47 kB / 0.775 GB, free: 15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1692, allocations: 73.99 MB / 0.8472 GB, free: 5.152 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference): time 0.004979/0.1742, allocations: 1.82 MB / 0.849 GB, free: 3.332 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1755, allocations: 0.5383 MB / 0.8495 GB, free: 2.793 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.1755, allocations: 4 kB / 0.8495 GB, free: 2.789 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.1756, allocations: 11.86 kB / 0.8495 GB, free: 2.777 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.176, allocations: 68.97 kB / 0.8496 GB, free: 2.711 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.1762, allocations: 65.66 kB / 0.8497 GB, free: 2.648 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.1765, allocations: 159.9 kB / 0.8498 GB, free: 2.492 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.1765, allocations: 13.91 kB / 0.8498 GB, free: 2.48 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1766, allocations: 71.72 kB / 0.8499 GB, free: 2.41 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.1769, allocations: 80.2 kB / 0.85 GB, free: 2.332 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.1769, allocations: 8.688 kB / 0.85 GB, free: 2.324 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.246e-05/0.1769, allocations: 8.719 kB / 0.85 GB, free: 2.316 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.07e-05/0.177, allocations: 35.83 kB / 0.85 GB, free: 2.281 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.197e-05/0.1771, allocations: 48.34 kB / 0.8501 GB, free: 2.234 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.1773, allocations: 95.58 kB / 0.8502 GB, free: 2.141 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1773, allocations: 0.5938 kB / 0.8502 GB, free: 2.141 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1773, allocations: 0.5 kB / 0.8502 GB, free: 2.141 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1773, allocations: 4 kB / 0.8502 GB, free: 2.137 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.001133/0.1784, allocations: 389.3 kB / 0.8505 GB, free: 1.723 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.1785, allocations: 16.38 kB / 0.8506 GB, free: 1.707 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.1785, allocations: 16.84 kB / 0.8506 GB, free: 1.691 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1788, allocations: 147.5 kB / 0.8507 GB, free: 1.523 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1788, allocations: 8.875 kB / 0.8507 GB, free: 1.516 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.1788, allocations: 8.125 kB / 0.8507 GB, free: 1.508 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.1791, allocations: 106.5 kB / 0.8508 GB, free: 1.398 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1791, allocations: 0.6562 kB / 0.8508 GB, free: 1.398 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1792, allocations: 3.984 kB / 0.8508 GB, free: 1.395 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1792, allocations: 1.75 kB / 0.8508 GB, free: 1.395 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.1795, allocations: 79.86 kB / 0.8509 GB, free: 1.316 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.18, allocations: 286.7 kB / 0.8512 GB, free: 1.008 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/0.1807, allocations: 138.4 kB / 0.8513 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.1809, allocations: 52.83 kB / 0.8514 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.181, allocations: 0 / 0.8514 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004357/0.1814, allocations: 123.2 kB / 0.8515 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.1814, allocations: 0.9062 kB / 0.8515 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.001002/0.1824, allocations: 199.7 kB / 0.8517 GB, free: 492 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.1825, allocations: 59.41 kB / 0.8517 GB, free: 420 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.1827, allocations: 150.5 kB / 0.8519 GB, free: 260 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.1828, allocations: 33.69 kB / 0.8519 GB, free: 220 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1829, allocations: 104.8 kB / 0.852 GB, free: 112 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/0.183, allocations: 51.62 kB / 0.8521 GB, free: 60 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1831, allocations: 34.8 kB / 0.8521 GB, free: 20 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002813/0.1834, allocations: 330.8 kB / 0.8524 GB, free: 15.69 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.1837, allocations: 86.14 kB / 0.8525 GB, free: 15.6 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.1842, allocations: 196.9 kB / 0.8527 GB, free: 15.37 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.1848, allocations: 147.6 kB / 0.8528 GB, free: 15.22 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1848, allocations: 0.625 kB / 0.8528 GB, free: 15.22 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005002/0.1853, allocations: 236.1 kB / 0.853 GB, free: 14.97 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.1854, allocations: 38.28 kB / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1854, allocations: 0.7188 kB / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1854, allocations: 0 / 0.8531 GB, free: 14.93 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.1855, allocations: 28.61 kB / 0.8531 GB, free: 14.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1856, allocations: 4 kB / 0.8531 GB, free: 14.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1857, allocations: 25.19 kB / 0.8531 GB, free: 14.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1857, allocations: 8 kB / 0.8531 GB, free: 14.87 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.0001257/0.1859, allocations: 126.6 kB / 0.8533 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.1859, allocations: 8.172 kB / 0.8533 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.1864, allocations: 172 kB / 0.8534 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.1864, allocations: 7.875 kB / 0.8534 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1864, allocations: 1 kB / 0.8534 GB, free: 14.55 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1864, allocations: 4 kB / 0.8535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.1866, allocations: 145.2 kB / 0.8536 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1866, allocations: 9.984 kB / 0.8536 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.1867, allocations: 19.98 kB / 0.8536 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1867, allocations: 0 / 0.8536 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.1868, allocations: 8 kB / 0.8536 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1868, allocations: 0 / 0.8536 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1868, allocations: 0.5625 kB / 0.8536 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.1874, allocations: 259.6 kB / 0.8539 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.1874, allocations: 11.92 kB / 0.8539 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1874, allocations: 8 kB / 0.8539 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.1876, allocations: 7.984 kB / 0.8539 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.1876, allocations: 19.97 kB / 0.8539 GB, free: 14.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1876, allocations: 4.719 kB / 0.8539 GB, free: 14.02 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1878, allocations: 121.9 kB / 0.854 GB, free: 13.9 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1878, allocations: 1.875 kB / 0.854 GB, free: 13.9 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000216/0.188, allocations: 32 kB / 0.8541 GB, free: 13.87 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.0001382/0.1881, allocations: 107.2 kB / 0.8542 GB, free: 13.75 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004956/0.1886, allocations: 213.3 kB / 0.8544 GB, free: 13.53 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1886, allocations: 4.969 kB / 0.8544 GB, free: 13.53 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.1888, allocations: 59.89 kB / 0.8544 GB, free: 13.47 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.1891, allocations: 37.97 kB / 0.8545 GB, free: 13.43 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007658/0.1899, allocations: 326.7 kB / 0.8548 GB, free: 13.09 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.19, allocations: 99.11 kB / 0.8549 GB, free: 12.97 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000102/0.1901, allocations: 32.41 kB / 0.8549 GB, free: 12.95 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.1901, allocations: 20.06 kB / 0.8549 GB, free: 12.93 MB / 490.8 MB Notification: Performance of SimCode: time 4.71e-07/0.1901, allocations: 0 / 0.8549 GB, free: 12.93 MB / 490.8 MB Notification: Performance of Templates: time 0.2618/0.452, allocations: 2.613 MB / 0.8575 GB, free: 28.2 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Alteplase.Alteplase_Verstraete1985_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.560430370969698]