Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_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.002117/0.002117, 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.002122/0.002122, allocations: 210.5 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.816/1.816, allocations: 230.6 MB / 256 MB, free: 9.637 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.463/1.463, allocations: 316.7 MB / 0.6144 GB, free: 93.31 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.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_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.003958/0.003958, allocations: 81.83 kB / 0.7749 GB, free: 14.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1696, allocations: 73.99 MB / 0.8472 GB, free: 5.113 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference): time 0.004341/0.174, allocations: 2.299 MB / 0.8494 GB, free: 2.816 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4/0.5739, allocations: 6.521 MB / 0.8558 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.5742, allocations: 0.5469 kB / 0.8558 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.5744, allocations: 25.73 kB / 0.8558 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.5747, allocations: 84.64 kB / 0.8559 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.575, allocations: 50.94 kB / 0.856 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003453/0.5754, allocations: 259.6 kB / 0.8562 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.5756, allocations: 34.77 kB / 0.8562 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.5757, allocations: 98.69 kB / 0.8563 GB, free: 21.75 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.576, allocations: 94.97 kB / 0.8564 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.576, allocations: 20.41 kB / 0.8564 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.362e-05/0.576, allocations: 17.47 kB / 0.8565 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.5761, allocations: 39.42 kB / 0.8565 GB, free: 21.72 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.5762, allocations: 94.5 kB / 0.8566 GB, free: 21.7 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.5765, allocations: 199.7 kB / 0.8568 GB, free: 21.66 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5765, allocations: 0 / 0.8568 GB, free: 21.66 MB / 490.8 MB Notification: Performance of FrontEnd: time 8.927e-06/0.5765, allocations: 0 / 0.8568 GB, free: 21.66 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.5765, allocations: 1.875 kB / 0.8568 GB, free: 21.66 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008993/0.5774, allocations: 497.1 kB / 0.8573 GB, free: 21.27 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5774, allocations: 11 kB / 0.8573 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.5775, allocations: 25.11 kB / 0.8573 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.5778, allocations: 189.4 kB / 0.8575 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.5778, allocations: 12.02 kB / 0.8575 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.5778, allocations: 19.02 kB / 0.8575 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.5782, allocations: 188 kB / 0.8577 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.5782, allocations: 2.312 kB / 0.8577 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.5782, allocations: 7.484 kB / 0.8577 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.5782, allocations: 2.219 kB / 0.8577 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.5786, allocations: 149.3 kB / 0.8578 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007624/0.5793, allocations: 482.1 kB / 0.8583 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.5798, allocations: 176.2 kB / 0.8585 GB, free: 20.62 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.58, allocations: 101.3 kB / 0.8586 GB, free: 20.58 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.58, allocations: 5.156 kB / 0.8586 GB, free: 20.58 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/0.5804, allocations: 223.6 kB / 0.8588 GB, free: 20.44 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.5804, allocations: 0.6875 kB / 0.8588 GB, free: 20.44 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001588/0.582, allocations: 0.7018 MB / 0.8595 GB, free: 20.07 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.582, allocations: 141.8 kB / 0.8596 GB, free: 19.92 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.5823, allocations: 210 kB / 0.8598 GB, free: 19.82 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.5823, allocations: 33.39 kB / 0.8598 GB, free: 19.79 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.5824, allocations: 136 kB / 0.86 GB, free: 19.69 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.5824, allocations: 71.81 kB / 0.86 GB, free: 19.64 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.5825, allocations: 53.75 kB / 0.8601 GB, free: 19.63 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.5826, allocations: 337.6 kB / 0.8604 GB, free: 19.31 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.5829, allocations: 149 kB / 0.8605 GB, free: 19.24 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.5831, allocations: 217.8 kB / 0.8608 GB, free: 19.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.5836, allocations: 283.9 kB / 0.861 GB, free: 18.91 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5836, allocations: 3.219 kB / 0.861 GB, free: 18.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006046/0.5842, allocations: 384.8 kB / 0.8614 GB, free: 18.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/0.5842, allocations: 65.39 kB / 0.8615 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.5843, allocations: 7.344 kB / 0.8615 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.5843, allocations: 2.25 kB / 0.8615 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.5845, allocations: 51.23 kB / 0.8615 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.5845, allocations: 8.062 kB / 0.8615 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.5847, allocations: 21.39 kB / 0.8615 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.5847, allocations: 17.16 kB / 0.8616 GB, free: 18.65 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001889/0.5849, allocations: 173.5 kB / 0.8617 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.5849, allocations: 28.05 kB / 0.8618 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.144e-05/0.585, allocations: 28.44 kB / 0.8618 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.585, allocations: 0 / 0.8618 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.585, allocations: 0.5938 kB / 0.8618 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.585, allocations: 5.375 kB / 0.8618 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007459/0.5857, allocations: 0.5419 MB / 0.8623 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5858, allocations: 0.625 kB / 0.8623 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.5859, allocations: 36.5 kB / 0.8624 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.5859, allocations: 0 / 0.8624 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.586, allocations: 10.69 kB / 0.8624 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.586, allocations: 10.62 kB / 0.8624 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.586, allocations: 0.625 kB / 0.8624 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.5867, allocations: 499.2 kB / 0.8628 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.5867, allocations: 16.92 kB / 0.8629 GB, free: 17.91 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.5867, allocations: 13.5 kB / 0.8629 GB, free: 17.91 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.5869, allocations: 10.77 kB / 0.8629 GB, free: 17.91 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/0.587, allocations: 28.58 kB / 0.8629 GB, free: 17.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.587, allocations: 4.625 kB / 0.8629 GB, free: 17.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001352/0.5871, allocations: 162.2 kB / 0.8631 GB, free: 17.82 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5871, allocations: 0 / 0.8631 GB, free: 17.82 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003021/0.5874, allocations: 56.22 kB / 0.8631 GB, free: 17.82 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.000139/0.5876, allocations: 110.1 kB / 0.8632 GB, free: 17.73 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006582/0.5882, allocations: 381.7 kB / 0.8636 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5882, allocations: 0 / 0.8636 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.5885, allocations: 172.1 kB / 0.8638 GB, free: 17.41 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.589, allocations: 70.72 kB / 0.8638 GB, free: 17.4 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.5905, allocations: 0.6814 MB / 0.8645 GB, free: 17.09 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.5906, allocations: 127.4 kB / 0.8646 GB, free: 17.01 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.5907, allocations: 21.55 kB / 0.8646 GB, free: 17.01 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.5908, allocations: 25.22 kB / 0.8647 GB, free: 17 MB / 490.8 MB Notification: Performance of SimCode: time 8.82e-07/0.5908, allocations: 0 / 0.8647 GB, free: 17 MB / 490.8 MB Notification: Performance of Templates: time 0.009671/0.6005, allocations: 3.644 MB / 0.8682 GB, free: 16.67 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_Buck1989_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.760639716172591]