Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_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.002/0.002, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.001949/0.001949, allocations: 211.6 kB / 22.25 MB, free: 3.582 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.697/1.697, allocations: 230.6 MB / 256 MB, free: 9.609 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.434/1.434, allocations: 316.7 MB / 0.6144 GB, free: 93.14 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.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_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.005432/0.005432, allocations: 76.14 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1668, allocations: 73.99 MB / 0.8472 GB, free: 4.949 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference): time 0.004105/0.1709, allocations: 2.287 MB / 0.8495 GB, free: 2.664 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2968/0.4677, allocations: 6.535 MB / 0.8558 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.468, allocations: 3.969 kB / 0.8558 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.4681, allocations: 22.66 kB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.4683, allocations: 83.61 kB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.4685, allocations: 55.31 kB / 0.856 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.4688, allocations: 258.2 kB / 0.8562 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.4689, allocations: 35.11 kB / 0.8563 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.4691, allocations: 104 kB / 0.8564 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.4693, allocations: 93.56 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.4693, allocations: 19.73 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.868e-05/0.4693, allocations: 17.94 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.4694, allocations: 37.17 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.995e-05/0.4694, allocations: 99.34 kB / 0.8566 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.4697, allocations: 196.2 kB / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4697, allocations: 0 / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4697, allocations: 0.625 kB / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.4697, allocations: 0 / 0.8568 GB, free: 21.82 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.0007314/0.4704, allocations: 498 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4705, allocations: 10.34 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.4705, allocations: 25.2 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.4707, allocations: 183.3 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4708, allocations: 10.2 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.4708, allocations: 28.02 kB / 0.8575 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.4711, allocations: 183.9 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4711, allocations: 1.5 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.4712, allocations: 7.25 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.4712, allocations: 2.375 kB / 0.8577 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.4715, allocations: 151.7 kB / 0.8579 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006925/0.4722, allocations: 482 kB / 0.8583 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.4727, allocations: 174.2 kB / 0.8585 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.4729, allocations: 92.95 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.4729, allocations: 3.281 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.4732, allocations: 228.1 kB / 0.8588 GB, free: 20.59 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.4732, allocations: 0.5938 kB / 0.8588 GB, free: 20.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00135/0.4745, allocations: 0.7057 MB / 0.8595 GB, free: 20.23 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.4746, allocations: 135.5 kB / 0.8596 GB, free: 20.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.4748, allocations: 219.2 kB / 0.8598 GB, free: 19.97 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.4748, allocations: 33.23 kB / 0.8599 GB, free: 19.94 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.4749, allocations: 130.7 kB / 0.86 GB, free: 19.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.4749, allocations: 70.31 kB / 0.8601 GB, free: 19.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-05/0.475, allocations: 58.28 kB / 0.8601 GB, free: 19.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.475, allocations: 335.6 kB / 0.8604 GB, free: 19.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.4752, allocations: 142.2 kB / 0.8606 GB, free: 19.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.4755, allocations: 229.2 kB / 0.8608 GB, free: 19.22 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.4758, allocations: 273.5 kB / 0.8611 GB, free: 19.06 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4758, allocations: 0.5312 kB / 0.8611 GB, free: 19.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005431/0.4764, allocations: 391.4 kB / 0.8614 GB, free: 18.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.4764, allocations: 76.05 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4764, allocations: 5.844 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4765, allocations: 2.25 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.4767, allocations: 49.05 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.4767, allocations: 5.203 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.4769, allocations: 17.16 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.4769, allocations: 11.78 kB / 0.8616 GB, free: 18.8 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.0001671/0.477, allocations: 177.6 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.4771, allocations: 24.66 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.4771, allocations: 31.72 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4771, allocations: 2.125 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4771, allocations: 0 / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4772, allocations: 0.5312 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006876/0.4778, allocations: 0.5414 MB / 0.8623 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4778, allocations: 1.375 kB / 0.8623 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.478, allocations: 42.52 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.478, allocations: 0.5938 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.4781, allocations: 8.734 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.4781, allocations: 5.062 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4781, allocations: 4.531 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006885/0.4787, allocations: 0.489 MB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.4788, allocations: 23.02 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.4788, allocations: 10.08 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.479, allocations: 10.94 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.4791, allocations: 24.83 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.4791, allocations: 8.141 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001263/0.4792, allocations: 160.4 kB / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.4792, allocations: 0 / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002975/0.4795, allocations: 52.94 kB / 0.8632 GB, free: 17.98 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.0001168/0.4796, allocations: 123.9 kB / 0.8633 GB, free: 17.89 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005672/0.4802, allocations: 380.8 kB / 0.8636 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4802, allocations: 0 / 0.8636 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.4804, allocations: 172.2 kB / 0.8638 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.4809, allocations: 63.92 kB / 0.8639 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.4824, allocations: 0.6864 MB / 0.8645 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.4826, allocations: 123.3 kB / 0.8646 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.4828, allocations: 24.7 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.4829, allocations: 24.31 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of SimCode: time 7.71e-07/0.4829, allocations: 0.8438 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of Templates: time 0.009706/0.4926, allocations: 3.638 MB / 0.8682 GB, free: 16.83 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide_Kerbusch2001v4_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.505275944015011]