Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.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.002673/0.002673, 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.00341/0.00341, allocations: 221.1 kB / 22.25 MB, free: 3.566 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.827/1.827, allocations: 230.6 MB / 256 MB, free: 9.605 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.403/1.403, allocations: 316.7 MB / 0.6144 GB, free: 93.59 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.L01AB02_Treosulfan.Treosulfan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan") [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.003855/0.003855, allocations: 73.42 kB / 0.775 GB, free: 14.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1579, allocations: 74 MB / 0.8473 GB, free: 5.129 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan): time 0.00469/0.1626, allocations: 2.716 MB / 0.8499 GB, free: 2.414 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2958/0.4583, allocations: 6.604 MB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.4586, allocations: 2.688 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.4587, allocations: 37.64 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.4591, allocations: 123.1 kB / 0.8565 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.4594, allocations: 71.08 kB / 0.8566 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.4598, allocations: 373.1 kB / 0.857 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.4599, allocations: 57.44 kB / 0.857 GB, free: 21.55 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.4601, allocations: 146.2 kB / 0.8572 GB, free: 21.53 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.4604, allocations: 138.7 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.4605, allocations: 23.38 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.4605, allocations: 26.38 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.4606, allocations: 49.03 kB / 0.8574 GB, free: 21.48 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.4607, allocations: 142 kB / 0.8575 GB, free: 21.45 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.4611, allocations: 284.9 kB / 0.8578 GB, free: 21.4 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4611, allocations: 0.7812 kB / 0.8578 GB, free: 21.4 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4611, allocations: 2.844 kB / 0.8578 GB, free: 21.4 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.4611, allocations: 0.625 kB / 0.8578 GB, free: 21.4 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001135/0.4622, allocations: 0.6019 MB / 0.8584 GB, free: 20.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.4623, allocations: 8.25 kB / 0.8584 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.132e-05/0.4624, allocations: 34.53 kB / 0.8584 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.4627, allocations: 209.9 kB / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.4627, allocations: 20.59 kB / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.993e-05/0.4628, allocations: 25.84 kB / 0.8587 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.4634, allocations: 282.9 kB / 0.8589 GB, free: 20.64 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.4634, allocations: 8.109 kB / 0.8589 GB, free: 20.63 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.4634, allocations: 7.25 kB / 0.8589 GB, free: 20.63 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.4634, allocations: 7.125 kB / 0.859 GB, free: 20.63 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005762/0.464, allocations: 238 kB / 0.8592 GB, free: 20.57 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.4654, allocations: 0.6746 MB / 0.8598 GB, free: 20.21 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/0.466, allocations: 238.2 kB / 0.8601 GB, free: 20.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.4663, allocations: 147.3 kB / 0.8602 GB, free: 20.05 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.4664, allocations: 2.812 kB / 0.8602 GB, free: 20.05 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005118/0.4669, allocations: 366.8 kB / 0.8606 GB, free: 19.81 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.315e-06/0.4669, allocations: 0 / 0.8606 GB, free: 19.81 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.002329/0.4692, allocations: 1.081 MB / 0.8616 GB, free: 19.27 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.4693, allocations: 219 kB / 0.8618 GB, free: 19.02 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.4695, allocations: 246.6 kB / 0.8621 GB, free: 18.91 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.4696, allocations: 42.61 kB / 0.8621 GB, free: 18.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.4697, allocations: 158.4 kB / 0.8623 GB, free: 18.77 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.098e-05/0.4697, allocations: 115.8 kB / 0.8624 GB, free: 18.7 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.4699, allocations: 71.14 kB / 0.8624 GB, free: 18.68 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.87e-05/0.4699, allocations: 339.3 kB / 0.8628 GB, free: 18.37 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.4703, allocations: 211.8 kB / 0.863 GB, free: 18.27 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.4708, allocations: 319.1 kB / 0.8633 GB, free: 18.04 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008144/0.4716, allocations: 429.2 kB / 0.8637 GB, free: 17.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4716, allocations: 0.5625 kB / 0.8637 GB, free: 17.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0012/0.4728, allocations: 0.552 MB / 0.8642 GB, free: 17.51 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.358e-05/0.4729, allocations: 91.14 kB / 0.8643 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4729, allocations: 3.969 kB / 0.8643 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/0.4729, allocations: 5.75 kB / 0.8643 GB, free: 17.42 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.4734, allocations: 85.06 kB / 0.8644 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.4734, allocations: 5.719 kB / 0.8644 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.4737, allocations: 26.89 kB / 0.8644 GB, free: 17.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.4738, allocations: 17.88 kB / 0.8644 GB, free: 17.41 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0002616/0.474, allocations: 221.4 kB / 0.8646 GB, free: 17.22 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.4741, allocations: 29.94 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.207e-05/0.4742, allocations: 36.97 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4742, allocations: 3.812 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.4742, allocations: 0 / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.4742, allocations: 7.781 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.4756, allocations: 0.7611 MB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4756, allocations: 0 / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.476, allocations: 53.11 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.476, allocations: 1.734 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.476, allocations: 15.27 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.476, allocations: 1.125 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.476, allocations: 1.125 kB / 0.8655 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.4774, allocations: 0.7276 MB / 0.8662 GB, free: 16.47 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.4774, allocations: 28.08 kB / 0.8663 GB, free: 16.45 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.4775, allocations: 20.31 kB / 0.8663 GB, free: 16.45 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.4778, allocations: 16.58 kB / 0.8663 GB, free: 16.45 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.478, allocations: 31.11 kB / 0.8663 GB, free: 16.45 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.478, allocations: 12.36 kB / 0.8663 GB, free: 16.45 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002169/0.4782, allocations: 178 kB / 0.8665 GB, free: 16.37 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4782, allocations: 0 / 0.8665 GB, free: 16.37 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0005843/0.4788, allocations: 87.78 kB / 0.8666 GB, free: 16.37 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001613/0.479, allocations: 120.8 kB / 0.8667 GB, free: 16.27 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0009281/0.4799, allocations: 0.5682 MB / 0.8673 GB, free: 15.91 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4799, allocations: 1.219 kB / 0.8673 GB, free: 15.91 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004217/0.4803, allocations: 301.5 kB / 0.8676 GB, free: 15.72 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008098/0.4811, allocations: 94.2 kB / 0.8676 GB, free: 15.71 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.4831, allocations: 0.9324 MB / 0.8686 GB, free: 15.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.4833, allocations: 159.1 kB / 0.8687 GB, free: 15.16 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.4835, allocations: 35.84 kB / 0.8687 GB, free: 15.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.871e-05/0.4836, allocations: 25.64 kB / 0.8688 GB, free: 15.15 MB / 490.8 MB Notification: Performance of SimCode: time 6.42e-07/0.4836, allocations: 1.344 kB / 0.8688 GB, free: 15.15 MB / 490.8 MB Notification: Performance of Templates: time 0.01327/0.4969, allocations: 5.005 MB / 0.8737 GB, free: 14.65 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.599078994011506]