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.002496/0.002496, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002929/0.002929, allocations: 173.2 kB / 22.46 MB, free: 2.098 MB / 18.57 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.656/1.656, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.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.382/1.382, allocations: 292.9 MB / 0.5392 GB, free: 49.84 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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6998 GB, free: 8.605 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.219e-05, allocations: 6.281 kB / 0.6998 GB, free: 8.598 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC09_RocuroniumBromide.Rocuronium_Szenohradszky1992_reference): time 0.003151/0.003183, allocations: 2.284 MB / 0.7021 GB, free: 6.297 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006365/0.009548, allocations: 6.526 MB / 0.7084 GB, free: 15.76 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.00978, allocations: 0 / 0.7084 GB, free: 15.76 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.009965, allocations: 23.72 kB / 0.7085 GB, free: 15.74 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.01032, allocations: 91.2 kB / 0.7086 GB, free: 15.65 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.01064, allocations: 59.86 kB / 0.7086 GB, free: 15.59 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.01111, allocations: 262.6 kB / 0.7089 GB, free: 15.33 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.0113, allocations: 40.56 kB / 0.7089 GB, free: 15.3 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.01164, allocations: 139.6 kB / 0.709 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.01194, allocations: 79.73 kB / 0.7091 GB, free: 15.08 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.012, allocations: 20 kB / 0.7091 GB, free: 15.06 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.01206, allocations: 16 kB / 0.7091 GB, free: 15.05 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.01212, allocations: 43.77 kB / 0.7092 GB, free: 15 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.01227, allocations: 71.84 kB / 0.7093 GB, free: 14.93 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.0127, allocations: 207.3 kB / 0.7095 GB, free: 14.73 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.01271, allocations: 4 kB / 0.7095 GB, free: 14.73 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.224e-06/0.01271, allocations: 0 / 0.7095 GB, free: 14.73 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.01272, allocations: 0 / 0.7095 GB, free: 14.73 MB / 426.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.001334/0.01406, allocations: 0.489 MB / 0.7099 GB, free: 14.19 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.01411, allocations: 8.031 kB / 0.7099 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.0142, allocations: 24.8 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.01455, allocations: 178.4 kB / 0.7101 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.01458, allocations: 8.609 kB / 0.7101 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.01463, allocations: 20.38 kB / 0.7102 GB, free: 13.93 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.0151, allocations: 194 kB / 0.7103 GB, free: 13.73 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.01512, allocations: 7.953 kB / 0.7104 GB, free: 13.72 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.01515, allocations: 7.984 kB / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.01516, allocations: 0 / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.01558, allocations: 146.2 kB / 0.7105 GB, free: 13.56 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.01673, allocations: 493.4 kB / 0.711 GB, free: 13.05 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.0173, allocations: 180 kB / 0.7111 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.0175, allocations: 86.53 kB / 0.7112 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.01752, allocations: 4 kB / 0.7112 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000437/0.01796, allocations: 232.4 kB / 0.7115 GB, free: 12.5 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.01796, allocations: 0 / 0.7115 GB, free: 12.5 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.002166/0.02012, allocations: 0.7105 MB / 0.7121 GB, free: 11.73 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.02026, allocations: 136.5 kB / 0.7123 GB, free: 11.56 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.02052, allocations: 215 kB / 0.7125 GB, free: 11.34 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.02056, allocations: 29.7 kB / 0.7125 GB, free: 11.31 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.02067, allocations: 136.5 kB / 0.7126 GB, free: 11.17 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/0.02074, allocations: 67.5 kB / 0.7127 GB, free: 11.11 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.02084, allocations: 53.69 kB / 0.7128 GB, free: 11.05 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.02103, allocations: 334.7 kB / 0.7131 GB, free: 10.71 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.02132, allocations: 148.9 kB / 0.7132 GB, free: 10.55 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.02165, allocations: 227.7 kB / 0.7134 GB, free: 10.28 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.02216, allocations: 287.4 kB / 0.7137 GB, free: 9.961 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.02217, allocations: 0 / 0.7137 GB, free: 9.961 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000716/0.02288, allocations: 392.1 kB / 0.7141 GB, free: 9.547 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/0.02295, allocations: 64.19 kB / 0.7141 GB, free: 9.473 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.02296, allocations: 4 kB / 0.7141 GB, free: 9.469 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.02299, allocations: 4 kB / 0.7142 GB, free: 9.465 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.02323, allocations: 51.84 kB / 0.7142 GB, free: 9.414 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.02324, allocations: 7.984 kB / 0.7142 GB, free: 9.406 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.02344, allocations: 15.98 kB / 0.7142 GB, free: 9.391 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.02346, allocations: 12 kB / 0.7142 GB, free: 9.379 MB / 426.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.0002541/0.02372, allocations: 179.2 kB / 0.7144 GB, free: 9.191 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.02376, allocations: 19.91 kB / 0.7144 GB, free: 9.172 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.34e-05/0.02382, allocations: 21.97 kB / 0.7144 GB, free: 9.148 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.02383, allocations: 4 kB / 0.7144 GB, free: 9.145 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.02383, allocations: 3.938 kB / 0.7145 GB, free: 9.141 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.02384, allocations: 3.984 kB / 0.7145 GB, free: 9.137 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009415/0.02478, allocations: 0.543 MB / 0.715 GB, free: 8.547 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02478, allocations: 0 / 0.715 GB, free: 8.547 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.02498, allocations: 35.98 kB / 0.715 GB, free: 8.512 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.02498, allocations: 4 kB / 0.715 GB, free: 8.508 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.02501, allocations: 11.98 kB / 0.715 GB, free: 8.496 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.02501, allocations: 0 / 0.715 GB, free: 8.496 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02501, allocations: 0 / 0.715 GB, free: 8.496 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008532/0.02587, allocations: 0.492 MB / 0.7155 GB, free: 7.973 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.02591, allocations: 27.8 kB / 0.7155 GB, free: 7.945 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.02597, allocations: 12.03 kB / 0.7156 GB, free: 7.934 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.02614, allocations: 15.98 kB / 0.7156 GB, free: 7.918 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.02623, allocations: 19.91 kB / 0.7156 GB, free: 7.898 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.02625, allocations: 12 kB / 0.7156 GB, free: 7.887 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001794/0.02643, allocations: 160.4 kB / 0.7158 GB, free: 7.73 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.02643, allocations: 0 / 0.7158 GB, free: 7.73 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003021/0.02673, allocations: 52 kB / 0.7158 GB, free: 7.68 MB / 426.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.0001805/0.02691, allocations: 119.2 kB / 0.7159 GB, free: 7.555 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006484/0.02756, allocations: 382.2 kB / 0.7163 GB, free: 7.141 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02756, allocations: 0 / 0.7163 GB, free: 7.141 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.02784, allocations: 173 kB / 0.7164 GB, free: 6.953 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.02833, allocations: 76.34 kB / 0.7165 GB, free: 6.879 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.02957, allocations: 0.5702 MB / 0.7171 GB, free: 6.277 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.02971, allocations: 129.6 kB / 0.7172 GB, free: 6.129 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.02981, allocations: 21.95 kB / 0.7172 GB, free: 6.105 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.02988, allocations: 20.5 kB / 0.7172 GB, free: 6.086 MB / 426.8 MB Notification: Performance of SimCode: time 8.32e-07/0.02988, allocations: 0 / 0.7172 GB, free: 6.086 MB / 426.8 MB Notification: Performance of Templates: time 0.2052/0.2351, allocations: 3.347 MB / 0.7205 GB, free: 37.02 MB / 426.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 -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.072017555125058]