Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin.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.0009356/0.0009356, allocations: 100.4 kB / 19.7 MB, free: 440 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.0009051/0.0009051, allocations: 219.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 0.96/0.96, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.8519/0.8519, allocations: 312.3 MB / 0.6108 GB, free: 97.6 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.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin") [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.001676/0.001676, allocations: 78.81 kB / 0.7699 GB, free: 20.2 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1613, allocations: 74 MB / 0.8421 GB, free: 10.35 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin): time 0.003456/0.1647, allocations: 2.309 MB / 0.8444 GB, free: 8.043 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007919/0.1726, allocations: 6.532 MB / 0.8508 GB, free: 1.508 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.173, allocations: 0.625 kB / 0.8508 GB, free: 1.508 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.1732, allocations: 28.33 kB / 0.8508 GB, free: 1.48 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.1735, allocations: 83.86 kB / 0.8509 GB, free: 1.398 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.1739, allocations: 48.66 kB / 0.8509 GB, free: 1.352 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.1742, allocations: 255.4 kB / 0.8512 GB, free: 1.102 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.1744, allocations: 44.56 kB / 0.8512 GB, free: 1.059 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1746, allocations: 92.23 kB / 0.8513 GB, free: 0.9688 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.1749, allocations: 100.1 kB / 0.8514 GB, free: 0.8711 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.1749, allocations: 16.59 kB / 0.8514 GB, free: 0.8555 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.222e-05/0.1749, allocations: 20 kB / 0.8514 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.175, allocations: 36.47 kB / 0.8515 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.1751, allocations: 95.52 kB / 0.8516 GB, free: 0.707 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1754, allocations: 199.8 kB / 0.8517 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1754, allocations: 0.5 kB / 0.8517 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1754, allocations: 0 / 0.8517 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1754, allocations: 4.719 kB / 0.8518 GB, free: 0.5078 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.001107/0.1765, allocations: 495.5 kB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.304e-05/0.1766, allocations: 8.656 kB / 0.8522 GB, free: 15.97 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.1766, allocations: 25.39 kB / 0.8523 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.177, allocations: 183 kB / 0.8524 GB, free: 15.74 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.177, allocations: 15.73 kB / 0.8524 GB, free: 15.73 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.177, allocations: 16.61 kB / 0.8525 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.1774, allocations: 187.1 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.1774, allocations: 3.938 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1774, allocations: 8.562 kB / 0.8527 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.1774, allocations: 4.531 kB / 0.8527 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.1777, allocations: 143 kB / 0.8528 GB, free: 15.35 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/0.1785, allocations: 490.6 kB / 0.8533 GB, free: 14.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.1789, allocations: 181.3 kB / 0.8534 GB, free: 14.65 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.179, allocations: 95.11 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.179, allocations: 4.688 kB / 0.8535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/0.1793, allocations: 217.2 kB / 0.8537 GB, free: 14.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.1793, allocations: 0.7188 kB / 0.8537 GB, free: 14.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001362/0.1807, allocations: 0.7069 MB / 0.8544 GB, free: 13.54 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.1808, allocations: 136.5 kB / 0.8546 GB, free: 13.37 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.181, allocations: 219.4 kB / 0.8548 GB, free: 13.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.181, allocations: 29.7 kB / 0.8548 GB, free: 13.11 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1811, allocations: 141 kB / 0.8549 GB, free: 12.97 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.1812, allocations: 67.98 kB / 0.855 GB, free: 12.91 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/0.1813, allocations: 57.69 kB / 0.8551 GB, free: 12.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1814, allocations: 331.5 kB / 0.8554 GB, free: 12.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.1816, allocations: 149.4 kB / 0.8555 GB, free: 12.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.1818, allocations: 222.6 kB / 0.8557 GB, free: 12.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3857/0.5675, allocations: 280.9 kB / 0.856 GB, free: 30.34 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.5675, allocations: 1.938 kB / 0.856 GB, free: 30.34 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000532/0.5681, allocations: 401.2 kB / 0.8564 GB, free: 30.18 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.5681, allocations: 61.3 kB / 0.8564 GB, free: 30.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.5681, allocations: 3.156 kB / 0.8564 GB, free: 30.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.5681, allocations: 3.906 kB / 0.8564 GB, free: 30.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.5683, allocations: 51.8 kB / 0.8565 GB, free: 30.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.5683, allocations: 10.09 kB / 0.8565 GB, free: 30.12 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.5685, allocations: 15.86 kB / 0.8565 GB, free: 30.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.5685, allocations: 14.66 kB / 0.8565 GB, free: 30.12 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.0002379/0.5687, allocations: 173.9 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.5688, allocations: 21.17 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.5688, allocations: 22.95 kB / 0.8567 GB, free: 29.97 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5688, allocations: 1.781 kB / 0.8567 GB, free: 29.97 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5688, allocations: 0 / 0.8567 GB, free: 29.97 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.5688, allocations: 3.656 kB / 0.8567 GB, free: 29.97 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006836/0.5695, allocations: 0.5355 MB / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5695, allocations: 4.281 kB / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.5697, allocations: 33.97 kB / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.5697, allocations: 3.312 kB / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.5697, allocations: 10.39 kB / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.5697, allocations: 3.938 kB / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5697, allocations: 1.359 kB / 0.8573 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.5702, allocations: 499.9 kB / 0.8578 GB, free: 29.44 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.5702, allocations: 22.09 kB / 0.8578 GB, free: 29.44 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.5703, allocations: 13.34 kB / 0.8578 GB, free: 29.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.5704, allocations: 13.61 kB / 0.8578 GB, free: 29.44 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.5705, allocations: 19.81 kB / 0.8579 GB, free: 29.44 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.5705, allocations: 11.64 kB / 0.8579 GB, free: 29.44 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001103/0.5706, allocations: 151.7 kB / 0.858 GB, free: 29.37 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5706, allocations: 3.828 kB / 0.858 GB, free: 29.37 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002296/0.5708, allocations: 56.31 kB / 0.8581 GB, free: 29.37 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.0001215/0.5709, allocations: 116.1 kB / 0.8582 GB, free: 29.28 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.5714, allocations: 379.6 kB / 0.8585 GB, free: 29.06 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5714, allocations: 1.938 kB / 0.8585 GB, free: 29.06 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.5715, allocations: 170 kB / 0.8587 GB, free: 28.96 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.5719, allocations: 71.84 kB / 0.8588 GB, free: 28.96 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.5729, allocations: 0.7018 MB / 0.8595 GB, free: 28.65 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.788e-05/0.573, allocations: 126.6 kB / 0.8596 GB, free: 28.57 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.5731, allocations: 23.3 kB / 0.8596 GB, free: 28.56 MB / 490.8 MB Notification: Performance of SimCode: time 9.52e-07/0.5731, allocations: 1.781 kB / 0.8596 GB, free: 28.56 MB / 490.8 MB Notification: Performance of Templates: time 0.005798/0.5789, allocations: 2.946 MB / 0.8625 GB, free: 28.36 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XB01_Colistin.Colistin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.6063433568924665]