Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XA01_Cisplatin.Cisplatin.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.002401/0.002401, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.002702/0.002702, allocations: 219.5 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.655/1.655, allocations: 230.6 MB / 256 MB, free: 9.594 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.431/1.431, allocations: 316.8 MB / 0.6144 GB, free: 92.99 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.L01XA01_Cisplatin.Cisplatin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XA01_Cisplatin.Cisplatin") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XA01_Cisplatin.Cisplatin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XA01_Cisplatin.Cisplatin") [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.004191/0.004191, allocations: 81.36 kB / 0.775 GB, free: 14.67 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1543, allocations: 73.98 MB / 0.8473 GB, free: 4.824 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XA01_Cisplatin.Cisplatin): time 0.004414/0.1587, allocations: 2.316 MB / 0.8495 GB, free: 2.508 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2966/0.4554, allocations: 6.523 MB / 0.8559 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.4556, allocations: 3.625 kB / 0.8559 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.4557, allocations: 27.69 kB / 0.8559 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.4559, allocations: 81.27 kB / 0.856 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.4561, allocations: 55.67 kB / 0.8561 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.4564, allocations: 253.6 kB / 0.8563 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.4565, allocations: 38.95 kB / 0.8563 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.4566, allocations: 100.3 kB / 0.8564 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.4568, allocations: 97.53 kB / 0.8565 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.4569, allocations: 17.91 kB / 0.8565 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.4569, allocations: 17.44 kB / 0.8566 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.4569, allocations: 38.77 kB / 0.8566 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.923e-05/0.457, allocations: 90.09 kB / 0.8567 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.4572, allocations: 198.2 kB / 0.8569 GB, free: 21.76 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.4572, allocations: 1.688 kB / 0.8569 GB, free: 21.76 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4572, allocations: 0 / 0.8569 GB, free: 21.76 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.4573, allocations: 0 / 0.8569 GB, free: 21.76 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.0007953/0.458, allocations: 499 kB / 0.8573 GB, free: 21.36 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.4581, allocations: 10.97 kB / 0.8574 GB, free: 21.36 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.4581, allocations: 22.55 kB / 0.8574 GB, free: 21.35 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.4584, allocations: 184.3 kB / 0.8576 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.4584, allocations: 9.578 kB / 0.8576 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.4584, allocations: 26.17 kB / 0.8576 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.4588, allocations: 196.9 kB / 0.8578 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4588, allocations: 3.688 kB / 0.8578 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.4588, allocations: 9.125 kB / 0.8578 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4588, allocations: 2.062 kB / 0.8578 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.4593, allocations: 143.8 kB / 0.8579 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000849/0.4601, allocations: 483.3 kB / 0.8584 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.4607, allocations: 177.5 kB / 0.8586 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.4609, allocations: 95.69 kB / 0.8587 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.4609, allocations: 2.344 kB / 0.8587 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.4613, allocations: 224.7 kB / 0.8589 GB, free: 20.53 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.494e-06/0.4613, allocations: 4.453 kB / 0.8589 GB, free: 20.53 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00167/0.463, allocations: 0.6968 MB / 0.8596 GB, free: 20.18 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.463, allocations: 136.4 kB / 0.8597 GB, free: 20.02 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.4632, allocations: 215.7 kB / 0.8599 GB, free: 19.91 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.4633, allocations: 33.52 kB / 0.8599 GB, free: 19.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.4633, allocations: 133.2 kB / 0.86 GB, free: 19.79 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.4634, allocations: 70.2 kB / 0.8601 GB, free: 19.75 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4635, allocations: 60.22 kB / 0.8602 GB, free: 19.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.4636, allocations: 337.7 kB / 0.8605 GB, free: 19.41 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.4639, allocations: 145.5 kB / 0.8606 GB, free: 19.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.4642, allocations: 223.8 kB / 0.8608 GB, free: 19.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.4647, allocations: 283.1 kB / 0.8611 GB, free: 19 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4647, allocations: 3.344 kB / 0.8611 GB, free: 19 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007642/0.4654, allocations: 382 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.4655, allocations: 70 kB / 0.8616 GB, free: 18.76 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4655, allocations: 7.094 kB / 0.8616 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.4655, allocations: 5.781 kB / 0.8616 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.4659, allocations: 46.72 kB / 0.8616 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.4659, allocations: 9.359 kB / 0.8616 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.4662, allocations: 22.36 kB / 0.8616 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.4662, allocations: 9.688 kB / 0.8616 GB, free: 18.75 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.0001834/0.4664, allocations: 180.4 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.4664, allocations: 24.56 kB / 0.8618 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.4665, allocations: 28.47 kB / 0.8619 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4665, allocations: 1.812 kB / 0.8619 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4665, allocations: 1.609 kB / 0.8619 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4665, allocations: 1.406 kB / 0.8619 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009039/0.4674, allocations: 0.54 MB / 0.8624 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4674, allocations: 0 / 0.8624 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.4677, allocations: 41.25 kB / 0.8624 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4677, allocations: 0 / 0.8624 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.4677, allocations: 8.969 kB / 0.8624 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.4677, allocations: 4.688 kB / 0.8625 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4677, allocations: 0 / 0.8625 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.4686, allocations: 0.491 MB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.4686, allocations: 21.17 kB / 0.863 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.4687, allocations: 8.125 kB / 0.863 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.4689, allocations: 14.92 kB / 0.863 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4691, allocations: 24.89 kB / 0.863 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.4691, allocations: 8.594 kB / 0.863 GB, free: 18 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001552/0.4692, allocations: 156.3 kB / 0.8632 GB, free: 17.92 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.4692, allocations: 0.5 kB / 0.8632 GB, free: 17.92 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004897/0.4697, allocations: 59.22 kB / 0.8632 GB, free: 17.92 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.0001106/0.4698, allocations: 111.1 kB / 0.8633 GB, free: 17.83 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006967/0.4705, allocations: 384 kB / 0.8637 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4705, allocations: 0 / 0.8637 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.4708, allocations: 173.7 kB / 0.8639 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006887/0.4715, allocations: 72.62 kB / 0.8639 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.473, allocations: 0.6884 MB / 0.8646 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.4732, allocations: 122.7 kB / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.4733, allocations: 25.08 kB / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.4734, allocations: 21.19 kB / 0.8648 GB, free: 17.1 MB / 490.8 MB Notification: Performance of SimCode: time 4.31e-07/0.4734, allocations: 0 / 0.8648 GB, free: 17.1 MB / 490.8 MB Notification: Performance of Templates: time 0.01038/0.4838, allocations: 3.644 MB / 0.8683 GB, free: 16.77 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XA01_Cisplatin.Cisplatin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XA01_Cisplatin.Cisplatin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XA01_Cisplatin.Cisplatin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XA01_Cisplatin.Cisplatin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XA01_Cisplatin.Cisplatin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XA01_Cisplatin.Cisplatin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01X_OtherAntineoplasticAgents.L01XA01_Cisplatin.Cisplatin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.057874953141436]