Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.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.001893/0.001893, 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.002105/0.002105, allocations: 214.4 kB / 22.25 MB, free: 3.57 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.709/1.709, allocations: 230.6 MB / 256 MB, free: 9.602 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.429/1.429, allocations: 316.7 MB / 0.6144 GB, free: 93.38 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed") [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.004237/0.004237, allocations: 73.38 kB / 0.775 GB, free: 14.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1676, allocations: 73.99 MB / 0.8472 GB, free: 4.988 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed): time 0.004784/0.1724, allocations: 2.712 MB / 0.8499 GB, free: 2.277 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3086/0.4809, allocations: 6.6 MB / 0.8563 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.4812, allocations: 6 kB / 0.8563 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.4814, allocations: 39.59 kB / 0.8564 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.4817, allocations: 118.1 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.482, allocations: 70.36 kB / 0.8566 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.4824, allocations: 376.6 kB / 0.8569 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.4826, allocations: 52.31 kB / 0.857 GB, free: 21.71 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.4828, allocations: 148.5 kB / 0.8571 GB, free: 21.69 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.4831, allocations: 140.9 kB / 0.8572 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.4831, allocations: 23.72 kB / 0.8573 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-05/0.4832, allocations: 25.5 kB / 0.8573 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.4832, allocations: 55.89 kB / 0.8573 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.4834, allocations: 137.7 kB / 0.8575 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.4837, allocations: 284 kB / 0.8577 GB, free: 21.56 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4838, allocations: 3.844 kB / 0.8578 GB, free: 21.56 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4838, allocations: 1.781 kB / 0.8578 GB, free: 21.56 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.4838, allocations: 0 / 0.8578 GB, free: 21.56 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.0009795/0.4847, allocations: 0.5963 MB / 0.8583 GB, free: 21.09 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.4848, allocations: 8.562 kB / 0.8583 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.4848, allocations: 31.44 kB / 0.8584 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.4851, allocations: 219.5 kB / 0.8586 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.4851, allocations: 16.22 kB / 0.8586 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.4852, allocations: 25.55 kB / 0.8586 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.4856, allocations: 285.8 kB / 0.8589 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.4857, allocations: 7.203 kB / 0.8589 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.4857, allocations: 6.625 kB / 0.8589 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4857, allocations: 7.719 kB / 0.8589 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.4861, allocations: 237.9 kB / 0.8591 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.4872, allocations: 0.679 MB / 0.8598 GB, free: 20.37 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.4877, allocations: 235.6 kB / 0.86 GB, free: 20.28 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.4879, allocations: 150 kB / 0.8602 GB, free: 20.21 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.4879, allocations: 3.531 kB / 0.8602 GB, free: 20.21 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000452/0.4884, allocations: 360.6 kB / 0.8605 GB, free: 19.97 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.4884, allocations: 0.75 kB / 0.8605 GB, free: 19.97 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001807/0.4902, allocations: 1.081 MB / 0.8616 GB, free: 19.43 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.4903, allocations: 216.9 kB / 0.8618 GB, free: 19.18 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.4905, allocations: 252.1 kB / 0.862 GB, free: 19.07 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.4905, allocations: 32.36 kB / 0.8621 GB, free: 19.04 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.4906, allocations: 160.9 kB / 0.8622 GB, free: 18.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.4907, allocations: 117.8 kB / 0.8623 GB, free: 18.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.575e-05/0.4908, allocations: 71.17 kB / 0.8624 GB, free: 18.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.4908, allocations: 343.2 kB / 0.8627 GB, free: 18.53 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.4911, allocations: 209.8 kB / 0.8629 GB, free: 18.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.4914, allocations: 316.7 kB / 0.8632 GB, free: 18.2 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.4919, allocations: 431.1 kB / 0.8636 GB, free: 17.93 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4919, allocations: 0.9688 kB / 0.8636 GB, free: 17.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007973/0.4927, allocations: 0.5495 MB / 0.8642 GB, free: 17.67 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.4928, allocations: 92.53 kB / 0.8643 GB, free: 17.58 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4928, allocations: 3.188 kB / 0.8643 GB, free: 17.58 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.4928, allocations: 5.938 kB / 0.8643 GB, free: 17.58 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.4931, allocations: 81 kB / 0.8643 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.4932, allocations: 5.266 kB / 0.8643 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.4934, allocations: 26.66 kB / 0.8644 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.4934, allocations: 16.73 kB / 0.8644 GB, free: 17.57 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.0002509/0.4937, allocations: 222.7 kB / 0.8646 GB, free: 17.38 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.4937, allocations: 33.61 kB / 0.8646 GB, free: 17.37 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.408e-05/0.4938, allocations: 34.66 kB / 0.8647 GB, free: 17.36 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4938, allocations: 2.188 kB / 0.8647 GB, free: 17.36 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4938, allocations: 10.47 kB / 0.8647 GB, free: 17.35 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4938, allocations: 5.062 kB / 0.8647 GB, free: 17.35 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.495, allocations: 0.7646 MB / 0.8654 GB, free: 16.98 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.495, allocations: 1.125 kB / 0.8654 GB, free: 16.98 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.4952, allocations: 53.27 kB / 0.8655 GB, free: 16.98 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4953, allocations: 0.9688 kB / 0.8655 GB, free: 16.98 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.4953, allocations: 16.44 kB / 0.8655 GB, free: 16.97 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.4953, allocations: 4.062 kB / 0.8655 GB, free: 16.97 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4953, allocations: 0.6094 kB / 0.8655 GB, free: 16.97 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.4963, allocations: 0.7224 MB / 0.8662 GB, free: 16.63 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.4964, allocations: 29.16 kB / 0.8662 GB, free: 16.61 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.4965, allocations: 14.97 kB / 0.8663 GB, free: 16.61 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.4967, allocations: 21.95 kB / 0.8663 GB, free: 16.61 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4968, allocations: 28.38 kB / 0.8663 GB, free: 16.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.4968, allocations: 14.33 kB / 0.8663 GB, free: 16.61 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001889/0.497, allocations: 176.1 kB / 0.8665 GB, free: 16.53 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.497, allocations: 0 / 0.8665 GB, free: 16.53 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003842/0.4974, allocations: 87.44 kB / 0.8666 GB, free: 16.53 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.0001433/0.4975, allocations: 129.4 kB / 0.8667 GB, free: 16.44 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008009/0.4983, allocations: 0.5646 MB / 0.8672 GB, free: 16.08 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4983, allocations: 0.6875 kB / 0.8672 GB, free: 16.08 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.4987, allocations: 305.9 kB / 0.8675 GB, free: 15.89 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.4992, allocations: 88.91 kB / 0.8676 GB, free: 15.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.5009, allocations: 0.9439 MB / 0.8685 GB, free: 15.39 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.5011, allocations: 158.8 kB / 0.8687 GB, free: 15.31 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.5012, allocations: 34.3 kB / 0.8687 GB, free: 15.3 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.5013, allocations: 27.98 kB / 0.8687 GB, free: 15.3 MB / 490.8 MB Notification: Performance of SimCode: time 9.52e-07/0.5013, allocations: 0 / 0.8687 GB, free: 15.3 MB / 490.8 MB Notification: Performance of Templates: time 0.01235/0.5137, allocations: 4.994 MB / 0.8736 GB, free: 14.81 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.703537805005908]