Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone.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.00199/0.00199, allocations: 88.44 kB / 19.17 MB, free: 0.7383 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.002152/0.002152, allocations: 169.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.619/1.619, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.293/1.293, allocations: 293 MB / 0.5392 GB, free: 50.15 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.L01DB07_Mitoxantrone.Mitoxantrone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 0.6999 GB, free: 8.543 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.763e-05/4.045e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone): time 0.004321/0.004362, allocations: 2.313 MB / 0.7022 GB, free: 6.211 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.008716/0.01308, allocations: 6.53 MB / 0.7085 GB, free: 15.67 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.01337, allocations: 7.938 kB / 0.7085 GB, free: 15.66 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.01357, allocations: 27.72 kB / 0.7086 GB, free: 15.64 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004202/0.01399, allocations: 87.25 kB / 0.7087 GB, free: 15.55 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.01437, allocations: 47.88 kB / 0.7087 GB, free: 15.5 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005366/0.0149, allocations: 270.6 kB / 0.709 GB, free: 15.24 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.01512, allocations: 36.55 kB / 0.709 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.01545, allocations: 147.6 kB / 0.7091 GB, free: 15.06 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003301/0.01578, allocations: 83.72 kB / 0.7092 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.01583, allocations: 20 kB / 0.7092 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.828e-05/0.0159, allocations: 16 kB / 0.7092 GB, free: 14.95 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.01597, allocations: 35.84 kB / 0.7093 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.01615, allocations: 75.78 kB / 0.7094 GB, free: 14.84 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.01662, allocations: 203.3 kB / 0.7095 GB, free: 14.64 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.01663, allocations: 0 / 0.7095 GB, free: 14.64 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.354e-06/0.01663, allocations: 0 / 0.7095 GB, free: 14.64 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.01664, allocations: 0 / 0.7095 GB, free: 14.64 MB / 426.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.001614/0.01825, allocations: 0.493 MB / 0.71 GB, free: 14.1 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.0183, allocations: 8.031 kB / 0.71 GB, free: 14.09 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.0184, allocations: 28.73 kB / 0.7101 GB, free: 14.06 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.01887, allocations: 182.4 kB / 0.7102 GB, free: 13.86 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.01891, allocations: 16.61 kB / 0.7103 GB, free: 13.84 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.01897, allocations: 12.38 kB / 0.7103 GB, free: 13.83 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006929/0.01967, allocations: 190 kB / 0.7104 GB, free: 13.63 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/0.01971, allocations: 11.94 kB / 0.7105 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.01974, allocations: 4 kB / 0.7105 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.01975, allocations: 4 kB / 0.7105 GB, free: 13.61 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.02045, allocations: 146.2 kB / 0.7106 GB, free: 13.46 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.02198, allocations: 485.4 kB / 0.7111 GB, free: 12.95 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009345/0.02291, allocations: 172.2 kB / 0.7112 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.0233, allocations: 94.53 kB / 0.7113 GB, free: 12.67 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.02332, allocations: 7.938 kB / 0.7113 GB, free: 12.66 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006739/0.02399, allocations: 225.8 kB / 0.7115 GB, free: 12.41 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 3.387e-06/0.02399, allocations: 0 / 0.7115 GB, free: 12.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.002806/0.0268, allocations: 0.7142 MB / 0.7122 GB, free: 11.63 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.02698, allocations: 132.5 kB / 0.7124 GB, free: 11.47 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.02743, allocations: 215 kB / 0.7126 GB, free: 11.25 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.02749, allocations: 33.7 kB / 0.7126 GB, free: 11.21 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.02768, allocations: 132.5 kB / 0.7127 GB, free: 11.08 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.0278, allocations: 63.5 kB / 0.7128 GB, free: 11.02 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.02797, allocations: 57.69 kB / 0.7128 GB, free: 10.96 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002829/0.02825, allocations: 338.8 kB / 0.7132 GB, free: 10.62 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/0.02877, allocations: 144.9 kB / 0.7133 GB, free: 10.46 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/0.02937, allocations: 231.7 kB / 0.7135 GB, free: 10.19 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008906/0.03026, allocations: 278.2 kB / 0.7138 GB, free: 9.875 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.03027, allocations: 0 / 0.7138 GB, free: 9.875 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001533/0.0318, allocations: 398.6 kB / 0.7142 GB, free: 9.457 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.03191, allocations: 59.41 kB / 0.7142 GB, free: 9.387 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.03191, allocations: 0 / 0.7142 GB, free: 9.387 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.03195, allocations: 4 kB / 0.7142 GB, free: 9.383 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.0324, allocations: 55.84 kB / 0.7143 GB, free: 9.328 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.03242, allocations: 8.203 kB / 0.7143 GB, free: 9.32 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.03277, allocations: 19.98 kB / 0.7143 GB, free: 9.301 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.03282, allocations: 12 kB / 0.7143 GB, free: 9.289 MB / 426.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.0003638/0.03318, allocations: 175.7 kB / 0.7145 GB, free: 9.102 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.03325, allocations: 15.91 kB / 0.7145 GB, free: 9.086 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.03334, allocations: 21.97 kB / 0.7145 GB, free: 9.062 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.03335, allocations: 4 kB / 0.7145 GB, free: 9.059 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.03337, allocations: 7.922 kB / 0.7145 GB, free: 9.051 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.03338, allocations: 7.938 kB / 0.7146 GB, free: 9.043 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.03494, allocations: 0.5367 MB / 0.7151 GB, free: 8.457 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.03495, allocations: 4 kB / 0.7151 GB, free: 8.453 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.03532, allocations: 43.91 kB / 0.7151 GB, free: 8.41 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.03533, allocations: 3.938 kB / 0.7151 GB, free: 8.406 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.03536, allocations: 4 kB / 0.7151 GB, free: 8.402 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.03536, allocations: 0 / 0.7151 GB, free: 8.402 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03536, allocations: 0 / 0.7151 GB, free: 8.402 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.03683, allocations: 0.4968 MB / 0.7156 GB, free: 7.871 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.0369, allocations: 15.86 kB / 0.7156 GB, free: 7.855 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.03697, allocations: 12.03 kB / 0.7156 GB, free: 7.844 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.03731, allocations: 15.98 kB / 0.7157 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.03744, allocations: 19.97 kB / 0.7157 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.03747, allocations: 4 kB / 0.7157 GB, free: 7.805 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0003044/0.03778, allocations: 160.4 kB / 0.7158 GB, free: 7.648 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.03778, allocations: 0 / 0.7158 GB, free: 7.648 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0006014/0.03838, allocations: 67.94 kB / 0.7159 GB, free: 7.582 MB / 426.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.0002277/0.03861, allocations: 113.8 kB / 0.716 GB, free: 7.465 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.03969, allocations: 382.2 kB / 0.7164 GB, free: 7.051 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.0397, allocations: 0 / 0.7164 GB, free: 7.051 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004972/0.04019, allocations: 169.4 kB / 0.7165 GB, free: 6.867 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.04105, allocations: 75.97 kB / 0.7166 GB, free: 6.793 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.04307, allocations: 0.5701 MB / 0.7172 GB, free: 6.191 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.04329, allocations: 125.6 kB / 0.7173 GB, free: 6.047 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001639/0.04345, allocations: 21.95 kB / 0.7173 GB, free: 6.023 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.04356, allocations: 20.5 kB / 0.7173 GB, free: 6.004 MB / 426.8 MB Notification: Performance of SimCode: time 7.11e-07/0.04356, allocations: 0 / 0.7173 GB, free: 6.004 MB / 426.8 MB Notification: Performance of Templates: time 0.2837/0.3273, allocations: 3.348 MB / 0.7206 GB, free: 36.38 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.005894135916606]