Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.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.002154/0.002154, 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.002453/0.002453, allocations: 169.9 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.601/1.601, 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.247/1.247, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.191e-05, allocations: 5.094 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem): time 0.009923/0.009945, allocations: 2.721 MB / 0.7026 GB, free: 5.793 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.02021, allocations: 6.604 MB / 0.709 GB, free: 15.18 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.02042, allocations: 4 kB / 0.709 GB, free: 15.18 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.0206, allocations: 39.56 kB / 0.7091 GB, free: 15.14 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.02102, allocations: 138.8 kB / 0.7092 GB, free: 15 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.02134, allocations: 71.84 kB / 0.7093 GB, free: 14.93 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006068/0.02195, allocations: 389.9 kB / 0.7096 GB, free: 14.55 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.02214, allocations: 52.89 kB / 0.7097 GB, free: 14.5 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003846/0.02253, allocations: 207.5 kB / 0.7099 GB, free: 14.3 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.02286, allocations: 115.6 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.278e-05/0.02292, allocations: 24 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.432e-05/0.023, allocations: 27.94 kB / 0.7101 GB, free: 14.13 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 9.456e-05/0.02309, allocations: 63.69 kB / 0.7101 GB, free: 14.07 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.02331, allocations: 115.8 kB / 0.7102 GB, free: 13.96 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.02383, allocations: 299 kB / 0.7105 GB, free: 13.66 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.02383, allocations: 0 / 0.7105 GB, free: 13.66 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.733e-06/0.02384, allocations: 0 / 0.7105 GB, free: 13.66 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.02384, allocations: 0 / 0.7105 GB, free: 13.66 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001471/0.02531, allocations: 0.5924 MB / 0.7111 GB, free: 13.02 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.02536, allocations: 16.03 kB / 0.7111 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.02547, allocations: 32.75 kB / 0.7111 GB, free: 12.97 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.0259, allocations: 208.8 kB / 0.7113 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.02593, allocations: 12.75 kB / 0.7113 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/0.026, allocations: 24.38 kB / 0.7114 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.02672, allocations: 288.7 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.02674, allocations: 3.953 kB / 0.7116 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.02677, allocations: 8 kB / 0.7117 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.02678, allocations: 4 kB / 0.7117 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/0.02749, allocations: 240.4 kB / 0.7119 GB, free: 12.14 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.02913, allocations: 0.6794 MB / 0.7126 GB, free: 11.42 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007594/0.02989, allocations: 235.5 kB / 0.7128 GB, free: 11.17 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/0.03026, allocations: 156.4 kB / 0.7129 GB, free: 11 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.03028, allocations: 0 / 0.7129 GB, free: 11 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006784/0.03096, allocations: 361.5 kB / 0.7133 GB, free: 10.6 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.03096, allocations: 4 kB / 0.7133 GB, free: 10.59 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002795/0.03375, allocations: 1.075 MB / 0.7143 GB, free: 9.43 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002139/0.03397, allocations: 221.6 kB / 0.7145 GB, free: 9.164 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.03437, allocations: 249.8 kB / 0.7148 GB, free: 8.914 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.03443, allocations: 33.7 kB / 0.7148 GB, free: 8.875 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.03459, allocations: 152.9 kB / 0.715 GB, free: 8.719 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.03474, allocations: 115.1 kB / 0.7151 GB, free: 8.605 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.0349, allocations: 74.19 kB / 0.7151 GB, free: 8.523 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.03514, allocations: 342.7 kB / 0.7155 GB, free: 8.18 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.03561, allocations: 211.9 kB / 0.7157 GB, free: 7.953 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.03621, allocations: 319.1 kB / 0.716 GB, free: 7.582 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/0.0371, allocations: 431.1 kB / 0.7164 GB, free: 7.094 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.0371, allocations: 4 kB / 0.7164 GB, free: 7.09 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001225/0.03833, allocations: 0.5499 MB / 0.7169 GB, free: 6.496 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/0.03841, allocations: 89.11 kB / 0.717 GB, free: 6.391 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.03842, allocations: 4 kB / 0.717 GB, free: 6.387 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.03844, allocations: 4 kB / 0.717 GB, free: 6.383 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.03876, allocations: 79.83 kB / 0.7171 GB, free: 6.305 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.03878, allocations: 11.98 kB / 0.7171 GB, free: 6.293 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.03902, allocations: 23.92 kB / 0.7171 GB, free: 6.27 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.03905, allocations: 16 kB / 0.7171 GB, free: 6.254 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0002718/0.03932, allocations: 236 kB / 0.7174 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.03937, allocations: 31.81 kB / 0.7174 GB, free: 5.969 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.03944, allocations: 30.95 kB / 0.7174 GB, free: 5.938 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.03945, allocations: 4 kB / 0.7174 GB, free: 5.934 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.03945, allocations: 0 / 0.7174 GB, free: 5.934 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.03946, allocations: 3.984 kB / 0.7174 GB, free: 5.93 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.04069, allocations: 0.7717 MB / 0.7182 GB, free: 5.098 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.04069, allocations: 0 / 0.7182 GB, free: 5.098 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.04099, allocations: 51.97 kB / 0.7182 GB, free: 5.047 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.04099, allocations: 0 / 0.7182 GB, free: 5.047 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.04102, allocations: 11.98 kB / 0.7182 GB, free: 5.035 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.04102, allocations: 4 kB / 0.7182 GB, free: 5.031 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.04103, allocations: 7.875 kB / 0.7183 GB, free: 5.023 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.04216, allocations: 0.7192 MB / 0.719 GB, free: 4.246 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.04221, allocations: 27.8 kB / 0.719 GB, free: 4.219 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.04227, allocations: 12.06 kB / 0.719 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.04247, allocations: 15.98 kB / 0.719 GB, free: 4.191 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.04257, allocations: 31.89 kB / 0.719 GB, free: 4.16 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.04259, allocations: 11.98 kB / 0.7191 GB, free: 4.148 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001979/0.04279, allocations: 177.2 kB / 0.7192 GB, free: 3.977 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.04279, allocations: 0 / 0.7192 GB, free: 3.977 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003715/0.04316, allocations: 92 kB / 0.7193 GB, free: 3.887 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001768/0.04334, allocations: 126.9 kB / 0.7194 GB, free: 3.758 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008604/0.0442, allocations: 0.5648 MB / 0.72 GB, free: 3.125 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0442, allocations: 0 / 0.72 GB, free: 3.125 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2205/0.2647, allocations: 295.4 kB / 0.7203 GB, free: 37.11 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008801/0.2656, allocations: 86.3 kB / 0.7203 GB, free: 37.11 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.2673, allocations: 0.7979 MB / 0.7211 GB, free: 36.71 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.2675, allocations: 154.9 kB / 0.7213 GB, free: 36.63 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.2677, allocations: 38.3 kB / 0.7213 GB, free: 36.62 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.2678, allocations: 32.52 kB / 0.7213 GB, free: 36.61 MB / 426.8 MB Notification: Performance of SimCode: time 9.31e-07/0.2678, allocations: 1.219 kB / 0.7213 GB, free: 36.61 MB / 426.8 MB Notification: Performance of Templates: time 0.01542/0.2832, allocations: 4.543 MB / 0.7258 GB, free: 36.21 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.136621748097241]