Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_model_validation.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.002555/0.002555, 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.00204/0.00204, 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.721/1.721, 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.443/1.443, allocations: 316.7 MB / 0.6144 GB, free: 93.03 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_Blair2004_model_validation,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_model_validation") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_model_validation,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_model_validation") [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.004131/0.004131, allocations: 73.44 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1805, allocations: 73.99 MB / 0.8472 GB, free: 4.883 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_model_validation): time 0.004594/0.1851, allocations: 2.297 MB / 0.8495 GB, free: 2.586 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3127/0.4978, allocations: 6.517 MB / 0.8558 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.498, allocations: 1.797 kB / 0.8558 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.4981, allocations: 25.39 kB / 0.8558 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.4984, allocations: 83.8 kB / 0.8559 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.4986, allocations: 56.12 kB / 0.856 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.4989, allocations: 256.3 kB / 0.8562 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.499, allocations: 35.23 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.4991, allocations: 101.5 kB / 0.8564 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.4993, allocations: 97.16 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.4994, allocations: 17.25 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.057e-05/0.4994, allocations: 16.31 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.4994, allocations: 37.72 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.4995, allocations: 97.06 kB / 0.8566 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.4998, allocations: 199.6 kB / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4998, allocations: 0 / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4998, allocations: 0 / 0.8568 GB, free: 21.83 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4998, allocations: 1.781 kB / 0.8568 GB, free: 21.83 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.000805/0.5006, allocations: 498.1 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5006, allocations: 9.562 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.5007, allocations: 24.77 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.5009, allocations: 185.2 kB / 0.8575 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.5009, allocations: 11.64 kB / 0.8575 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.5009, allocations: 22.7 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.5013, allocations: 189 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.5013, allocations: 2.906 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.5013, allocations: 2.875 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.5013, allocations: 6.031 kB / 0.8577 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.5017, allocations: 149.1 kB / 0.8579 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007084/0.5024, allocations: 484 kB / 0.8583 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.5028, allocations: 172.2 kB / 0.8585 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.503, allocations: 92.42 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.503, allocations: 4.719 kB / 0.8586 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003163/0.5033, allocations: 230.8 kB / 0.8588 GB, free: 20.6 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.5033, allocations: 0.6875 kB / 0.8588 GB, free: 20.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001299/0.5046, allocations: 0.7074 MB / 0.8595 GB, free: 20.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.5047, allocations: 135.2 kB / 0.8596 GB, free: 20.09 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.5048, allocations: 219.5 kB / 0.8598 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.5049, allocations: 32.39 kB / 0.8599 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.5049, allocations: 131.6 kB / 0.86 GB, free: 19.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.505, allocations: 72.31 kB / 0.86 GB, free: 19.81 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.5051, allocations: 53.95 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.801e-05/0.5051, allocations: 336.7 kB / 0.8604 GB, free: 19.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.5053, allocations: 145.1 kB / 0.8606 GB, free: 19.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.5056, allocations: 226.8 kB / 0.8608 GB, free: 19.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.5059, allocations: 278.8 kB / 0.861 GB, free: 19.07 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5059, allocations: 4.344 kB / 0.861 GB, free: 19.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005151/0.5064, allocations: 384.3 kB / 0.8614 GB, free: 18.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.5065, allocations: 67.42 kB / 0.8615 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5065, allocations: 6.625 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.5065, allocations: 2.5 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.5067, allocations: 54.36 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5067, allocations: 3.906 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.5069, allocations: 17.3 kB / 0.8616 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.5069, allocations: 11.16 kB / 0.8616 GB, free: 18.82 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.000158/0.507, allocations: 175.9 kB / 0.8617 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.5071, allocations: 27.23 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.5071, allocations: 28.25 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5071, allocations: 9.219 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5071, allocations: 0 / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5071, allocations: 0.5938 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.5078, allocations: 0.5411 MB / 0.8623 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5078, allocations: 0 / 0.8623 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.508, allocations: 35.67 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.508, allocations: 2.344 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.508, allocations: 6.812 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.508, allocations: 11.28 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.508, allocations: 0 / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.5086, allocations: 0.4928 MB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.5086, allocations: 18.52 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.5087, allocations: 10.2 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.5089, allocations: 17.5 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.5089, allocations: 19.86 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.509, allocations: 4.891 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001264/0.5091, allocations: 164.5 kB / 0.8631 GB, free: 17.99 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5091, allocations: 0 / 0.8631 GB, free: 17.99 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002935/0.5094, allocations: 57.25 kB / 0.8631 GB, free: 17.99 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.0001078/0.5095, allocations: 116.5 kB / 0.8633 GB, free: 17.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005153/0.51, allocations: 377.5 kB / 0.8636 GB, free: 17.67 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.51, allocations: 0 / 0.8636 GB, free: 17.67 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.5102, allocations: 176.5 kB / 0.8638 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.5107, allocations: 69.48 kB / 0.8638 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.512, allocations: 0.6855 MB / 0.8645 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.5121, allocations: 127.4 kB / 0.8646 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.5122, allocations: 24.72 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.5123, allocations: 21.38 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of SimCode: time 5.51e-07/0.5123, allocations: 0 / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of Templates: time 0.008378/0.5207, allocations: 3.645 MB / 0.8682 GB, free: 16.83 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_model_validation.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_model_validation.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_model_validation.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_model_validation.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_model_validation.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_model_validation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA03_Raltitrexed.Raltitrexed_Blair2004_model_validation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.4651309449691325]