Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide.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.001838/0.001838, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002001/0.002001, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.789/1.789, allocations: 230.6 MB / 256 MB, free: 9.586 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.44/1.44, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide") [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.003969/0.003969, allocations: 77.14 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1598, allocations: 73.98 MB / 0.8472 GB, free: 4.895 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide): time 0.004172/0.164, allocations: 2.307 MB / 0.8495 GB, free: 2.59 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3081/0.4721, allocations: 6.538 MB / 0.8559 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.4723, allocations: 0 / 0.8559 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.4725, allocations: 25.22 kB / 0.8559 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.4728, allocations: 82.16 kB / 0.856 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.473, allocations: 55.3 kB / 0.856 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.4733, allocations: 258.1 kB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.4735, allocations: 33.8 kB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.4736, allocations: 95.78 kB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.4739, allocations: 100.3 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.4739, allocations: 18 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.376e-05/0.474, allocations: 18.91 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.474, allocations: 33.72 kB / 0.8566 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.4741, allocations: 94.94 kB / 0.8566 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.4744, allocations: 199.3 kB / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4744, allocations: 1.125 kB / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4744, allocations: 0.875 kB / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.4744, allocations: 0 / 0.8568 GB, free: 21.89 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.0009047/0.4753, allocations: 499.2 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4754, allocations: 13.28 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.4754, allocations: 24.7 kB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.4757, allocations: 181.7 kB / 0.8575 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.4757, allocations: 9.297 kB / 0.8575 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.4758, allocations: 25.08 kB / 0.8576 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.4761, allocations: 188.6 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.4762, allocations: 3.938 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.4762, allocations: 5.344 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.4762, allocations: 2.406 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.4765, allocations: 145.5 kB / 0.8579 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/0.4772, allocations: 486.8 kB / 0.8583 GB, free: 20.9 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.4777, allocations: 174.5 kB / 0.8585 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.4779, allocations: 97.81 kB / 0.8586 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.4779, allocations: 1.125 kB / 0.8586 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.4782, allocations: 226.5 kB / 0.8588 GB, free: 20.66 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.4782, allocations: 0.6875 kB / 0.8588 GB, free: 20.66 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001376/0.4796, allocations: 0.705 MB / 0.8595 GB, free: 20.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.4796, allocations: 137.9 kB / 0.8596 GB, free: 20.14 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.4798, allocations: 212.8 kB / 0.8598 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.4798, allocations: 31.36 kB / 0.8599 GB, free: 20.01 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.4799, allocations: 136.1 kB / 0.86 GB, free: 19.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.48, allocations: 75.08 kB / 0.8601 GB, free: 19.87 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.48, allocations: 53.69 kB / 0.8601 GB, free: 19.85 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.4801, allocations: 335 kB / 0.8604 GB, free: 19.54 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.4803, allocations: 149.5 kB / 0.8606 GB, free: 19.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.4805, allocations: 219.7 kB / 0.8608 GB, free: 19.29 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.4809, allocations: 285.9 kB / 0.8611 GB, free: 19.12 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4809, allocations: 0 / 0.8611 GB, free: 19.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005174/0.4814, allocations: 388.2 kB / 0.8614 GB, free: 18.95 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.4814, allocations: 60.31 kB / 0.8615 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4814, allocations: 6.688 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4815, allocations: 3.219 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.4817, allocations: 54.44 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.4817, allocations: 9.031 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.4818, allocations: 16.39 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.4819, allocations: 10.5 kB / 0.8616 GB, free: 18.88 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.0001569/0.482, allocations: 183.7 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.482, allocations: 22.86 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.588e-05/0.4821, allocations: 31.45 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4821, allocations: 1.344 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4821, allocations: 4.094 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.4821, allocations: 0.8438 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000647/0.4828, allocations: 0.5318 MB / 0.8623 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4828, allocations: 0.6562 kB / 0.8623 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.4829, allocations: 39.84 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.4829, allocations: 4.969 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.483, allocations: 8.547 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.483, allocations: 4.5 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.483, allocations: 2.234 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.4836, allocations: 499.7 kB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.4836, allocations: 20.48 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.4837, allocations: 11.06 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.4839, allocations: 18.16 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.4839, allocations: 20.78 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.4839, allocations: 11.83 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001141/0.4841, allocations: 156 kB / 0.8631 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4841, allocations: 4.656 kB / 0.8631 GB, free: 18.05 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003028/0.4844, allocations: 55.34 kB / 0.8632 GB, free: 18.05 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.0001043/0.4845, allocations: 113.5 kB / 0.8633 GB, free: 17.96 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000524/0.485, allocations: 384.6 kB / 0.8636 GB, free: 17.73 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.485, allocations: 0 / 0.8636 GB, free: 17.73 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.4852, allocations: 169.8 kB / 0.8638 GB, free: 17.63 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.4857, allocations: 72.41 kB / 0.8639 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.4869, allocations: 0.683 MB / 0.8645 GB, free: 17.32 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.487, allocations: 127.6 kB / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.957e-05/0.4871, allocations: 24.19 kB / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.4872, allocations: 21.52 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of SimCode: time 5.61e-07/0.4872, allocations: 0 / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of Templates: time 0.008171/0.4954, allocations: 3.634 MB / 0.8683 GB, free: 16.91 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA06_Ifosfamide.Ifosfamide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.802133845165372]