Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.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.002497/0.002497, 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.003388/0.003388, allocations: 219.5 kB / 22.25 MB, free: 3.59 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.78/1.78, allocations: 230.6 MB / 256 MB, free: 9.621 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.472/1.472, allocations: 316.7 MB / 0.6144 GB, free: 93.03 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.L01AA03_Melphalan.Melphalan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan") [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.004138/0.004138, allocations: 73.19 kB / 0.775 GB, free: 14.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2107, allocations: 73.98 MB / 0.8473 GB, free: 4.832 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan): time 0.00499/0.2157, allocations: 2.722 MB / 0.8499 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3345/0.5502, allocations: 6.605 MB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.5504, allocations: 0.5312 kB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.5506, allocations: 37.05 kB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.5509, allocations: 123.4 kB / 0.8565 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.5511, allocations: 72.22 kB / 0.8566 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.5515, allocations: 375.1 kB / 0.857 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.5517, allocations: 54.06 kB / 0.857 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.5519, allocations: 144.6 kB / 0.8571 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.5522, allocations: 140.8 kB / 0.8573 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.434e-05/0.5522, allocations: 23 kB / 0.8573 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.685e-05/0.5523, allocations: 24.94 kB / 0.8573 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.5523, allocations: 59.34 kB / 0.8574 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.5525, allocations: 133.2 kB / 0.8575 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.5529, allocations: 290.3 kB / 0.8578 GB, free: 21.75 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5529, allocations: 0 / 0.8578 GB, free: 21.75 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5529, allocations: 0.75 kB / 0.8578 GB, free: 21.75 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.5529, allocations: 0 / 0.8578 GB, free: 21.75 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.001095/0.554, allocations: 0.6019 MB / 0.8584 GB, free: 21.29 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.554, allocations: 10.97 kB / 0.8584 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.898e-05/0.5541, allocations: 34.16 kB / 0.8584 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.5544, allocations: 208.9 kB / 0.8586 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.5544, allocations: 15.62 kB / 0.8586 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.5545, allocations: 27.83 kB / 0.8587 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/0.555, allocations: 289.5 kB / 0.8589 GB, free: 20.99 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.5551, allocations: 7.453 kB / 0.8589 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.5551, allocations: 7.203 kB / 0.8589 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.5551, allocations: 8.25 kB / 0.859 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.5556, allocations: 233.2 kB / 0.8592 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.5569, allocations: 0.6785 MB / 0.8598 GB, free: 20.57 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.5576, allocations: 234.1 kB / 0.8601 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.5579, allocations: 150.3 kB / 0.8602 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.5579, allocations: 2.812 kB / 0.8602 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/0.5584, allocations: 360.8 kB / 0.8606 GB, free: 20.16 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/0.5584, allocations: 0.6875 kB / 0.8606 GB, free: 20.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.002222/0.5606, allocations: 1.081 MB / 0.8616 GB, free: 19.62 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.5607, allocations: 219.1 kB / 0.8618 GB, free: 19.38 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.5609, allocations: 245.4 kB / 0.8621 GB, free: 19.27 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.561, allocations: 44 kB / 0.8621 GB, free: 19.23 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.561, allocations: 156.2 kB / 0.8622 GB, free: 19.12 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/0.5611, allocations: 119.3 kB / 0.8624 GB, free: 19.05 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.5612, allocations: 68.33 kB / 0.8624 GB, free: 19.04 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.5613, allocations: 344 kB / 0.8628 GB, free: 18.72 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/0.5617, allocations: 206.9 kB / 0.8629 GB, free: 18.62 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.562, allocations: 320.1 kB / 0.8633 GB, free: 18.39 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/0.5627, allocations: 430.2 kB / 0.8637 GB, free: 18.12 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5627, allocations: 1.969 kB / 0.8637 GB, free: 18.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001005/0.5637, allocations: 0.5498 MB / 0.8642 GB, free: 17.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/0.5638, allocations: 91.28 kB / 0.8643 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.5638, allocations: 4.891 kB / 0.8643 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.5638, allocations: 6.031 kB / 0.8643 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.5642, allocations: 80.66 kB / 0.8644 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.5642, allocations: 6.438 kB / 0.8644 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.5645, allocations: 28.56 kB / 0.8644 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.5646, allocations: 16.67 kB / 0.8644 GB, free: 17.76 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.0002211/0.5648, allocations: 227.1 kB / 0.8646 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.5649, allocations: 31.89 kB / 0.8647 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.223e-05/0.5649, allocations: 34.97 kB / 0.8647 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.565, allocations: 4.656 kB / 0.8647 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.565, allocations: 2.094 kB / 0.8647 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.565, allocations: 5.484 kB / 0.8647 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.5663, allocations: 0.762 MB / 0.8655 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.5663, allocations: 0 / 0.8655 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.5667, allocations: 53.45 kB / 0.8655 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.5667, allocations: 3.688 kB / 0.8655 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.5667, allocations: 14.41 kB / 0.8655 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.5667, allocations: 2.156 kB / 0.8655 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5667, allocations: 0.5312 kB / 0.8655 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.568, allocations: 0.7243 MB / 0.8662 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.5681, allocations: 29.83 kB / 0.8663 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.584e-05/0.5682, allocations: 19.89 kB / 0.8663 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.5685, allocations: 17.97 kB / 0.8663 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.5686, allocations: 31.48 kB / 0.8663 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.5686, allocations: 16.05 kB / 0.8664 GB, free: 16.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.00021/0.5688, allocations: 177.1 kB / 0.8665 GB, free: 16.72 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5688, allocations: 0.6875 kB / 0.8665 GB, free: 16.72 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000575/0.5694, allocations: 88.52 kB / 0.8666 GB, free: 16.72 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.00013/0.5695, allocations: 123 kB / 0.8667 GB, free: 16.62 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0009077/0.5704, allocations: 0.573 MB / 0.8673 GB, free: 16.26 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5704, allocations: 0.6875 kB / 0.8673 GB, free: 16.26 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.5709, allocations: 304.4 kB / 0.8676 GB, free: 16.07 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/0.5716, allocations: 85.67 kB / 0.8677 GB, free: 16.07 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.5735, allocations: 0.9353 MB / 0.8686 GB, free: 15.58 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.5737, allocations: 159 kB / 0.8687 GB, free: 15.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.5738, allocations: 35.12 kB / 0.8688 GB, free: 15.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.568e-05/0.5739, allocations: 26.98 kB / 0.8688 GB, free: 15.49 MB / 490.8 MB Notification: Performance of SimCode: time 4.71e-07/0.5739, allocations: 0 / 0.8688 GB, free: 15.49 MB / 490.8 MB Notification: Performance of Templates: time 0.01529/0.5892, allocations: 4.998 MB / 0.8737 GB, free: 14.99 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.833239814965054]