Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.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.001964/0.001964, 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.006823/0.006823, allocations: 218.4 kB / 22.25 MB, free: 3.57 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.722/1.722, 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.423/1.423, allocations: 316.7 MB / 0.6144 GB, free: 92.86 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.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=777600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=777600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin") [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.003783/0.003783, allocations: 81.22 kB / 0.775 GB, free: 14.65 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1842, allocations: 73.98 MB / 0.8472 GB, free: 4.816 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin): time 0.005632/0.1899, allocations: 2.311 MB / 0.8495 GB, free: 2.508 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3573/0.5472, allocations: 6.528 MB / 0.8559 GB, free: 22.14 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.5474, allocations: 0.8438 kB / 0.8559 GB, free: 22.14 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.5476, allocations: 24.89 kB / 0.8559 GB, free: 22.14 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.5478, allocations: 82.8 kB / 0.856 GB, free: 22.14 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.5481, allocations: 56.19 kB / 0.856 GB, free: 22.14 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.5484, allocations: 258.7 kB / 0.8563 GB, free: 22.1 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.5485, allocations: 34.92 kB / 0.8563 GB, free: 22.1 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.5487, allocations: 102 kB / 0.8564 GB, free: 22.09 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.5489, allocations: 93.19 kB / 0.8565 GB, free: 22.06 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.5489, allocations: 19 kB / 0.8565 GB, free: 22.06 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.249e-05/0.549, allocations: 15.69 kB / 0.8565 GB, free: 22.06 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.549, allocations: 37.41 kB / 0.8565 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.5491, allocations: 96.58 kB / 0.8566 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.5494, allocations: 197.5 kB / 0.8568 GB, free: 22 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5494, allocations: 0 / 0.8568 GB, free: 22 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5494, allocations: 1.938 kB / 0.8568 GB, free: 22 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.5494, allocations: 0 / 0.8568 GB, free: 22 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.0008223/0.5502, allocations: 0.4905 MB / 0.8573 GB, free: 21.6 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5503, allocations: 9.375 kB / 0.8573 GB, free: 21.6 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.5503, allocations: 26.42 kB / 0.8573 GB, free: 21.59 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.5506, allocations: 180.9 kB / 0.8575 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.5506, allocations: 8.953 kB / 0.8575 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.5506, allocations: 22.08 kB / 0.8575 GB, free: 21.42 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.551, allocations: 194.3 kB / 0.8577 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.551, allocations: 0.7812 kB / 0.8577 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.551, allocations: 6.25 kB / 0.8577 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.551, allocations: 3.656 kB / 0.8577 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.5514, allocations: 151.3 kB / 0.8579 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007851/0.5522, allocations: 480.7 kB / 0.8583 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.5526, allocations: 175.6 kB / 0.8585 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.5528, allocations: 92.12 kB / 0.8586 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.5528, allocations: 7.781 kB / 0.8586 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/0.5532, allocations: 226 kB / 0.8588 GB, free: 20.77 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.5532, allocations: 0 / 0.8588 GB, free: 20.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001419/0.5546, allocations: 0.7033 MB / 0.8595 GB, free: 20.41 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.5546, allocations: 137.9 kB / 0.8596 GB, free: 20.25 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.5548, allocations: 212.4 kB / 0.8598 GB, free: 20.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.5548, allocations: 32.86 kB / 0.8599 GB, free: 20.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.5549, allocations: 133.6 kB / 0.86 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.5549, allocations: 75.22 kB / 0.8601 GB, free: 19.98 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.555, allocations: 56.92 kB / 0.8601 GB, free: 19.96 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.5551, allocations: 335.7 kB / 0.8604 GB, free: 19.64 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.5553, allocations: 141.2 kB / 0.8606 GB, free: 19.57 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.5555, allocations: 223.1 kB / 0.8608 GB, free: 19.4 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.5559, allocations: 287.3 kB / 0.8611 GB, free: 19.23 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5559, allocations: 0.8438 kB / 0.8611 GB, free: 19.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005332/0.5564, allocations: 385.5 kB / 0.8614 GB, free: 19.06 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.5564, allocations: 64.5 kB / 0.8615 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5564, allocations: 8.078 kB / 0.8615 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.5565, allocations: 5.703 kB / 0.8615 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.5567, allocations: 49.2 kB / 0.8616 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.5567, allocations: 5.406 kB / 0.8616 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.5568, allocations: 16.45 kB / 0.8616 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.5569, allocations: 14.36 kB / 0.8616 GB, free: 18.99 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.0001591/0.557, allocations: 181.4 kB / 0.8618 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.5571, allocations: 25.58 kB / 0.8618 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.583e-05/0.5571, allocations: 25 kB / 0.8618 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5571, allocations: 6.656 kB / 0.8618 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5571, allocations: 3.938 kB / 0.8618 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5571, allocations: 2.906 kB / 0.8618 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006635/0.5578, allocations: 0.5353 MB / 0.8623 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5578, allocations: 0.7812 kB / 0.8623 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.558, allocations: 43.33 kB / 0.8624 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.558, allocations: 3.938 kB / 0.8624 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.558, allocations: 7.312 kB / 0.8624 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.558, allocations: 4.562 kB / 0.8624 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.558, allocations: 5.406 kB / 0.8624 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000669/0.5587, allocations: 496.4 kB / 0.8629 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.5587, allocations: 20.91 kB / 0.8629 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.5588, allocations: 8.531 kB / 0.8629 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.5589, allocations: 18.62 kB / 0.8629 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.702e-05/0.559, allocations: 17.08 kB / 0.8629 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.559, allocations: 13.58 kB / 0.863 GB, free: 18.24 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001438/0.5592, allocations: 159.7 kB / 0.8631 GB, free: 18.16 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5592, allocations: 0.5625 kB / 0.8631 GB, free: 18.16 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003246/0.5595, allocations: 56.97 kB / 0.8632 GB, free: 18.16 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.0001334/0.5596, allocations: 113.3 kB / 0.8633 GB, free: 18.07 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005817/0.5602, allocations: 383.9 kB / 0.8636 GB, free: 17.83 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.5602, allocations: 0.5938 kB / 0.8636 GB, free: 17.83 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.5605, allocations: 170.5 kB / 0.8638 GB, free: 17.73 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.561, allocations: 74.38 kB / 0.8639 GB, free: 17.73 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.5623, allocations: 0.6789 MB / 0.8645 GB, free: 17.43 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.5624, allocations: 126.7 kB / 0.8647 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.5625, allocations: 24.34 kB / 0.8647 GB, free: 17.34 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.5625, allocations: 20.92 kB / 0.8647 GB, free: 17.34 MB / 490.8 MB Notification: Performance of SimCode: time 6.82e-07/0.5625, allocations: 3.938 kB / 0.8647 GB, free: 17.33 MB / 490.8 MB Notification: Performance of Templates: time 0.008839/0.5714, allocations: 3.636 MB / 0.8683 GB, free: 17.01 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB12_Arbekacin.Arbekacin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.562215480022132]