Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_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.001047/0.001047, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.001073/0.001073, allocations: 217.3 kB / 23 MB, free: 2.949 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.074/1.074, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] 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 0.775/0.775, allocations: 312.3 MB / 0.6108 GB, free: 97.57 MB / 410.7 MB " [Timeout remaining time 179] 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_Srinivasan2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_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.001712/0.001712, allocations: 74.3 kB / 0.7699 GB, free: 20.07 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1623, allocations: 73.98 MB / 0.8421 GB, free: 10.22 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference): time 0.00347/0.1658, allocations: 2.696 MB / 0.8448 GB, free: 7.531 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007575/0.1734, allocations: 6.606 MB / 0.8512 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.1736, allocations: 4.719 kB / 0.8512 GB, free: 0.9219 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1738, allocations: 39.56 kB / 0.8513 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.1742, allocations: 124.3 kB / 0.8514 GB, free: 0.7617 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1745, allocations: 64.45 kB / 0.8514 GB, free: 0.6992 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000465/0.175, allocations: 382.7 kB / 0.8518 GB, free: 332 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.1752, allocations: 52.91 kB / 0.8518 GB, free: 280 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.1754, allocations: 144.1 kB / 0.852 GB, free: 136 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.1757, allocations: 135.9 kB / 0.8521 GB, free: 16 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.1757, allocations: 24.59 kB / 0.8521 GB, free: 15.97 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.424e-05/0.1758, allocations: 24.53 kB / 0.8522 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.1758, allocations: 59.72 kB / 0.8522 GB, free: 15.89 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.176, allocations: 143.8 kB / 0.8524 GB, free: 15.75 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.1763, allocations: 279.5 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1763, allocations: 3.984 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1763, allocations: 0.625 kB / 0.8526 GB, free: 15.48 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1763, allocations: 0 / 0.8526 GB, free: 15.48 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.000901/0.1772, allocations: 0.6062 MB / 0.8532 GB, free: 14.82 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1772, allocations: 8.031 kB / 0.8532 GB, free: 14.81 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.499e-05/0.1773, allocations: 33.38 kB / 0.8533 GB, free: 14.78 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.1776, allocations: 209.7 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1777, allocations: 20.75 kB / 0.8535 GB, free: 14.53 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.1777, allocations: 20.47 kB / 0.8535 GB, free: 14.51 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.1781, allocations: 288.5 kB / 0.8538 GB, free: 14.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.1781, allocations: 8.453 kB / 0.8538 GB, free: 14.2 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.1782, allocations: 8 kB / 0.8538 GB, free: 14.19 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1782, allocations: 4.594 kB / 0.8538 GB, free: 14.19 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.1785, allocations: 233.7 kB / 0.854 GB, free: 13.95 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.1799, allocations: 0.6771 MB / 0.8547 GB, free: 13.23 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.1803, allocations: 236.5 kB / 0.8549 GB, free: 12.98 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.1805, allocations: 145.1 kB / 0.855 GB, free: 12.82 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.1805, allocations: 8.75 kB / 0.855 GB, free: 12.81 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/0.1808, allocations: 354.2 kB / 0.8554 GB, free: 12.42 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.066e-06/0.1808, allocations: 0.5 kB / 0.8554 GB, free: 12.42 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.4112/0.592, allocations: 1.077 MB / 0.8564 GB, free: 30.41 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.5921, allocations: 220.8 kB / 0.8567 GB, free: 30.16 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.5923, allocations: 246.3 kB / 0.8569 GB, free: 30.05 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.5923, allocations: 39.73 kB / 0.8569 GB, free: 30.02 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.5924, allocations: 156.5 kB / 0.8571 GB, free: 29.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/0.5925, allocations: 115.6 kB / 0.8572 GB, free: 29.87 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.381e-05/0.5926, allocations: 75.73 kB / 0.8573 GB, free: 29.85 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.465e-05/0.5926, allocations: 339.5 kB / 0.8576 GB, free: 29.54 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.5928, allocations: 212.2 kB / 0.8578 GB, free: 29.44 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.593, allocations: 313.8 kB / 0.8581 GB, free: 29.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.5934, allocations: 439.7 kB / 0.8585 GB, free: 28.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5934, allocations: 4.141 kB / 0.8585 GB, free: 28.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005688/0.594, allocations: 0.5477 MB / 0.859 GB, free: 28.69 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/0.594, allocations: 93.88 kB / 0.8591 GB, free: 28.6 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.594, allocations: 3.625 kB / 0.8591 GB, free: 28.6 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.5941, allocations: 8.188 kB / 0.8591 GB, free: 28.6 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.5943, allocations: 80.14 kB / 0.8592 GB, free: 28.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.5943, allocations: 7.938 kB / 0.8592 GB, free: 28.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.5944, allocations: 22.95 kB / 0.8592 GB, free: 28.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.5945, allocations: 16.89 kB / 0.8593 GB, free: 28.59 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.0002609/0.5947, allocations: 233.9 kB / 0.8595 GB, free: 28.4 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.5948, allocations: 30.88 kB / 0.8595 GB, free: 28.39 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.2e-05/0.5948, allocations: 33.81 kB / 0.8595 GB, free: 28.38 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.5948, allocations: 1.625 kB / 0.8595 GB, free: 28.38 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5948, allocations: 2.25 kB / 0.8596 GB, free: 28.38 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.5948, allocations: 2.156 kB / 0.8596 GB, free: 28.38 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008293/0.5957, allocations: 0.7653 MB / 0.8603 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5957, allocations: 0 / 0.8603 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.5959, allocations: 56.28 kB / 0.8604 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.5959, allocations: 1.25 kB / 0.8604 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.5959, allocations: 11.88 kB / 0.8604 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5959, allocations: 0 / 0.8604 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5959, allocations: 0 / 0.8604 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.5966, allocations: 0.7347 MB / 0.8611 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.5966, allocations: 27.25 kB / 0.8611 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.5967, allocations: 7.375 kB / 0.8611 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.5968, allocations: 24.23 kB / 0.8611 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5969, allocations: 25.47 kB / 0.8612 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.5969, allocations: 14.19 kB / 0.8612 GB, free: 27.64 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001519/0.597, allocations: 185.8 kB / 0.8614 GB, free: 27.56 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.597, allocations: 0.6562 kB / 0.8614 GB, free: 27.56 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002578/0.5973, allocations: 85.78 kB / 0.8614 GB, free: 27.55 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.0001371/0.5974, allocations: 125.2 kB / 0.8616 GB, free: 27.47 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005508/0.598, allocations: 0.5623 MB / 0.8621 GB, free: 27.11 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.598, allocations: 1.594 kB / 0.8621 GB, free: 27.11 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.5982, allocations: 304 kB / 0.8624 GB, free: 26.92 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.5986, allocations: 84.88 kB / 0.8625 GB, free: 26.92 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.6001, allocations: 0.9629 MB / 0.8634 GB, free: 26.45 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.6003, allocations: 159 kB / 0.8636 GB, free: 26.37 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/0.6004, allocations: 32.44 kB / 0.8636 GB, free: 26.36 MB / 490.8 MB Notification: Performance of SimCode: time 1.573e-06/0.6004, allocations: 0 / 0.8636 GB, free: 26.36 MB / 490.8 MB Notification: Performance of Templates: time 0.009267/0.6096, allocations: 4.035 MB / 0.8675 GB, free: 25.99 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.369099629111588]