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.0009086/0.0009086, allocations: 104.3 kB / 19.71 MB, free: 436 kB / 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.0008931/0.0008931, allocations: 220.4 kB / 23.01 MB, free: 2.965 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 0.9571/0.9571, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] 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 0.6878/0.6878, allocations: 312.3 MB / 0.6108 GB, free: 97.48 MB / 410.7 MB " [Timeout remaining time 179] 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.002079/0.002079, allocations: 73.55 kB / 0.7699 GB, free: 20.14 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1509, allocations: 73.99 MB / 0.8421 GB, free: 10.28 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference): time 0.00608/0.157, allocations: 2.289 MB / 0.8444 GB, free: 7.996 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1698, allocations: 6.525 MB / 0.8507 GB, free: 1.469 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.1701, allocations: 0 / 0.8507 GB, free: 1.469 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00317/0.1732, allocations: 28.31 kB / 0.8508 GB, free: 1.441 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.1735, allocations: 84.47 kB / 0.8508 GB, free: 1.359 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.1737, allocations: 48.5 kB / 0.8509 GB, free: 1.312 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.1739, allocations: 262.7 kB / 0.8511 GB, free: 1.055 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.1741, allocations: 37.16 kB / 0.8512 GB, free: 1.02 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1742, allocations: 96.25 kB / 0.8513 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1744, allocations: 99.53 kB / 0.8514 GB, free: 0.8281 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.1744, allocations: 16.5 kB / 0.8514 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.981e-05/0.1745, allocations: 16.59 kB / 0.8514 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.1745, allocations: 40.47 kB / 0.8514 GB, free: 0.7578 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.645e-05/0.1746, allocations: 91.53 kB / 0.8515 GB, free: 0.668 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1748, allocations: 199.8 kB / 0.8517 GB, free: 484 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1748, allocations: 0 / 0.8517 GB, free: 484 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1748, allocations: 0.5938 kB / 0.8517 GB, free: 484 kB / 474.8 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1748, allocations: 0 / 0.8517 GB, free: 484 kB / 474.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.0006877/0.1755, allocations: 0.493 MB / 0.8522 GB, free: 15.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1755, allocations: 12.03 kB / 0.8522 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.1756, allocations: 21.45 kB / 0.8522 GB, free: 15.9 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1758, allocations: 183.1 kB / 0.8524 GB, free: 15.7 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1758, allocations: 9.203 kB / 0.8524 GB, free: 15.69 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.1758, allocations: 20.39 kB / 0.8524 GB, free: 15.67 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.1769, allocations: 195 kB / 0.8526 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.177, allocations: 4.438 kB / 0.8526 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.177, allocations: 4 kB / 0.8526 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.177, allocations: 8.438 kB / 0.8526 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.1772, allocations: 143.4 kB / 0.8528 GB, free: 15.3 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.1778, allocations: 482.7 kB / 0.8532 GB, free: 14.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.1782, allocations: 181.2 kB / 0.8534 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.1783, allocations: 101.6 kB / 0.8535 GB, free: 14.51 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.1783, allocations: 0.5938 kB / 0.8535 GB, free: 14.51 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.1786, allocations: 229.1 kB / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.462e-06/0.1786, allocations: 0.5312 kB / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001092/0.1797, allocations: 0.6921 MB / 0.8544 GB, free: 13.5 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001978/0.1799, allocations: 145 kB / 0.8545 GB, free: 13.33 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1801, allocations: 211 kB / 0.8547 GB, free: 13.11 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1801, allocations: 34.42 kB / 0.8548 GB, free: 13.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.1802, allocations: 129.1 kB / 0.8549 GB, free: 12.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.1802, allocations: 79.41 kB / 0.855 GB, free: 12.87 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.1803, allocations: 54.16 kB / 0.855 GB, free: 12.81 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.508e-05/0.1804, allocations: 343.4 kB / 0.8553 GB, free: 12.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1805, allocations: 141.5 kB / 0.8555 GB, free: 12.31 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.1807, allocations: 226 kB / 0.8557 GB, free: 12.04 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.262/0.4427, allocations: 275.5 kB / 0.8559 GB, free: 30.29 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4428, allocations: 1.281 kB / 0.8559 GB, free: 30.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004362/0.4432, allocations: 392 kB / 0.8563 GB, free: 30.12 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.4432, allocations: 64.59 kB / 0.8564 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4432, allocations: 3.062 kB / 0.8564 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4433, allocations: 3.062 kB / 0.8564 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.4434, allocations: 53.81 kB / 0.8564 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.4434, allocations: 9.688 kB / 0.8564 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.4435, allocations: 15.41 kB / 0.8565 GB, free: 30.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.4435, allocations: 12.16 kB / 0.8565 GB, free: 30.06 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.0002208/0.4438, allocations: 174.7 kB / 0.8566 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.4438, allocations: 25.34 kB / 0.8567 GB, free: 29.92 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.4438, allocations: 26.09 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4438, allocations: 8 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4438, allocations: 1.453 kB / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4438, allocations: 0 / 0.8567 GB, free: 29.91 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.4444, allocations: 0.5377 MB / 0.8572 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4444, allocations: 0 / 0.8572 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.4445, allocations: 33.38 kB / 0.8573 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4445, allocations: 0 / 0.8573 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4445, allocations: 8.719 kB / 0.8573 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.4445, allocations: 6.609 kB / 0.8573 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4445, allocations: 6.312 kB / 0.8573 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.4449, allocations: 499.2 kB / 0.8578 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.4449, allocations: 21.92 kB / 0.8578 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.445, allocations: 7.906 kB / 0.8578 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.4451, allocations: 13.09 kB / 0.8578 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.4451, allocations: 27.42 kB / 0.8578 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.4451, allocations: 3.469 kB / 0.8578 GB, free: 29.38 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.927e-05/0.4452, allocations: 161.2 kB / 0.858 GB, free: 29.31 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4452, allocations: 0 / 0.858 GB, free: 29.31 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002005/0.4454, allocations: 54.94 kB / 0.858 GB, free: 29.31 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.478e-05/0.4455, allocations: 121.6 kB / 0.8581 GB, free: 29.22 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.4459, allocations: 376.8 kB / 0.8585 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4459, allocations: 0 / 0.8585 GB, free: 29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.446, allocations: 171.7 kB / 0.8587 GB, free: 28.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.4463, allocations: 74.66 kB / 0.8587 GB, free: 28.89 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008997/0.4472, allocations: 0.7058 MB / 0.8594 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.564e-05/0.4473, allocations: 124.2 kB / 0.8595 GB, free: 28.51 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.4473, allocations: 25.33 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of SimCode: time 3.6e-07/0.4473, allocations: 0.7188 kB / 0.8596 GB, free: 28.5 MB / 490.8 MB Notification: Performance of Templates: time 0.004736/0.4521, allocations: 2.942 MB / 0.8624 GB, free: 28.29 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.259916119277477]