Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_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.005264/0.005264, 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.002202/0.002202, 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.742/1.742, allocations: 230.6 MB / 256 MB, free: 9.602 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.46/1.46, allocations: 316.7 MB / 0.6144 GB, free: 93.45 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.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_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.005346/0.005346, allocations: 81.84 kB / 0.775 GB, free: 15.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1981, allocations: 73.99 MB / 0.8472 GB, free: 5.188 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference): time 0.005553/0.2036, allocations: 2.278 MB / 0.8495 GB, free: 2.91 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3523/0.5559, allocations: 6.529 MB / 0.8558 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.5562, allocations: 0.9375 kB / 0.8558 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.5564, allocations: 25.64 kB / 0.8559 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.5567, allocations: 80.19 kB / 0.8559 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.557, allocations: 56.73 kB / 0.856 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.5574, allocations: 257.6 kB / 0.8562 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.5576, allocations: 35.25 kB / 0.8563 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.5578, allocations: 96.75 kB / 0.8564 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.5581, allocations: 96.78 kB / 0.8564 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.5581, allocations: 16.66 kB / 0.8565 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.62e-05/0.5581, allocations: 18.5 kB / 0.8565 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.5582, allocations: 37.53 kB / 0.8565 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.5583, allocations: 97.89 kB / 0.8566 GB, free: 21.52 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.5587, allocations: 198.8 kB / 0.8568 GB, free: 21.49 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.5587, allocations: 0.6562 kB / 0.8568 GB, free: 21.49 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5587, allocations: 0 / 0.8568 GB, free: 21.49 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.5587, allocations: 0.5625 kB / 0.8568 GB, free: 21.49 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.0009738/0.5597, allocations: 499.3 kB / 0.8573 GB, free: 21.09 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5597, allocations: 12.16 kB / 0.8573 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.5598, allocations: 23.3 kB / 0.8573 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.56, allocations: 186.3 kB / 0.8575 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.5601, allocations: 10.17 kB / 0.8575 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.5601, allocations: 23.28 kB / 0.8575 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.5605, allocations: 190.5 kB / 0.8577 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.5605, allocations: 0 / 0.8577 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.5605, allocations: 4.5 kB / 0.8577 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.5605, allocations: 3.344 kB / 0.8577 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.5609, allocations: 149.5 kB / 0.8579 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007436/0.5616, allocations: 483.3 kB / 0.8583 GB, free: 20.51 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.5621, allocations: 174.3 kB / 0.8585 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.5623, allocations: 98.77 kB / 0.8586 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.5623, allocations: 2.125 kB / 0.8586 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.5626, allocations: 225.9 kB / 0.8588 GB, free: 20.27 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.5626, allocations: 0.5 kB / 0.8588 GB, free: 20.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001391/0.564, allocations: 0.7045 MB / 0.8595 GB, free: 19.91 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.5641, allocations: 137.2 kB / 0.8596 GB, free: 19.75 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.5642, allocations: 216 kB / 0.8598 GB, free: 19.64 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.5643, allocations: 33.08 kB / 0.8598 GB, free: 19.61 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.5643, allocations: 132.1 kB / 0.86 GB, free: 19.52 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.5644, allocations: 75.31 kB / 0.86 GB, free: 19.48 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.5645, allocations: 56.67 kB / 0.8601 GB, free: 19.46 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.5645, allocations: 336.9 kB / 0.8604 GB, free: 19.14 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.5648, allocations: 141.4 kB / 0.8606 GB, free: 19.07 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.565, allocations: 225 kB / 0.8608 GB, free: 18.9 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.5654, allocations: 282.7 kB / 0.861 GB, free: 18.73 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5654, allocations: 3.438 kB / 0.861 GB, free: 18.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005456/0.5659, allocations: 390.4 kB / 0.8614 GB, free: 18.55 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.566, allocations: 59.27 kB / 0.8615 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.566, allocations: 8.641 kB / 0.8615 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.566, allocations: 2.719 kB / 0.8615 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.5662, allocations: 54.73 kB / 0.8615 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.5662, allocations: 6.594 kB / 0.8615 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.5664, allocations: 21.72 kB / 0.8616 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.5664, allocations: 9.562 kB / 0.8616 GB, free: 18.48 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.0001725/0.5666, allocations: 174.9 kB / 0.8617 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.5666, allocations: 28.17 kB / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.5667, allocations: 32.11 kB / 0.8618 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.5667, allocations: 5.438 kB / 0.8618 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.5667, allocations: 0.5938 kB / 0.8618 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5667, allocations: 0 / 0.8618 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006802/0.5674, allocations: 0.5342 MB / 0.8623 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5674, allocations: 2.625 kB / 0.8623 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.5675, allocations: 37.45 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5675, allocations: 1 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.5676, allocations: 14.44 kB / 0.8624 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5676, allocations: 8.75 kB / 0.8624 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5676, allocations: 0 / 0.8624 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.5682, allocations: 497.4 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.5683, allocations: 21.42 kB / 0.8629 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.5683, allocations: 10.69 kB / 0.8629 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.5685, allocations: 13.17 kB / 0.8629 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.5686, allocations: 24.48 kB / 0.8629 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.5686, allocations: 8.531 kB / 0.8629 GB, free: 17.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001369/0.5687, allocations: 165.7 kB / 0.8631 GB, free: 17.65 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5687, allocations: 0 / 0.8631 GB, free: 17.65 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003045/0.569, allocations: 51.69 kB / 0.8631 GB, free: 17.65 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.000131/0.5691, allocations: 121.7 kB / 0.8633 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.5697, allocations: 380.6 kB / 0.8636 GB, free: 17.33 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5697, allocations: 0 / 0.8636 GB, free: 17.33 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.5699, allocations: 172.4 kB / 0.8638 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.5704, allocations: 61.73 kB / 0.8638 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.5717, allocations: 0.6854 MB / 0.8645 GB, free: 16.92 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.5718, allocations: 127.5 kB / 0.8646 GB, free: 16.84 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000111/0.572, allocations: 24.92 kB / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.572, allocations: 21.59 kB / 0.8647 GB, free: 16.83 MB / 490.8 MB Notification: Performance of SimCode: time 6.71e-07/0.572, allocations: 0 / 0.8647 GB, free: 16.83 MB / 490.8 MB Notification: Performance of Templates: time 0.009269/0.5813, allocations: 3.648 MB / 0.8682 GB, free: 16.51 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.830719689140096]