Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed.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.001765/0.001765, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.002034/0.002034, allocations: 219.5 kB / 22.25 MB, free: 3.555 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.683/1.683, allocations: 230.6 MB / 256 MB, free: 9.613 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.408/1.408, allocations: 316.7 MB / 0.6144 GB, free: 92.94 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.L01BA03_Raltitrexed.Raltitrexed,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed") [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.004292/0.004292, allocations: 69.95 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.157, allocations: 73.99 MB / 0.8472 GB, free: 4.902 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed): time 0.00399/0.161, allocations: 2.297 MB / 0.8495 GB, free: 2.605 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3064/0.4675, allocations: 6.525 MB / 0.8559 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.4677, allocations: 0 / 0.8559 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.4679, allocations: 29.36 kB / 0.8559 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.4682, allocations: 78.41 kB / 0.856 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.4685, allocations: 57.11 kB / 0.856 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.4688, allocations: 255.4 kB / 0.8563 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.4689, allocations: 38.86 kB / 0.8563 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.4691, allocations: 99.73 kB / 0.8564 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.4693, allocations: 96.84 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.4693, allocations: 17.38 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.251e-05/0.4694, allocations: 16.16 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.4694, allocations: 39.16 kB / 0.8565 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.4695, allocations: 94.97 kB / 0.8566 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.4698, allocations: 194.8 kB / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4698, allocations: 0 / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4698, allocations: 1.922 kB / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.4698, allocations: 8.406 kB / 0.8568 GB, free: 21.73 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.0008961/0.4707, allocations: 491.7 kB / 0.8573 GB, free: 21.34 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4708, allocations: 11.77 kB / 0.8573 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.4708, allocations: 25.39 kB / 0.8573 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.4711, allocations: 187.2 kB / 0.8575 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.4711, allocations: 12.23 kB / 0.8575 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.4711, allocations: 24.14 kB / 0.8576 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.4715, allocations: 188.8 kB / 0.8577 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.4715, allocations: 0 / 0.8577 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.4716, allocations: 5.719 kB / 0.8577 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.4716, allocations: 1.5 kB / 0.8577 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.4719, allocations: 151.6 kB / 0.8579 GB, free: 21.05 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/0.4727, allocations: 481.6 kB / 0.8583 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.4732, allocations: 171.1 kB / 0.8585 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.4733, allocations: 96.89 kB / 0.8586 GB, free: 20.66 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.4733, allocations: 7.344 kB / 0.8586 GB, free: 20.65 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003242/0.4737, allocations: 225 kB / 0.8588 GB, free: 20.51 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.4737, allocations: 0.5938 kB / 0.8588 GB, free: 20.51 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001345/0.475, allocations: 0.6951 MB / 0.8595 GB, free: 20.15 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.4751, allocations: 140.4 kB / 0.8596 GB, free: 20 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.4753, allocations: 211.3 kB / 0.8598 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.4753, allocations: 39.38 kB / 0.8599 GB, free: 19.86 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.4754, allocations: 133.4 kB / 0.86 GB, free: 19.77 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.4754, allocations: 72.81 kB / 0.8601 GB, free: 19.72 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.793e-05/0.4755, allocations: 56.38 kB / 0.8601 GB, free: 19.7 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.4755, allocations: 339 kB / 0.8604 GB, free: 19.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.4758, allocations: 146.5 kB / 0.8606 GB, free: 19.31 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.476, allocations: 220.8 kB / 0.8608 GB, free: 19.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.4764, allocations: 286.6 kB / 0.8611 GB, free: 18.97 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4764, allocations: 2.344 kB / 0.8611 GB, free: 18.97 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005606/0.4769, allocations: 386.4 kB / 0.8614 GB, free: 18.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/0.477, allocations: 63.91 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.477, allocations: 6.844 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.477, allocations: 3.094 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.4772, allocations: 53.34 kB / 0.8616 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.4772, allocations: 3.438 kB / 0.8616 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.4774, allocations: 19.86 kB / 0.8616 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.4774, allocations: 8.938 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.0001911/0.4776, allocations: 184.4 kB / 0.8618 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4777, allocations: 21.95 kB / 0.8618 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.4777, allocations: 29.81 kB / 0.8618 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4777, allocations: 6.062 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4777, allocations: 0.625 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4777, allocations: 0 / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007439/0.4785, allocations: 0.5439 MB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4785, allocations: 1.094 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.4787, allocations: 38.94 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4787, allocations: 2 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.4787, allocations: 9.719 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4787, allocations: 3.938 kB / 0.8624 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4787, allocations: 0 / 0.8624 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006782/0.4794, allocations: 0.4885 MB / 0.8629 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.4794, allocations: 18.59 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.4794, allocations: 8.094 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.4796, allocations: 18.91 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.308e-05/0.4797, allocations: 18.66 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.4797, allocations: 12.81 kB / 0.863 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001279/0.4798, allocations: 160.8 kB / 0.8631 GB, free: 17.89 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4798, allocations: 0 / 0.8631 GB, free: 17.89 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003032/0.4801, allocations: 56.22 kB / 0.8632 GB, free: 17.89 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.0001088/0.4802, allocations: 112.6 kB / 0.8633 GB, free: 17.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005155/0.4807, allocations: 378.7 kB / 0.8636 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4807, allocations: 0.5938 kB / 0.8636 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.481, allocations: 174.7 kB / 0.8638 GB, free: 17.48 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.4815, allocations: 74.64 kB / 0.8639 GB, free: 17.47 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.4828, allocations: 0.6796 MB / 0.8645 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.4829, allocations: 131.8 kB / 0.8647 GB, free: 17.07 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.483, allocations: 22.45 kB / 0.8647 GB, free: 17.07 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.4831, allocations: 23.2 kB / 0.8647 GB, free: 17.06 MB / 490.8 MB Notification: Performance of SimCode: time 1.012e-06/0.4831, allocations: 0 / 0.8647 GB, free: 17.06 MB / 490.8 MB Notification: Performance of Templates: time 0.009247/0.4923, allocations: 3.646 MB / 0.8683 GB, free: 16.73 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.4448879801202565]