Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.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.001997/0.001997, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.001991/0.001991, allocations: 214.4 kB / 22.25 MB, free: 3.578 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.704/1.704, allocations: 230.6 MB / 256 MB, free: 9.605 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.527/1.527, allocations: 316.8 MB / 0.6144 GB, free: 93.01 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.J01CA17_Temocillin.Temocillin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin") [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.005384/0.005384, allocations: 77.5 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2357, allocations: 73.99 MB / 0.8473 GB, free: 4.879 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin): time 0.005419/0.2411, allocations: 2.311 MB / 0.8495 GB, free: 2.57 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3295/0.5706, allocations: 6.516 MB / 0.8559 GB, free: 22 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.5708, allocations: 0.9375 kB / 0.8559 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.5709, allocations: 28.58 kB / 0.8559 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.5712, allocations: 79.72 kB / 0.856 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.5714, allocations: 57.62 kB / 0.856 GB, free: 22 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.5716, allocations: 256.6 kB / 0.8563 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.5718, allocations: 39 kB / 0.8563 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.5719, allocations: 95.86 kB / 0.8564 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.5721, allocations: 102.3 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.5721, allocations: 19.09 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.894e-05/0.5721, allocations: 19.06 kB / 0.8566 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.468e-05/0.5722, allocations: 34.56 kB / 0.8566 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.5723, allocations: 93.48 kB / 0.8567 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.5725, allocations: 198.7 kB / 0.8569 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5725, allocations: 0 / 0.8569 GB, free: 21.87 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5725, allocations: 0 / 0.8569 GB, free: 21.87 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.5725, allocations: 0 / 0.8569 GB, free: 21.87 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.0007435/0.5732, allocations: 498.2 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.5733, allocations: 9.969 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.5733, allocations: 28.77 kB / 0.8574 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.5735, allocations: 186.2 kB / 0.8576 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.5736, allocations: 10.33 kB / 0.8576 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.5736, allocations: 22.8 kB / 0.8576 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.5739, allocations: 191 kB / 0.8578 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.574, allocations: 2.938 kB / 0.8578 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.574, allocations: 4.438 kB / 0.8578 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.574, allocations: 3.438 kB / 0.8578 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.5743, allocations: 147 kB / 0.8579 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006989/0.575, allocations: 484.4 kB / 0.8584 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.5755, allocations: 172.2 kB / 0.8585 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.5757, allocations: 93.94 kB / 0.8586 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.5757, allocations: 10.14 kB / 0.8586 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003107/0.576, allocations: 227.9 kB / 0.8589 GB, free: 20.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.576, allocations: 3.062 kB / 0.8589 GB, free: 20.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001402/0.5774, allocations: 0.698 MB / 0.8595 GB, free: 20.28 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.5774, allocations: 137 kB / 0.8597 GB, free: 20.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.5776, allocations: 215.8 kB / 0.8599 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.5776, allocations: 35.75 kB / 0.8599 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.5777, allocations: 130 kB / 0.86 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.5777, allocations: 72.56 kB / 0.8601 GB, free: 19.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.5778, allocations: 53.55 kB / 0.8602 GB, free: 19.83 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.5779, allocations: 344.5 kB / 0.8605 GB, free: 19.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.5781, allocations: 145.1 kB / 0.8606 GB, free: 19.44 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.5783, allocations: 220.4 kB / 0.8608 GB, free: 19.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.5787, allocations: 286.3 kB / 0.8611 GB, free: 19.1 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5787, allocations: 2.562 kB / 0.8611 GB, free: 19.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006448/0.5793, allocations: 383.5 kB / 0.8615 GB, free: 18.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.5794, allocations: 64.58 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5794, allocations: 7.875 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.5794, allocations: 5.938 kB / 0.8616 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.5796, allocations: 53.33 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5796, allocations: 4.719 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.5798, allocations: 20.5 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.5798, allocations: 9.812 kB / 0.8616 GB, free: 18.85 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.0001549/0.58, allocations: 180.2 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.58, allocations: 20.58 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/0.58, allocations: 26.06 kB / 0.8619 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.58, allocations: 3.938 kB / 0.8619 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5801, allocations: 4.5 kB / 0.8619 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5801, allocations: 1.406 kB / 0.8619 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006672/0.5807, allocations: 0.5424 MB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5807, allocations: 3.125 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.5809, allocations: 37.41 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.5809, allocations: 0 / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.5809, allocations: 8.875 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.5809, allocations: 4.656 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5809, allocations: 1.562 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006636/0.5816, allocations: 498.2 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.5816, allocations: 25.27 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.5817, allocations: 7.094 kB / 0.863 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.5818, allocations: 10.94 kB / 0.863 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.5819, allocations: 32.31 kB / 0.863 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.5819, allocations: 2.812 kB / 0.863 GB, free: 18.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001144/0.5821, allocations: 163.7 kB / 0.8632 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5821, allocations: 3.844 kB / 0.8632 GB, free: 18.02 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002959/0.5823, allocations: 52.25 kB / 0.8632 GB, free: 18.02 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.0001282/0.5825, allocations: 112 kB / 0.8633 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005454/0.583, allocations: 384.1 kB / 0.8637 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.583, allocations: 0 / 0.8637 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.5833, allocations: 177.3 kB / 0.8638 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.5838, allocations: 75.89 kB / 0.8639 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.585, allocations: 0.6781 MB / 0.8646 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.5852, allocations: 127 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.5853, allocations: 24.75 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.5853, allocations: 21.27 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of SimCode: time 8.71e-07/0.5853, allocations: 0 / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of Templates: time 0.008062/0.5934, allocations: 3.636 MB / 0.8683 GB, free: 16.88 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.822860982036218]