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.00204/0.00204, 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.002293/0.002293, allocations: 211.7 kB / 22.25 MB, free: 3.582 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.794/1.794, allocations: 230.6 MB / 256 MB, free: 9.582 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.424/1.424, allocations: 316.7 MB / 0.6144 GB, free: 93.02 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: 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.003837/0.003837, allocations: 77.69 kB / 0.775 GB, free: 14.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1409, allocations: 73.99 MB / 0.8473 GB, free: 4.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone): time 0.003753/0.1447, allocations: 2.309 MB / 0.8495 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3715/0.5162, allocations: 6.525 MB / 0.8559 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.5164, allocations: 4.719 kB / 0.8559 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.5166, allocations: 21.56 kB / 0.8559 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.5169, allocations: 85.72 kB / 0.856 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.5172, allocations: 53.97 kB / 0.856 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.5175, allocations: 253.2 kB / 0.8563 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.5176, allocations: 38.73 kB / 0.8563 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.5178, allocations: 103.4 kB / 0.8564 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.518, allocations: 93.33 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.5181, allocations: 15.47 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.196e-05/0.5181, allocations: 17.97 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.5181, allocations: 39.59 kB / 0.8566 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.5182, allocations: 93.64 kB / 0.8567 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.5185, allocations: 199.1 kB / 0.8569 GB, free: 21.85 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5185, allocations: 0 / 0.8569 GB, free: 21.85 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5185, allocations: 1.594 kB / 0.8569 GB, free: 21.85 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.5185, allocations: 1.062 kB / 0.8569 GB, free: 21.85 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.0008443/0.5194, allocations: 494.3 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.5194, allocations: 10.03 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.5195, allocations: 24.53 kB / 0.8574 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.5197, allocations: 187.8 kB / 0.8575 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.5197, allocations: 12.09 kB / 0.8576 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.5198, allocations: 21.33 kB / 0.8576 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.5201, allocations: 188.1 kB / 0.8578 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5201, allocations: 5.938 kB / 0.8578 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.5202, allocations: 6.188 kB / 0.8578 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5202, allocations: 4.312 kB / 0.8578 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.5205, allocations: 144.6 kB / 0.8579 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.5212, allocations: 485.1 kB / 0.8584 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.5217, allocations: 174.8 kB / 0.8585 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.5219, allocations: 93.11 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.5219, allocations: 1.875 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/0.5222, allocations: 230.2 kB / 0.8589 GB, free: 20.62 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.5222, allocations: 0 / 0.8589 GB, free: 20.62 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001358/0.5236, allocations: 0.706 MB / 0.8595 GB, free: 20.26 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.5236, allocations: 135.5 kB / 0.8597 GB, free: 20.11 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.5238, allocations: 216.9 kB / 0.8599 GB, free: 20 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.5238, allocations: 31.23 kB / 0.8599 GB, free: 19.97 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.5239, allocations: 131.8 kB / 0.86 GB, free: 19.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.524, allocations: 72.81 kB / 0.8601 GB, free: 19.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/0.524, allocations: 57.45 kB / 0.8602 GB, free: 19.81 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.5241, allocations: 341.1 kB / 0.8605 GB, free: 19.5 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.5243, allocations: 141.6 kB / 0.8606 GB, free: 19.42 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.5245, allocations: 223 kB / 0.8608 GB, free: 19.25 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.5249, allocations: 283.3 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5249, allocations: 1.938 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005596/0.5255, allocations: 384.8 kB / 0.8615 GB, free: 18.91 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.5255, allocations: 68.31 kB / 0.8615 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.5256, allocations: 8.844 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.5256, allocations: 4.469 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.5258, allocations: 48.42 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.5258, allocations: 8.156 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.526, allocations: 19.7 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.526, allocations: 11.31 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.0001685/0.5262, allocations: 178.3 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.5262, allocations: 21.55 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.297e-05/0.5262, allocations: 26.02 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5262, allocations: 4.438 kB / 0.8619 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.5262, allocations: 0.7969 kB / 0.8619 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.5263, allocations: 5.047 kB / 0.8619 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006872/0.5269, allocations: 0.5373 MB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5269, allocations: 0 / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.5271, allocations: 42.14 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5271, allocations: 4.594 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.5271, allocations: 6.875 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5271, allocations: 3.938 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5271, allocations: 4.5 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006773/0.5278, allocations: 498.8 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.5279, allocations: 25.02 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.5279, allocations: 4.297 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.5281, allocations: 19.03 kB / 0.863 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.5281, allocations: 21.67 kB / 0.863 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.5282, allocations: 10.28 kB / 0.863 GB, free: 18.09 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001212/0.5283, allocations: 160.2 kB / 0.8631 GB, free: 18.01 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5283, allocations: 2.094 kB / 0.8631 GB, free: 18.01 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002974/0.5286, allocations: 53.69 kB / 0.8632 GB, free: 18.01 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.0001229/0.5287, allocations: 111.8 kB / 0.8633 GB, free: 17.92 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005759/0.5293, allocations: 383.7 kB / 0.8637 GB, free: 17.69 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5293, allocations: 0 / 0.8637 GB, free: 17.69 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.5295, allocations: 173.4 kB / 0.8638 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.53, allocations: 64 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.001546/0.5316, allocations: 0.6814 MB / 0.8646 GB, free: 17.28 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.5317, allocations: 127.3 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.5318, allocations: 26.25 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.5319, allocations: 20.7 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of SimCode: time 5.51e-07/0.5319, allocations: 3.938 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of Templates: time 0.01005/0.542, allocations: 3.648 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.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.777073116973042]