Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_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.002556/0.002556, 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.002962/0.002962, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.839/1.839, allocations: 230.6 MB / 256 MB, free: 9.59 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.447/1.447, allocations: 316.8 MB / 0.6144 GB, free: 93.53 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.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_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.004573/0.004573, allocations: 77.47 kB / 0.775 GB, free: 15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1978, allocations: 73.99 MB / 0.8472 GB, free: 5.148 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference): time 0.004562/0.2024, allocations: 2.3 MB / 0.8495 GB, free: 2.848 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3619/0.5642, allocations: 6.52 MB / 0.8558 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.5645, allocations: 2.359 kB / 0.8559 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.5646, allocations: 24.09 kB / 0.8559 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.5649, allocations: 82.78 kB / 0.856 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.5651, allocations: 51.47 kB / 0.856 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.5653, allocations: 263.4 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.5654, allocations: 37.66 kB / 0.8563 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.5656, allocations: 96.59 kB / 0.8564 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.5658, allocations: 98.81 kB / 0.8565 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.5658, allocations: 16.75 kB / 0.8565 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.823e-05/0.5658, allocations: 18.78 kB / 0.8565 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.5659, allocations: 41.64 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.104e-05/0.566, allocations: 90.5 kB / 0.8566 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.5662, allocations: 197.1 kB / 0.8568 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5662, allocations: 2.422 kB / 0.8568 GB, free: 21.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5662, allocations: 0 / 0.8568 GB, free: 21.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.5662, allocations: 0 / 0.8568 GB, free: 21.52 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.0007733/0.567, allocations: 0.4921 MB / 0.8573 GB, free: 21.12 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.567, allocations: 8.344 kB / 0.8573 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.567, allocations: 23.92 kB / 0.8573 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.5673, allocations: 185 kB / 0.8575 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.5673, allocations: 9.422 kB / 0.8575 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.5673, allocations: 21.86 kB / 0.8575 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.5676, allocations: 191.5 kB / 0.8577 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.5677, allocations: 1.594 kB / 0.8577 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.5677, allocations: 5.938 kB / 0.8577 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5677, allocations: 6.469 kB / 0.8577 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.568, allocations: 150.6 kB / 0.8579 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006702/0.5687, allocations: 478.7 kB / 0.8583 GB, free: 20.53 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.5691, allocations: 174.5 kB / 0.8585 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.5693, allocations: 96.34 kB / 0.8586 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.5693, allocations: 2.75 kB / 0.8586 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.5696, allocations: 228.1 kB / 0.8588 GB, free: 20.29 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.5696, allocations: 1.656 kB / 0.8588 GB, free: 20.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001253/0.5708, allocations: 0.6986 MB / 0.8595 GB, free: 19.93 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.5709, allocations: 134.2 kB / 0.8596 GB, free: 19.78 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.5711, allocations: 219.3 kB / 0.8598 GB, free: 19.67 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.5711, allocations: 32.27 kB / 0.8599 GB, free: 19.64 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.5711, allocations: 136.8 kB / 0.86 GB, free: 19.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.5712, allocations: 75.58 kB / 0.8601 GB, free: 19.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.5712, allocations: 56.02 kB / 0.8601 GB, free: 19.48 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.5713, allocations: 338.8 kB / 0.8604 GB, free: 19.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.5715, allocations: 144.7 kB / 0.8606 GB, free: 19.09 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.5717, allocations: 224.1 kB / 0.8608 GB, free: 18.92 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.5721, allocations: 278.6 kB / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5721, allocations: 0 / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005171/0.5726, allocations: 389.6 kB / 0.8614 GB, free: 18.57 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.5726, allocations: 66.38 kB / 0.8615 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5726, allocations: 4.562 kB / 0.8615 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.5726, allocations: 3.375 kB / 0.8615 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.5728, allocations: 53.88 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.5728, allocations: 8.094 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.573, allocations: 18.39 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.573, allocations: 10.47 kB / 0.8616 GB, free: 18.5 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.0001461/0.5732, allocations: 179.5 kB / 0.8618 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.5732, allocations: 20.81 kB / 0.8618 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.5733, allocations: 31.16 kB / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5733, allocations: 0 / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5733, allocations: 1.062 kB / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5733, allocations: 4.531 kB / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006544/0.5739, allocations: 0.5368 MB / 0.8623 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5739, allocations: 0.875 kB / 0.8623 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.5741, allocations: 44.2 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5741, allocations: 0.5 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.5741, allocations: 4.062 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5741, allocations: 3.938 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5741, allocations: 4.812 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.5747, allocations: 498.7 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.5748, allocations: 22.25 kB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.5748, allocations: 7.031 kB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.575, allocations: 16.36 kB / 0.8629 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.5751, allocations: 25.7 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.5751, allocations: 13.61 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001079/0.5752, allocations: 153.1 kB / 0.8631 GB, free: 17.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5752, allocations: 1.344 kB / 0.8631 GB, free: 17.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002876/0.5755, allocations: 57.73 kB / 0.8632 GB, free: 17.68 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.418e-05/0.5756, allocations: 119.1 kB / 0.8633 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.5761, allocations: 380.2 kB / 0.8636 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5761, allocations: 1.219 kB / 0.8636 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.5763, allocations: 172.2 kB / 0.8638 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.5767, allocations: 68.73 kB / 0.8639 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.5779, allocations: 0.6848 MB / 0.8645 GB, free: 16.93 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.578, allocations: 126.2 kB / 0.8647 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.5781, allocations: 26.25 kB / 0.8647 GB, free: 16.85 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.5781, allocations: 23.23 kB / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of SimCode: time 3.3e-07/0.5781, allocations: 0 / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of Templates: time 0.008264/0.5864, allocations: 3.634 MB / 0.8683 GB, free: 16.52 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.138210037956014]