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.001329/0.001329, allocations: 108.3 kB / 19.71 MB, free: 432 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.00163/0.00163, allocations: 219 kB / 23 MB, free: 2.965 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.091/1.091, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7799/0.7799, allocations: 312.3 MB / 0.6109 GB, free: 96.98 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,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.001556/0.001556, allocations: 73.86 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1473, allocations: 73.99 MB / 0.8422 GB, free: 9.762 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed): time 0.003039/0.1503, allocations: 2.707 MB / 0.8448 GB, free: 7.055 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006023/0.1563, allocations: 6.598 MB / 0.8513 GB, free: 468 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1564, allocations: 7.938 kB / 0.8513 GB, free: 460 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.1566, allocations: 40.16 kB / 0.8513 GB, free: 420 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.1568, allocations: 120.4 kB / 0.8514 GB, free: 300 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.157, allocations: 72.47 kB / 0.8515 GB, free: 228 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.1573, allocations: 378.9 kB / 0.8519 GB, free: 15.85 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.1575, allocations: 44.92 kB / 0.8519 GB, free: 15.81 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1576, allocations: 148 kB / 0.8521 GB, free: 15.66 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.1578, allocations: 140 kB / 0.8522 GB, free: 15.53 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.1578, allocations: 24 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.524e-05/0.1579, allocations: 24.62 kB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.1579, allocations: 55.72 kB / 0.8523 GB, free: 15.43 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.158, allocations: 147.9 kB / 0.8524 GB, free: 15.28 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.1583, allocations: 287.4 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1583, allocations: 0 / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1583, allocations: 0.5 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1583, allocations: 0.625 kB / 0.8527 GB, free: 15 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.0007257/0.159, allocations: 0.5982 MB / 0.8533 GB, free: 14.35 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.159, allocations: 8.031 kB / 0.8533 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.1591, allocations: 33.38 kB / 0.8533 GB, free: 14.31 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.1593, allocations: 209.6 kB / 0.8535 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1593, allocations: 16.75 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.1594, allocations: 24.44 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.1597, allocations: 292.6 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1597, allocations: 8.578 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1597, allocations: 4 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1597, allocations: 4.594 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.16, allocations: 233.7 kB / 0.8541 GB, free: 13.48 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1611, allocations: 0.685 MB / 0.8548 GB, free: 12.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.1615, allocations: 235.4 kB / 0.855 GB, free: 12.5 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.1616, allocations: 153.1 kB / 0.8551 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.1616, allocations: 4 kB / 0.8551 GB, free: 12.33 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3193/0.4809, allocations: 353 kB / 0.8555 GB, free: 21.32 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.186e-06/0.4809, allocations: 0.875 kB / 0.8555 GB, free: 21.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001339/0.4822, allocations: 1.082 MB / 0.8565 GB, free: 20.83 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.4823, allocations: 221.2 kB / 0.8567 GB, free: 20.58 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.4824, allocations: 248.7 kB / 0.857 GB, free: 20.47 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.4824, allocations: 37.33 kB / 0.857 GB, free: 20.44 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.4825, allocations: 158 kB / 0.8572 GB, free: 20.34 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.4826, allocations: 114.6 kB / 0.8573 GB, free: 20.29 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.4826, allocations: 77.53 kB / 0.8573 GB, free: 20.27 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.564e-05/0.4827, allocations: 336.4 kB / 0.8577 GB, free: 19.96 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.4829, allocations: 210.6 kB / 0.8579 GB, free: 19.85 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.483, allocations: 320.9 kB / 0.8582 GB, free: 19.62 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.4834, allocations: 438.8 kB / 0.8586 GB, free: 19.36 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4834, allocations: 0 / 0.8586 GB, free: 19.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004276/0.4838, allocations: 0.5496 MB / 0.8591 GB, free: 19.12 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.4838, allocations: 86.61 kB / 0.8592 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4838, allocations: 10.94 kB / 0.8592 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4839, allocations: 5.781 kB / 0.8592 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.484, allocations: 76.36 kB / 0.8593 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.484, allocations: 6 kB / 0.8593 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.4842, allocations: 32.81 kB / 0.8593 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.4842, allocations: 12.12 kB / 0.8594 GB, free: 19.02 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.0001616/0.4843, allocations: 224.2 kB / 0.8596 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.4844, allocations: 33 kB / 0.8596 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.4844, allocations: 32.22 kB / 0.8596 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4844, allocations: 4.172 kB / 0.8596 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4844, allocations: 3.375 kB / 0.8596 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.4844, allocations: 6.406 kB / 0.8596 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006836/0.4851, allocations: 0.7522 MB / 0.8604 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4851, allocations: 0 / 0.8604 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.4853, allocations: 63.48 kB / 0.8604 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.4853, allocations: 0.625 kB / 0.8604 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.4853, allocations: 14.86 kB / 0.8604 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.4853, allocations: 6.969 kB / 0.8605 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4853, allocations: 1.156 kB / 0.8605 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.4859, allocations: 0.7285 MB / 0.8612 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.4859, allocations: 20.58 kB / 0.8612 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.486, allocations: 14.25 kB / 0.8612 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.4861, allocations: 21.52 kB / 0.8612 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.4861, allocations: 28.44 kB / 0.8612 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.4862, allocations: 13.98 kB / 0.8613 GB, free: 18.09 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001127/0.4863, allocations: 177.4 kB / 0.8614 GB, free: 18.01 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4863, allocations: 0.5938 kB / 0.8614 GB, free: 18.01 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000224/0.4865, allocations: 86.92 kB / 0.8615 GB, free: 18.01 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 9.948e-05/0.4866, allocations: 125.3 kB / 0.8616 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.4871, allocations: 0.5632 MB / 0.8622 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4871, allocations: 0 / 0.8622 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.4873, allocations: 307.4 kB / 0.8625 GB, free: 17.39 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.4876, allocations: 82.98 kB / 0.8626 GB, free: 17.39 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.4888, allocations: 0.9701 MB / 0.8635 GB, free: 16.9 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.4889, allocations: 159.5 kB / 0.8637 GB, free: 16.82 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.489, allocations: 30.92 kB / 0.8637 GB, free: 16.81 MB / 490.8 MB Notification: Performance of SimCode: time 6.91e-07/0.489, allocations: 0 / 0.8637 GB, free: 16.81 MB / 490.8 MB Notification: Performance of Templates: time 0.005765/0.4947, allocations: 4.015 MB / 0.8676 GB, free: 16.46 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.648272665217519]