Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.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.001992/0.001992, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002163/0.002163, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.71/1.71, allocations: 230.6 MB / 256 MB, free: 9.598 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.504/1.504, allocations: 316.7 MB / 0.6144 GB, free: 93.41 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.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin") [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.01138/0.01138, allocations: 69.3 kB / 0.775 GB, free: 15.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.175, allocations: 73.99 MB / 0.8472 GB, free: 5.164 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin): time 0.004306/0.1794, allocations: 2.313 MB / 0.8495 GB, free: 2.855 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3888/0.5682, allocations: 6.529 MB / 0.8558 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003071/0.5685, allocations: 2.625 kB / 0.8559 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.5687, allocations: 26.61 kB / 0.8559 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.569, allocations: 83.17 kB / 0.856 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.5692, allocations: 52.02 kB / 0.856 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.5696, allocations: 260.7 kB / 0.8563 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.5698, allocations: 33.47 kB / 0.8563 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.57, allocations: 99.17 kB / 0.8564 GB, free: 21.53 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.5702, allocations: 98.53 kB / 0.8565 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.5703, allocations: 17.34 kB / 0.8565 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.532e-05/0.5704, allocations: 18.62 kB / 0.8565 GB, free: 21.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.5704, allocations: 36.17 kB / 0.8565 GB, free: 21.49 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.5705, allocations: 95.17 kB / 0.8566 GB, free: 21.46 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.5709, allocations: 192.1 kB / 0.8568 GB, free: 21.44 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.5709, allocations: 2.797 kB / 0.8568 GB, free: 21.44 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5709, allocations: 2.281 kB / 0.8568 GB, free: 21.44 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.5709, allocations: 0 / 0.8568 GB, free: 21.44 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.001108/0.572, allocations: 0.4925 MB / 0.8573 GB, free: 21.04 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.572, allocations: 10.03 kB / 0.8573 GB, free: 21.04 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.5721, allocations: 24.61 kB / 0.8573 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.5724, allocations: 187.4 kB / 0.8575 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5725, allocations: 4.203 kB / 0.8575 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.5725, allocations: 27.72 kB / 0.8575 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.573, allocations: 189.8 kB / 0.8577 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.573, allocations: 2.75 kB / 0.8577 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.573, allocations: 3.656 kB / 0.8577 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.5731, allocations: 3.812 kB / 0.8577 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004819/0.5735, allocations: 148.2 kB / 0.8579 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009808/0.5745, allocations: 481.8 kB / 0.8583 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.5752, allocations: 171.2 kB / 0.8585 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.5754, allocations: 98.12 kB / 0.8586 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.5754, allocations: 4.5 kB / 0.8586 GB, free: 20.35 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/0.5758, allocations: 227.7 kB / 0.8588 GB, free: 20.21 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.5758, allocations: 0 / 0.8588 GB, free: 20.21 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001826/0.5777, allocations: 0.7018 MB / 0.8595 GB, free: 19.85 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.5777, allocations: 137.1 kB / 0.8596 GB, free: 19.69 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.578, allocations: 215.1 kB / 0.8598 GB, free: 19.59 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.578, allocations: 33.02 kB / 0.8599 GB, free: 19.56 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.5781, allocations: 137 kB / 0.86 GB, free: 19.46 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.44e-05/0.5782, allocations: 74.59 kB / 0.8601 GB, free: 19.42 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.5783, allocations: 50.39 kB / 0.8601 GB, free: 19.4 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.5784, allocations: 340.5 kB / 0.8604 GB, free: 19.08 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.5787, allocations: 145.6 kB / 0.8606 GB, free: 19.01 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.579, allocations: 223.1 kB / 0.8608 GB, free: 18.84 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.5795, allocations: 282.9 kB / 0.8611 GB, free: 18.67 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5795, allocations: 0 / 0.8611 GB, free: 18.67 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007941/0.5803, allocations: 389.5 kB / 0.8614 GB, free: 18.5 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.5803, allocations: 61.12 kB / 0.8615 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5804, allocations: 9.578 kB / 0.8615 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.5804, allocations: 4.594 kB / 0.8615 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.5807, allocations: 48.69 kB / 0.8616 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.5807, allocations: 6.484 kB / 0.8616 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.581, allocations: 18.19 kB / 0.8616 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.581, allocations: 9.438 kB / 0.8616 GB, free: 18.43 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.0001995/0.5812, allocations: 178.6 kB / 0.8618 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.5812, allocations: 26.05 kB / 0.8618 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.071e-05/0.5813, allocations: 28.55 kB / 0.8618 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.5813, allocations: 3.406 kB / 0.8618 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5813, allocations: 5.594 kB / 0.8618 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5813, allocations: 0 / 0.8618 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009569/0.5823, allocations: 0.5375 MB / 0.8623 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5823, allocations: 0.5 kB / 0.8623 GB, free: 17.95 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.5825, allocations: 39.94 kB / 0.8624 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.5826, allocations: 0.5312 kB / 0.8624 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.5826, allocations: 6.406 kB / 0.8624 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.5826, allocations: 7.875 kB / 0.8624 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5826, allocations: 0 / 0.8624 GB, free: 17.94 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.5835, allocations: 497.6 kB / 0.8629 GB, free: 17.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.5836, allocations: 24.05 kB / 0.8629 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.5836, allocations: 9.812 kB / 0.8629 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.5839, allocations: 18.17 kB / 0.8629 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.584, allocations: 25.42 kB / 0.8629 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.584, allocations: 10.75 kB / 0.863 GB, free: 17.68 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001829/0.5842, allocations: 161.5 kB / 0.8631 GB, free: 17.59 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5842, allocations: 0 / 0.8631 GB, free: 17.59 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0005332/0.5847, allocations: 55.78 kB / 0.8632 GB, free: 17.59 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.0001374/0.5849, allocations: 111 kB / 0.8633 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007674/0.5856, allocations: 383.7 kB / 0.8636 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5857, allocations: 0.5625 kB / 0.8636 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.586, allocations: 175.5 kB / 0.8638 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.5868, allocations: 67.55 kB / 0.8639 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.5884, allocations: 0.6819 MB / 0.8645 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.5886, allocations: 123.8 kB / 0.8646 GB, free: 16.78 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.5888, allocations: 23.56 kB / 0.8647 GB, free: 16.78 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.5888, allocations: 20.84 kB / 0.8647 GB, free: 16.77 MB / 490.8 MB Notification: Performance of SimCode: time 3.91e-07/0.5888, allocations: 1.406 kB / 0.8647 GB, free: 16.77 MB / 490.8 MB Notification: Performance of Templates: time 0.01325/0.6021, allocations: 3.653 MB / 0.8683 GB, free: 16.44 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02C_AntiadrenergicAgentsPeripherallyActing.C02CA02_Indoramin.Indoramin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.690025416202843]