Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_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.001865/0.001865, allocations: 109.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.002011/0.002011, allocations: 220.9 kB / 22.25 MB, free: 3.586 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.693/1.693, 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.391/1.391, allocations: 316.7 MB / 0.6144 GB, free: 92.91 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.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_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.004364/0.004364, allocations: 73.56 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1575, allocations: 74 MB / 0.8472 GB, free: 4.906 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_reference): time 0.004146/0.1617, allocations: 2.284 MB / 0.8495 GB, free: 2.625 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3161/0.4778, allocations: 6.524 MB / 0.8558 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.478, allocations: 2.719 kB / 0.8558 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.4781, allocations: 29.92 kB / 0.8559 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.4784, allocations: 82.88 kB / 0.8559 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.4786, allocations: 53.33 kB / 0.856 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.4789, allocations: 255.6 kB / 0.8562 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.479, allocations: 35.64 kB / 0.8563 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.4791, allocations: 98.55 kB / 0.8564 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.4793, allocations: 96.84 kB / 0.8565 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.4793, allocations: 21.09 kB / 0.8565 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.66e-05/0.4794, allocations: 17.34 kB / 0.8565 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.4794, allocations: 36.64 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.4795, allocations: 93.92 kB / 0.8566 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.4797, allocations: 200.6 kB / 0.8568 GB, free: 21.75 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4797, allocations: 0 / 0.8568 GB, free: 21.75 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4797, allocations: 0 / 0.8568 GB, free: 21.75 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.4797, allocations: 0 / 0.8568 GB, free: 21.75 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.0007396/0.4805, allocations: 498.7 kB / 0.8573 GB, free: 21.35 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.4805, allocations: 10.72 kB / 0.8573 GB, free: 21.35 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.4805, allocations: 23.53 kB / 0.8573 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.4808, allocations: 187.2 kB / 0.8575 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.4808, allocations: 10.52 kB / 0.8575 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.4808, allocations: 22.14 kB / 0.8575 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.4811, allocations: 189.4 kB / 0.8577 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.4812, allocations: 4.531 kB / 0.8577 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4812, allocations: 6.281 kB / 0.8577 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.4812, allocations: 2.719 kB / 0.8577 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.4815, allocations: 142.5 kB / 0.8579 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/0.4822, allocations: 482.3 kB / 0.8583 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.4826, allocations: 180.7 kB / 0.8585 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.4828, allocations: 96.56 kB / 0.8586 GB, free: 20.66 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.4828, allocations: 2.719 kB / 0.8586 GB, free: 20.66 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/0.4831, allocations: 232.7 kB / 0.8588 GB, free: 20.52 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.4831, allocations: 0 / 0.8588 GB, free: 20.52 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001245/0.4843, allocations: 0.7005 MB / 0.8595 GB, free: 20.16 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.4844, allocations: 131.2 kB / 0.8596 GB, free: 20 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.4846, allocations: 218.3 kB / 0.8598 GB, free: 19.9 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.4846, allocations: 31.92 kB / 0.8598 GB, free: 19.87 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.4846, allocations: 137.1 kB / 0.86 GB, free: 19.77 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.4847, allocations: 71.94 kB / 0.86 GB, free: 19.73 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.4848, allocations: 55.42 kB / 0.8601 GB, free: 19.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.242e-05/0.4848, allocations: 333.9 kB / 0.8604 GB, free: 19.39 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.485, allocations: 147.9 kB / 0.8606 GB, free: 19.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.4852, allocations: 222.9 kB / 0.8608 GB, free: 19.15 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.4856, allocations: 279 kB / 0.861 GB, free: 18.99 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4856, allocations: 1.094 kB / 0.861 GB, free: 18.99 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005183/0.4861, allocations: 392 kB / 0.8614 GB, free: 18.81 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.4861, allocations: 63.75 kB / 0.8615 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4862, allocations: 7.969 kB / 0.8615 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4862, allocations: 4.438 kB / 0.8615 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.4864, allocations: 52.25 kB / 0.8615 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4864, allocations: 6.781 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.4867, allocations: 21.92 kB / 0.8616 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.4867, allocations: 8.281 kB / 0.8616 GB, free: 18.73 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.0001684/0.4869, allocations: 176.9 kB / 0.8617 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.4869, allocations: 22.89 kB / 0.8618 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.487, allocations: 33.91 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.487, allocations: 2.625 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.487, allocations: 0.7812 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.487, allocations: 5.156 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008214/0.4878, allocations: 0.5371 MB / 0.8623 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4878, allocations: 1.375 kB / 0.8623 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.488, allocations: 38.89 kB / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.488, allocations: 0.5 kB / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.4881, allocations: 5.781 kB / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.4881, allocations: 6.25 kB / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4881, allocations: 3.938 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008502/0.4889, allocations: 0.4895 MB / 0.8629 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.489, allocations: 19.67 kB / 0.8629 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.489, allocations: 12.53 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.4893, allocations: 22.55 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.4893, allocations: 17.91 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.4894, allocations: 5.562 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001503/0.4895, allocations: 161.4 kB / 0.8631 GB, free: 17.91 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4895, allocations: 0 / 0.8631 GB, free: 17.91 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004758/0.49, allocations: 56.31 kB / 0.8631 GB, free: 17.91 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.0001105/0.4901, allocations: 114.9 kB / 0.8633 GB, free: 17.82 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006685/0.4908, allocations: 384 kB / 0.8636 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4908, allocations: 0 / 0.8636 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.4911, allocations: 170.2 kB / 0.8638 GB, free: 17.49 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/0.4917, allocations: 62.45 kB / 0.8638 GB, free: 17.48 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.4932, allocations: 0.688 MB / 0.8645 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.4933, allocations: 123.8 kB / 0.8646 GB, free: 17.1 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.4934, allocations: 24.84 kB / 0.8647 GB, free: 17.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.4935, allocations: 23.53 kB / 0.8647 GB, free: 17.09 MB / 490.8 MB Notification: Performance of SimCode: time 5.81e-07/0.4935, allocations: 0 / 0.8647 GB, free: 17.09 MB / 490.8 MB Notification: Performance of Templates: time 0.01018/0.5037, allocations: 3.65 MB / 0.8682 GB, free: 16.76 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Boosman2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.554265822982416]