Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin.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.002606/0.002606, allocations: 105.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.002971/0.002971, allocations: 218.4 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.729/1.729, allocations: 230.6 MB / 256 MB, free: 9.617 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.565/1.565, 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.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin") [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.003835/0.003835, allocations: 73.27 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1678, allocations: 74 MB / 0.8473 GB, free: 4.867 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin): time 0.004756/0.1726, allocations: 2.296 MB / 0.8495 GB, free: 2.57 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4243/0.5969, allocations: 6.527 MB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.5971, allocations: 2 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.5973, allocations: 28.59 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.5976, allocations: 81.47 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.5979, allocations: 56.88 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.5982, allocations: 255.3 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.5983, allocations: 33.97 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.5985, allocations: 98.83 kB / 0.8564 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.5987, allocations: 98.58 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.5988, allocations: 16.75 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.111e-05/0.5988, allocations: 17.56 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.5989, allocations: 42.97 kB / 0.8566 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.599, allocations: 94.78 kB / 0.8567 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.5992, allocations: 196.5 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5992, allocations: 0 / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5992, allocations: 1.812 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.5992, allocations: 0 / 0.8568 GB, free: 21.86 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.0008448/0.6001, allocations: 0.489 MB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.6001, allocations: 6.938 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.6002, allocations: 29.2 kB / 0.8574 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.6004, allocations: 181.7 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.6004, allocations: 13.98 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.6005, allocations: 22.28 kB / 0.8576 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.6008, allocations: 189.3 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.6009, allocations: 2.406 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.6009, allocations: 9.422 kB / 0.8578 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.6009, allocations: 4.062 kB / 0.8578 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.6012, allocations: 141.3 kB / 0.8579 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.602, allocations: 480.8 kB / 0.8584 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.6025, allocations: 177.8 kB / 0.8585 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.6027, allocations: 93.53 kB / 0.8586 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.6027, allocations: 2.594 kB / 0.8586 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003816/0.6031, allocations: 228.7 kB / 0.8588 GB, free: 20.63 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.6031, allocations: 0.5625 kB / 0.8588 GB, free: 20.63 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001443/0.6045, allocations: 0.7055 MB / 0.8595 GB, free: 20.27 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.6046, allocations: 136.8 kB / 0.8597 GB, free: 20.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.6048, allocations: 218.4 kB / 0.8599 GB, free: 20.01 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.6048, allocations: 32.73 kB / 0.8599 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.6048, allocations: 130.1 kB / 0.86 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.6049, allocations: 72.23 kB / 0.8601 GB, free: 19.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.605, allocations: 56.42 kB / 0.8601 GB, free: 19.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.605, allocations: 335.4 kB / 0.8605 GB, free: 19.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.6053, allocations: 148.9 kB / 0.8606 GB, free: 19.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.6055, allocations: 220.9 kB / 0.8608 GB, free: 19.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.6059, allocations: 286 kB / 0.8611 GB, free: 19.1 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6059, allocations: 0 / 0.8611 GB, free: 19.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005645/0.6065, allocations: 386.5 kB / 0.8615 GB, free: 18.92 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.6065, allocations: 61.83 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.6065, allocations: 8.062 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.6065, allocations: 6.844 kB / 0.8615 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.6067, allocations: 47.64 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.6068, allocations: 11.88 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.6069, allocations: 17.03 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.607, allocations: 14.48 kB / 0.8616 GB, free: 18.84 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.0001932/0.6071, allocations: 171.9 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.6072, allocations: 24.66 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/0.6072, allocations: 26.92 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6072, allocations: 4.375 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6073, allocations: 1.156 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.6073, allocations: 2.203 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007105/0.608, allocations: 0.5385 MB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.608, allocations: 0 / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.6082, allocations: 39.3 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6082, allocations: 3.344 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.6082, allocations: 9.516 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.6082, allocations: 6 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6082, allocations: 0.5 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006744/0.6089, allocations: 0.4978 MB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.6089, allocations: 22.52 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.6089, allocations: 3.781 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.6091, allocations: 17.7 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.6092, allocations: 20.31 kB / 0.863 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.6092, allocations: 9.25 kB / 0.863 GB, free: 18.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001409/0.6094, allocations: 158.3 kB / 0.8631 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.6094, allocations: 0.5 kB / 0.8631 GB, free: 18.02 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003066/0.6097, allocations: 56.5 kB / 0.8632 GB, free: 18.02 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.0001125/0.6098, allocations: 111.2 kB / 0.8633 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005519/0.6103, allocations: 383.6 kB / 0.8637 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.6103, allocations: 0 / 0.8637 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.6106, allocations: 171 kB / 0.8638 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.611, allocations: 76.06 kB / 0.8639 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.6123, allocations: 0.679 MB / 0.8645 GB, free: 17.28 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.6124, allocations: 122.8 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000106/0.6125, allocations: 26.81 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.6126, allocations: 23.41 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of SimCode: time 4.31e-07/0.6126, allocations: 1.156 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of Templates: time 0.00848/0.621, allocations: 3.652 MB / 0.8683 GB, free: 16.87 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB08_Pirarubicin.Pirarubicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.014681396074593]