Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_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.002499/0.002499, 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.002842/0.002842, 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.725/1.725, allocations: 230.6 MB / 256 MB, free: 9.594 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.48/1.48, allocations: 316.7 MB / 0.6144 GB, free: 92.91 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.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_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.003978/0.003978, allocations: 73.3 kB / 0.775 GB, free: 14.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1431, allocations: 73.99 MB / 0.8472 GB, free: 4.957 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_reference): time 0.004593/0.1477, allocations: 2.297 MB / 0.8495 GB, free: 2.66 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2923/0.44, allocations: 6.525 MB / 0.8558 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.4402, allocations: 0 / 0.8558 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.4403, allocations: 29.2 kB / 0.8559 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.4406, allocations: 82.19 kB / 0.856 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.4408, allocations: 51.95 kB / 0.856 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.441, allocations: 256 kB / 0.8562 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.4412, allocations: 40.28 kB / 0.8563 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.4413, allocations: 97.59 kB / 0.8564 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.4415, allocations: 100.7 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.4415, allocations: 14.5 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.964e-05/0.4416, allocations: 20.12 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.4416, allocations: 36.69 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.24e-05/0.4417, allocations: 97.25 kB / 0.8566 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.4419, allocations: 190.7 kB / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4419, allocations: 0.9688 kB / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4419, allocations: 0 / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.4419, allocations: 3.938 kB / 0.8568 GB, free: 21.8 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.0007433/0.4427, allocations: 499.6 kB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.4427, allocations: 9.281 kB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.4427, allocations: 24.48 kB / 0.8573 GB, free: 21.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.443, allocations: 186.9 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.443, allocations: 12.33 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.443, allocations: 23.42 kB / 0.8575 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.4434, allocations: 186.1 kB / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4434, allocations: 2.875 kB / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.4434, allocations: 3.719 kB / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4434, allocations: 6 kB / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.4437, allocations: 149.9 kB / 0.8579 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.4444, allocations: 483.4 kB / 0.8583 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.4448, allocations: 172.4 kB / 0.8585 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.445, allocations: 95.22 kB / 0.8586 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.445, allocations: 7.281 kB / 0.8586 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002915/0.4453, allocations: 222.8 kB / 0.8588 GB, free: 20.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.4453, allocations: 0 / 0.8588 GB, free: 20.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00123/0.4465, allocations: 0.7045 MB / 0.8595 GB, free: 20.21 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.4465, allocations: 141 kB / 0.8596 GB, free: 20.05 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.4467, allocations: 210.9 kB / 0.8598 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.4467, allocations: 31.3 kB / 0.8599 GB, free: 19.92 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.4468, allocations: 140.8 kB / 0.86 GB, free: 19.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.4468, allocations: 74.53 kB / 0.8601 GB, free: 19.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.4469, allocations: 50.12 kB / 0.8601 GB, free: 19.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.4469, allocations: 343.6 kB / 0.8604 GB, free: 19.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.4471, allocations: 139.7 kB / 0.8606 GB, free: 19.37 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.4473, allocations: 225.5 kB / 0.8608 GB, free: 19.2 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.4477, allocations: 278.6 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.4477, allocations: 0.5312 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005097/0.4482, allocations: 394.4 kB / 0.8614 GB, free: 18.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.4482, allocations: 63.81 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4482, allocations: 7.469 kB / 0.8615 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4482, allocations: 3.031 kB / 0.8615 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.4484, allocations: 53 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4484, allocations: 3.969 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.4486, allocations: 15.47 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.4486, allocations: 13.19 kB / 0.8616 GB, free: 18.79 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.0001326/0.4488, allocations: 178.9 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.4488, allocations: 19.64 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.4488, allocations: 28.3 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4488, allocations: 1.906 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4488, allocations: 9.969 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4488, allocations: 3.938 kB / 0.8618 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.4494, allocations: 0.5379 MB / 0.8623 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4494, allocations: 3.438 kB / 0.8623 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.4496, allocations: 33.81 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4496, allocations: 0 / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.4496, allocations: 10.2 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4496, allocations: 3.938 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4496, allocations: 1.938 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.4503, allocations: 499.7 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.4503, allocations: 20.06 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.4504, allocations: 7.844 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.4505, allocations: 20.86 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.4506, allocations: 21.42 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.4506, allocations: 7.312 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001118/0.4507, allocations: 163.3 kB / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4507, allocations: 0 / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002974/0.451, allocations: 56.28 kB / 0.8632 GB, free: 17.96 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 9.755e-05/0.4511, allocations: 109.6 kB / 0.8633 GB, free: 17.87 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000508/0.4516, allocations: 385.3 kB / 0.8636 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4516, allocations: 0.75 kB / 0.8636 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.4519, allocations: 171.3 kB / 0.8638 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.4523, allocations: 71.91 kB / 0.8639 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4534, allocations: 0.6885 MB / 0.8645 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.515e-05/0.4535, allocations: 127.1 kB / 0.8647 GB, free: 17.13 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.72e-05/0.4536, allocations: 25.33 kB / 0.8647 GB, free: 17.13 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.4536, allocations: 20.73 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of SimCode: time 3.31e-07/0.4536, allocations: 0 / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of Templates: time 0.008111/0.4617, allocations: 3.646 MB / 0.8683 GB, free: 16.8 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02A_AntiadrenergicAgentsCentrallyActing.C02AC05_Moxonidine.Moxonidine_Hempel1998_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.672448216937482]