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.001317/0.001317, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.001477/0.001477, allocations: 215.5 kB / 23 MB, free: 2.961 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.139/1.139, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] 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 0.8175/0.8175, allocations: 312.3 MB / 0.6108 GB, free: 97.04 MB / 410.7 MB " [Timeout remaining time 179] 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.001625/0.001625, allocations: 77.53 kB / 0.7699 GB, free: 19.58 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1411, allocations: 73.98 MB / 0.8421 GB, free: 9.727 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone): time 0.002758/0.1439, allocations: 2.298 MB / 0.8444 GB, free: 7.43 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005929/0.1498, allocations: 6.536 MB / 0.8508 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1499, allocations: 0.9375 kB / 0.8508 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1501, allocations: 27.72 kB / 0.8508 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.1503, allocations: 80.69 kB / 0.8509 GB, free: 0.7852 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.1505, allocations: 52.38 kB / 0.8509 GB, free: 0.7344 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.1508, allocations: 258.7 kB / 0.8512 GB, free: 492 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.151, allocations: 37.16 kB / 0.8512 GB, free: 456 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1511, allocations: 96.28 kB / 0.8513 GB, free: 360 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.1513, allocations: 100.2 kB / 0.8514 GB, free: 260 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.1513, allocations: 16 kB / 0.8514 GB, free: 244 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.652e-05/0.1514, allocations: 16.56 kB / 0.8514 GB, free: 228 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.1514, allocations: 39.84 kB / 0.8515 GB, free: 188 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.108e-05/0.1515, allocations: 96.2 kB / 0.8516 GB, free: 92 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1517, allocations: 199.2 kB / 0.8517 GB, free: 15.89 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.1517, allocations: 0.5938 kB / 0.8518 GB, free: 15.89 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1518, allocations: 0.7188 kB / 0.8518 GB, free: 15.89 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1518, allocations: 0 / 0.8518 GB, free: 15.89 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.0007904/0.1526, allocations: 0.4929 MB / 0.8522 GB, free: 15.36 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1526, allocations: 12.03 kB / 0.8522 GB, free: 15.35 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.1526, allocations: 21.42 kB / 0.8523 GB, free: 15.33 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1529, allocations: 183.1 kB / 0.8524 GB, free: 15.12 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1529, allocations: 13.23 kB / 0.8525 GB, free: 15.11 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.1529, allocations: 20.48 kB / 0.8525 GB, free: 15.09 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.1532, allocations: 190.9 kB / 0.8527 GB, free: 14.89 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1532, allocations: 0.5938 kB / 0.8527 GB, free: 14.89 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1533, allocations: 4 kB / 0.8527 GB, free: 14.88 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1533, allocations: 8.562 kB / 0.8527 GB, free: 14.88 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.1535, allocations: 143 kB / 0.8528 GB, free: 14.73 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.1541, allocations: 486.7 kB / 0.8533 GB, free: 14.22 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.1545, allocations: 181.3 kB / 0.8534 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1546, allocations: 95.08 kB / 0.8535 GB, free: 13.93 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.1546, allocations: 0.5938 kB / 0.8535 GB, free: 13.93 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.1549, allocations: 229.6 kB / 0.8537 GB, free: 13.68 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.522e-06/0.1549, allocations: 0 / 0.8537 GB, free: 13.68 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001056/0.1559, allocations: 0.6962 MB / 0.8544 GB, free: 12.92 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.156, allocations: 141.1 kB / 0.8546 GB, free: 12.75 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1562, allocations: 218.9 kB / 0.8548 GB, free: 12.53 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1562, allocations: 34.2 kB / 0.8548 GB, free: 12.49 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.1563, allocations: 129.2 kB / 0.8549 GB, free: 12.36 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.1563, allocations: 75.47 kB / 0.855 GB, free: 12.29 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.1564, allocations: 54.19 kB / 0.8551 GB, free: 12.23 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1565, allocations: 342.7 kB / 0.8554 GB, free: 11.89 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.331/0.4875, allocations: 141.6 kB / 0.8555 GB, free: 30.23 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.4877, allocations: 221.7 kB / 0.8557 GB, free: 30.06 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.4879, allocations: 286.9 kB / 0.856 GB, free: 29.91 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4879, allocations: 0 / 0.856 GB, free: 29.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004556/0.4884, allocations: 388.6 kB / 0.8564 GB, free: 29.75 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.4884, allocations: 64.98 kB / 0.8564 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4885, allocations: 5.156 kB / 0.8564 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.4885, allocations: 8.859 kB / 0.8564 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.4886, allocations: 49.97 kB / 0.8565 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4886, allocations: 3.984 kB / 0.8565 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.4888, allocations: 18.81 kB / 0.8565 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.4888, allocations: 15.3 kB / 0.8565 GB, free: 29.68 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.0001939/0.489, allocations: 179.2 kB / 0.8567 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.489, allocations: 22.02 kB / 0.8567 GB, free: 29.53 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.489, allocations: 24.38 kB / 0.8567 GB, free: 29.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.489, allocations: 6.812 kB / 0.8568 GB, free: 29.52 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4891, allocations: 0 / 0.8568 GB, free: 29.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4891, allocations: 1.031 kB / 0.8568 GB, free: 29.52 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.4896, allocations: 0.5381 MB / 0.8573 GB, free: 29.22 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4896, allocations: 2.312 kB / 0.8573 GB, free: 29.22 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.4897, allocations: 38.11 kB / 0.8573 GB, free: 29.22 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.4897, allocations: 0 / 0.8573 GB, free: 29.22 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4898, allocations: 4.062 kB / 0.8573 GB, free: 29.22 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4898, allocations: 6.219 kB / 0.8573 GB, free: 29.21 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4898, allocations: 0 / 0.8573 GB, free: 29.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.4902, allocations: 498.5 kB / 0.8578 GB, free: 28.99 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.47e-05/0.4903, allocations: 25.02 kB / 0.8578 GB, free: 28.99 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.4903, allocations: 9.219 kB / 0.8578 GB, free: 28.99 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.4904, allocations: 16.34 kB / 0.8578 GB, free: 28.99 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.4905, allocations: 20.58 kB / 0.8579 GB, free: 28.99 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.4905, allocations: 6.906 kB / 0.8579 GB, free: 28.99 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.477e-05/0.4906, allocations: 156.4 kB / 0.858 GB, free: 28.91 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4906, allocations: 0.6875 kB / 0.858 GB, free: 28.91 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002043/0.4908, allocations: 61.44 kB / 0.8581 GB, free: 28.91 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.0001057/0.4909, allocations: 121.2 kB / 0.8582 GB, free: 28.82 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.4912, allocations: 379.5 kB / 0.8586 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.4912, allocations: 3.656 kB / 0.8586 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.4914, allocations: 170.2 kB / 0.8587 GB, free: 28.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.4917, allocations: 65.78 kB / 0.8588 GB, free: 28.49 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009173/0.4926, allocations: 0.7074 MB / 0.8595 GB, free: 28.18 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.624e-05/0.4927, allocations: 125.1 kB / 0.8596 GB, free: 28.11 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.4927, allocations: 27.55 kB / 0.8596 GB, free: 28.1 MB / 490.8 MB Notification: Performance of SimCode: time 7.01e-07/0.4927, allocations: 0.5 kB / 0.8596 GB, free: 28.1 MB / 490.8 MB Notification: Performance of Templates: time 0.004879/0.4976, allocations: 2.942 MB / 0.8625 GB, free: 27.89 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 > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01D_CytotoxicAntibioticsAndRelatedSubstances.L01DB07_Mitoxantrone.Mitoxantrone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.768306356854737]