Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_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.001871/0.001871, allocations: 109.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.002673/0.002673, allocations: 219.6 kB / 22.25 MB, free: 3.578 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.642/1.642, allocations: 230.6 MB / 256 MB, free: 9.598 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.516/1.516, allocations: 316.7 MB / 0.6144 GB, free: 93.21 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.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1382400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1382400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_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.003971/0.003971, allocations: 73.86 kB / 0.775 GB, free: 14.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1615, allocations: 74 MB / 0.8472 GB, free: 5.004 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_reference): time 0.004523/0.166, allocations: 2.299 MB / 0.8495 GB, free: 2.707 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1674, allocations: 0.5872 MB / 0.85 GB, free: 2.125 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.977e-05/0.1675, allocations: 0.5 kB / 0.85 GB, free: 2.125 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.1676, allocations: 23.72 kB / 0.8501 GB, free: 2.102 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.1679, allocations: 88.59 kB / 0.8501 GB, free: 2.016 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1681, allocations: 52.53 kB / 0.8502 GB, free: 1.965 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.1685, allocations: 247.5 kB / 0.8504 GB, free: 1.723 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.1686, allocations: 40.56 kB / 0.8505 GB, free: 1.684 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1688, allocations: 100.2 kB / 0.8506 GB, free: 1.586 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.169, allocations: 100.1 kB / 0.8507 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.1691, allocations: 20 kB / 0.8507 GB, free: 1.469 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.421e-05/0.1691, allocations: 16.66 kB / 0.8507 GB, free: 1.453 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.1692, allocations: 35.84 kB / 0.8507 GB, free: 1.418 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1693, allocations: 84.23 kB / 0.8508 GB, free: 1.336 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1696, allocations: 201.2 kB / 0.851 GB, free: 1.141 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.1696, allocations: 4.594 kB / 0.851 GB, free: 1.137 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1696, allocations: 4.719 kB / 0.851 GB, free: 1.133 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1696, allocations: 0 / 0.851 GB, free: 1.133 MB / 474.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.00105/0.1706, allocations: 498.4 kB / 0.8515 GB, free: 0.6016 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1707, allocations: 8.531 kB / 0.8515 GB, free: 0.5938 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.1707, allocations: 24.8 kB / 0.8515 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.1711, allocations: 187.7 kB / 0.8517 GB, free: 368 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.1711, allocations: 13.14 kB / 0.8517 GB, free: 356 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.1711, allocations: 19.89 kB / 0.8517 GB, free: 336 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.1716, allocations: 187.5 kB / 0.8519 GB, free: 132 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.1716, allocations: 7.938 kB / 0.8519 GB, free: 124 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.1716, allocations: 4.625 kB / 0.8519 GB, free: 120 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1716, allocations: 4.625 kB / 0.8519 GB, free: 116 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.172, allocations: 146.8 kB / 0.8521 GB, free: 15.96 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008968/0.1729, allocations: 486.7 kB / 0.8525 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.1734, allocations: 173.3 kB / 0.8527 GB, free: 15.27 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.1737, allocations: 95.2 kB / 0.8528 GB, free: 15.17 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.1737, allocations: 8.781 kB / 0.8528 GB, free: 15.16 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004106/0.1741, allocations: 229.1 kB / 0.853 GB, free: 14.91 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.1741, allocations: 0.6562 kB / 0.853 GB, free: 14.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001661/0.1757, allocations: 0.6958 MB / 0.8537 GB, free: 14.15 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.1759, allocations: 133.2 kB / 0.8538 GB, free: 13.99 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.1761, allocations: 222.9 kB / 0.854 GB, free: 13.77 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.1762, allocations: 34.27 kB / 0.8541 GB, free: 13.73 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1763, allocations: 129.1 kB / 0.8542 GB, free: 13.6 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.1764, allocations: 75.41 kB / 0.8543 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.1765, allocations: 58.88 kB / 0.8543 GB, free: 13.46 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.1767, allocations: 334.8 kB / 0.8546 GB, free: 13.12 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.1772, allocations: 145.9 kB / 0.8548 GB, free: 12.96 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.1775, allocations: 221.3 kB / 0.855 GB, free: 12.7 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.1781, allocations: 283.4 kB / 0.8553 GB, free: 12.39 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1781, allocations: 0 / 0.8553 GB, free: 12.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.2739/0.452, allocations: 385 kB / 0.8556 GB, free: 28.18 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.81e-05/0.452, allocations: 69.52 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.452, allocations: 3.078 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/0.4521, allocations: 4.875 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.4523, allocations: 50.44 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.4523, allocations: 3.625 kB / 0.8557 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.4525, allocations: 20.28 kB / 0.8558 GB, free: 28.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.4526, allocations: 13.16 kB / 0.8558 GB, free: 28.11 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.0002236/0.4528, allocations: 170.9 kB / 0.8559 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.4528, allocations: 25.11 kB / 0.856 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.534e-05/0.4529, allocations: 26.56 kB / 0.856 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4529, allocations: 3.078 kB / 0.856 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4529, allocations: 6.234 kB / 0.856 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4529, allocations: 0 / 0.856 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007929/0.4537, allocations: 0.532 MB / 0.8565 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4537, allocations: 1.469 kB / 0.8565 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.4539, allocations: 36.36 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.4539, allocations: 0.8125 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.4539, allocations: 9.469 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4539, allocations: 4.516 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4539, allocations: 3.938 kB / 0.8566 GB, free: 27.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006631/0.4546, allocations: 0.4936 MB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.4546, allocations: 21.86 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.4547, allocations: 7.906 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.4548, allocations: 14.73 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/0.4549, allocations: 25.89 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.4549, allocations: 4.156 kB / 0.8571 GB, free: 27.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001289/0.4551, allocations: 159.4 kB / 0.8573 GB, free: 27.36 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4551, allocations: 0.5938 kB / 0.8573 GB, free: 27.36 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003008/0.4554, allocations: 54.06 kB / 0.8573 GB, free: 27.36 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.0001216/0.4555, allocations: 119.6 kB / 0.8574 GB, free: 27.27 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005413/0.456, allocations: 383.9 kB / 0.8578 GB, free: 27.05 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.456, allocations: 0.9688 kB / 0.8578 GB, free: 27.05 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.4562, allocations: 174 kB / 0.858 GB, free: 26.96 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.4567, allocations: 70.98 kB / 0.858 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.4578, allocations: 0.6729 MB / 0.8587 GB, free: 26.68 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.702e-05/0.4579, allocations: 123.6 kB / 0.8588 GB, free: 26.61 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.458, allocations: 26.62 kB / 0.8588 GB, free: 26.6 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.4581, allocations: 25.7 kB / 0.8589 GB, free: 26.59 MB / 490.8 MB Notification: Performance of SimCode: time 6.41e-07/0.4581, allocations: 0.5 kB / 0.8589 GB, free: 26.59 MB / 490.8 MB Notification: Performance of Templates: time 0.008139/0.4662, allocations: 3.65 MB / 0.8624 GB, free: 26.32 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XX44_Aflibercept.Aflibercept_Thai2013_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.808464920846745]