Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.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.001807/0.001807, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002023/0.002023, allocations: 215.6 kB / 22.25 MB, free: 3.574 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.848/1.848, allocations: 230.6 MB / 256 MB, free: 9.594 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.389/1.389, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid") [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.003839/0.003839, allocations: 73.97 kB / 0.775 GB, free: 14.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1684, allocations: 73.99 MB / 0.8473 GB, free: 4.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid): time 0.004275/0.1727, allocations: 2.342 MB / 0.8496 GB, free: 2.492 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1739, allocations: 0.5871 MB / 0.8501 GB, free: 1.91 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.174, allocations: 8.375 kB / 0.8501 GB, free: 1.902 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.1741, allocations: 28.41 kB / 0.8502 GB, free: 1.875 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.1744, allocations: 75.92 kB / 0.8502 GB, free: 1.801 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.1746, allocations: 48.52 kB / 0.8503 GB, free: 1.754 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.1749, allocations: 259.3 kB / 0.8505 GB, free: 1.5 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1751, allocations: 37.17 kB / 0.8506 GB, free: 1.465 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1752, allocations: 99.64 kB / 0.8507 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.1755, allocations: 88.14 kB / 0.8507 GB, free: 1.281 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.1755, allocations: 24.47 kB / 0.8508 GB, free: 1.258 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.1756, allocations: 16.69 kB / 0.8508 GB, free: 1.242 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.1756, allocations: 39.83 kB / 0.8508 GB, free: 1.203 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1757, allocations: 92.28 kB / 0.8509 GB, free: 1.113 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.176, allocations: 195.2 kB / 0.8511 GB, free: 0.9219 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1761, allocations: 4.734 kB / 0.8511 GB, free: 0.918 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1761, allocations: 0 / 0.8511 GB, free: 0.918 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1761, allocations: 4.562 kB / 0.8511 GB, free: 0.9141 MB / 474.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.00101/0.1771, allocations: 498.4 kB / 0.8516 GB, free: 392 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1771, allocations: 11.89 kB / 0.8516 GB, free: 380 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1772, allocations: 26.14 kB / 0.8516 GB, free: 356 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1775, allocations: 183.1 kB / 0.8518 GB, free: 144 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1775, allocations: 12.61 kB / 0.8518 GB, free: 132 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.1775, allocations: 24.97 kB / 0.8518 GB, free: 108 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.178, allocations: 185.7 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.178, allocations: 5.906 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.178, allocations: 4 kB / 0.852 GB, free: 15.9 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.178, allocations: 4 kB / 0.852 GB, free: 15.9 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.1784, allocations: 150.2 kB / 0.8522 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/0.1793, allocations: 492.4 kB / 0.8526 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.1798, allocations: 170.7 kB / 0.8528 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.18, allocations: 100.5 kB / 0.8529 GB, free: 14.95 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.18, allocations: 0 / 0.8529 GB, free: 14.95 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004149/0.1805, allocations: 232.4 kB / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.1805, allocations: 0 / 0.8531 GB, free: 14.69 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00164/0.1821, allocations: 0.6989 MB / 0.8538 GB, free: 13.93 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.1822, allocations: 137.1 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.1825, allocations: 219.6 kB / 0.8541 GB, free: 13.55 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.1825, allocations: 33.7 kB / 0.8542 GB, free: 13.51 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1826, allocations: 133 kB / 0.8543 GB, free: 13.38 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.1827, allocations: 63.44 kB / 0.8543 GB, free: 13.31 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1828, allocations: 66.17 kB / 0.8544 GB, free: 13.24 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.183, allocations: 335.3 kB / 0.8547 GB, free: 12.91 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.1833, allocations: 141.6 kB / 0.8549 GB, free: 12.75 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.1836, allocations: 222 kB / 0.8551 GB, free: 12.49 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3242/0.5078, allocations: 281.9 kB / 0.8553 GB, free: 28.2 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5078, allocations: 0 / 0.8553 GB, free: 28.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006378/0.5085, allocations: 394.7 kB / 0.8557 GB, free: 28.04 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.5085, allocations: 65.78 kB / 0.8558 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5085, allocations: 2.281 kB / 0.8558 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.5086, allocations: 2.156 kB / 0.8558 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.5088, allocations: 50.88 kB / 0.8558 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5088, allocations: 7.516 kB / 0.8558 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.509, allocations: 18.7 kB / 0.8559 GB, free: 27.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.509, allocations: 9.438 kB / 0.8559 GB, free: 27.98 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.0001667/0.5092, allocations: 175.1 kB / 0.856 GB, free: 27.84 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.5092, allocations: 29.17 kB / 0.8561 GB, free: 27.84 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.5092, allocations: 22.39 kB / 0.8561 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.5092, allocations: 4.188 kB / 0.8561 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5093, allocations: 0.625 kB / 0.8561 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5093, allocations: 4.297 kB / 0.8561 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006833/0.5099, allocations: 0.5321 MB / 0.8566 GB, free: 27.53 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5099, allocations: 3 kB / 0.8566 GB, free: 27.53 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.5101, allocations: 35.42 kB / 0.8567 GB, free: 27.53 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.5101, allocations: 3 kB / 0.8567 GB, free: 27.53 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.5101, allocations: 8.484 kB / 0.8567 GB, free: 27.53 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5101, allocations: 3.766 kB / 0.8567 GB, free: 27.53 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5101, allocations: 0.8438 kB / 0.8567 GB, free: 27.53 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.5108, allocations: 0.4933 MB / 0.8572 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.5108, allocations: 23.05 kB / 0.8572 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.5108, allocations: 10.06 kB / 0.8572 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.511, allocations: 12.09 kB / 0.8572 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.5111, allocations: 24.83 kB / 0.8572 GB, free: 27.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.5111, allocations: 12.75 kB / 0.8572 GB, free: 27.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001229/0.5112, allocations: 155.5 kB / 0.8574 GB, free: 27.23 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5112, allocations: 0 / 0.8574 GB, free: 27.23 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003033/0.5115, allocations: 57.09 kB / 0.8574 GB, free: 27.22 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 9.959e-05/0.5116, allocations: 119.8 kB / 0.8575 GB, free: 27.14 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004823/0.5121, allocations: 375.2 kB / 0.8579 GB, free: 26.92 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5121, allocations: 0.6562 kB / 0.8579 GB, free: 26.92 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.5123, allocations: 173.5 kB / 0.8581 GB, free: 26.82 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.5128, allocations: 69.09 kB / 0.8581 GB, free: 26.82 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.5138, allocations: 0.6688 MB / 0.8588 GB, free: 26.55 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.316e-05/0.5139, allocations: 127.4 kB / 0.8589 GB, free: 26.47 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.559e-05/0.514, allocations: 23.84 kB / 0.8589 GB, free: 26.46 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.5141, allocations: 30.41 kB / 0.859 GB, free: 26.45 MB / 490.8 MB Notification: Performance of SimCode: time 4.3e-07/0.5141, allocations: 0 / 0.859 GB, free: 26.45 MB / 490.8 MB Notification: Performance of Templates: time 0.007546/0.5216, allocations: 3.629 MB / 0.8625 GB, free: 26.16 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.489794480148703]