Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.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.001834/0.001834, allocations: 84.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.002274/0.002274, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.694/1.694, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.47/1.47, allocations: 293 MB / 0.5392 GB, free: 49.76 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.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6999 GB, free: 8.625 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.543e-05/3.707e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.621 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference): time 0.003264/0.003301, allocations: 2.303 MB / 0.7021 GB, free: 6.301 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006922/0.01022, allocations: 6.526 MB / 0.7085 GB, free: 15.77 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.01046, allocations: 3.938 kB / 0.7085 GB, free: 15.76 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.01065, allocations: 23.78 kB / 0.7085 GB, free: 15.74 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.011, allocations: 91.2 kB / 0.7086 GB, free: 15.65 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.0113, allocations: 55.86 kB / 0.7087 GB, free: 15.59 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.01171, allocations: 266.6 kB / 0.7089 GB, free: 15.33 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.0119, allocations: 32.56 kB / 0.709 GB, free: 15.3 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.01215, allocations: 147.6 kB / 0.7091 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.01241, allocations: 79.78 kB / 0.7092 GB, free: 15.08 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.01245, allocations: 16 kB / 0.7092 GB, free: 15.07 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.243e-05/0.0125, allocations: 16 kB / 0.7092 GB, free: 15.05 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.01256, allocations: 47.78 kB / 0.7093 GB, free: 15 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.01269, allocations: 71.83 kB / 0.7093 GB, free: 14.93 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.01306, allocations: 207.3 kB / 0.7095 GB, free: 14.73 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.01307, allocations: 0 / 0.7095 GB, free: 14.73 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01307, allocations: 0 / 0.7095 GB, free: 14.73 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.01307, allocations: 7.875 kB / 0.7095 GB, free: 14.72 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.00108/0.01415, allocations: 492.8 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.0142, allocations: 8.031 kB / 0.71 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.01428, allocations: 28.8 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.0146, allocations: 182.4 kB / 0.7102 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.01463, allocations: 12.61 kB / 0.7102 GB, free: 13.94 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.01468, allocations: 12.38 kB / 0.7102 GB, free: 13.93 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.01511, allocations: 194.5 kB / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.01514, allocations: 7.953 kB / 0.7104 GB, free: 13.72 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.01516, allocations: 4 kB / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.01517, allocations: 4 kB / 0.7104 GB, free: 13.71 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.01556, allocations: 150.2 kB / 0.7106 GB, free: 13.56 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009714/0.01654, allocations: 489.4 kB / 0.7111 GB, free: 13.05 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.01711, allocations: 172 kB / 0.7112 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.01732, allocations: 94.52 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.01733, allocations: 4 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004408/0.01777, allocations: 232.4 kB / 0.7115 GB, free: 12.5 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.01777, allocations: 0 / 0.7115 GB, free: 12.5 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001793/0.01957, allocations: 0.6985 MB / 0.7122 GB, free: 11.74 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.01969, allocations: 132.5 kB / 0.7123 GB, free: 11.58 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.01996, allocations: 223 kB / 0.7126 GB, free: 11.35 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.02, allocations: 37.69 kB / 0.7126 GB, free: 11.31 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.02012, allocations: 128.5 kB / 0.7127 GB, free: 11.18 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/0.0202, allocations: 67.47 kB / 0.7128 GB, free: 11.11 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.0203, allocations: 57.64 kB / 0.7128 GB, free: 11.05 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.02052, allocations: 338.8 kB / 0.7132 GB, free: 10.71 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.0208, allocations: 144.9 kB / 0.7133 GB, free: 10.55 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.02125, allocations: 221.3 kB / 0.7135 GB, free: 10.29 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.02176, allocations: 287.1 kB / 0.7138 GB, free: 9.969 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.02176, allocations: 0 / 0.7138 GB, free: 9.969 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007086/0.02247, allocations: 395.9 kB / 0.7142 GB, free: 9.551 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.02254, allocations: 67.39 kB / 0.7142 GB, free: 9.473 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.02255, allocations: 0 / 0.7142 GB, free: 9.473 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.02258, allocations: 4 kB / 0.7142 GB, free: 9.469 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.0228, allocations: 51.84 kB / 0.7143 GB, free: 9.418 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.02281, allocations: 4 kB / 0.7143 GB, free: 9.414 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.023, allocations: 16.2 kB / 0.7143 GB, free: 9.398 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.02303, allocations: 20 kB / 0.7143 GB, free: 9.379 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.0002631/0.02329, allocations: 179.4 kB / 0.7145 GB, free: 9.191 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.02333, allocations: 15.91 kB / 0.7145 GB, free: 9.176 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.61e-05/0.0234, allocations: 29.89 kB / 0.7145 GB, free: 9.145 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.02341, allocations: 4 kB / 0.7145 GB, free: 9.141 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.02342, allocations: 3.938 kB / 0.7145 GB, free: 9.137 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.02342, allocations: 0 / 0.7145 GB, free: 9.137 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009622/0.02438, allocations: 0.543 MB / 0.7151 GB, free: 8.547 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.02439, allocations: 4 kB / 0.7151 GB, free: 8.543 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.02459, allocations: 31.97 kB / 0.7151 GB, free: 8.512 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.02459, allocations: 0 / 0.7151 GB, free: 8.512 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.02461, allocations: 11.94 kB / 0.7151 GB, free: 8.5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.02461, allocations: 0 / 0.7151 GB, free: 8.5 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02462, allocations: 0 / 0.7151 GB, free: 8.5 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008956/0.02551, allocations: 0.4929 MB / 0.7156 GB, free: 7.973 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.02555, allocations: 19.89 kB / 0.7156 GB, free: 7.953 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.0256, allocations: 8 kB / 0.7156 GB, free: 7.945 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.02578, allocations: 19.92 kB / 0.7156 GB, free: 7.926 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/0.02587, allocations: 19.97 kB / 0.7157 GB, free: 7.906 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.02589, allocations: 7.984 kB / 0.7157 GB, free: 7.898 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000191/0.02608, allocations: 156.4 kB / 0.7158 GB, free: 7.746 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02608, allocations: 0 / 0.7158 GB, free: 7.746 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003172/0.0264, allocations: 60 kB / 0.7159 GB, free: 7.688 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.0001801/0.02658, allocations: 119.2 kB / 0.716 GB, free: 7.562 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.02727, allocations: 382.2 kB / 0.7163 GB, free: 7.148 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02727, allocations: 0 / 0.7163 GB, free: 7.148 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.02756, allocations: 171.8 kB / 0.7165 GB, free: 6.965 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.02805, allocations: 81.67 kB / 0.7166 GB, free: 6.887 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.02938, allocations: 0.5663 MB / 0.7171 GB, free: 6.289 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.02953, allocations: 125.6 kB / 0.7173 GB, free: 6.145 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.02963, allocations: 21.95 kB / 0.7173 GB, free: 6.121 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.02971, allocations: 28.48 kB / 0.7173 GB, free: 6.094 MB / 426.8 MB Notification: Performance of SimCode: time 4.91e-07/0.02971, allocations: 0 / 0.7173 GB, free: 6.094 MB / 426.8 MB Notification: Performance of Templates: time 0.2771/0.3068, allocations: 3.345 MB / 0.7206 GB, free: 36.98 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.326847179792821]