Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.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.001895/0.001895, allocations: 101.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.001992/0.001992, allocations: 219.5 kB / 22.25 MB, free: 3.574 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.737/1.737, allocations: 230.6 MB / 256 MB, free: 9.609 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.501/1.501, allocations: 316.7 MB / 0.6144 GB, free: 93.03 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin") [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.004028/0.004028, allocations: 73.64 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1777, allocations: 73.99 MB / 0.8473 GB, free: 4.863 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin): time 0.004779/0.1825, allocations: 2.308 MB / 0.8495 GB, free: 2.555 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3517/0.5342, allocations: 6.518 MB / 0.8559 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.5344, allocations: 2.781 kB / 0.8559 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.5346, allocations: 25.55 kB / 0.8559 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.5349, allocations: 85.62 kB / 0.856 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.5353, allocations: 54.41 kB / 0.856 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.5355, allocations: 259.7 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.5357, allocations: 37.14 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.5358, allocations: 94.8 kB / 0.8564 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.536, allocations: 101.8 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.5361, allocations: 14.88 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.01e-05/0.5361, allocations: 17.75 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.5361, allocations: 39.47 kB / 0.8566 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.465e-05/0.5362, allocations: 92.39 kB / 0.8567 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.5365, allocations: 196.5 kB / 0.8569 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5365, allocations: 2.625 kB / 0.8569 GB, free: 21.81 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5365, allocations: 0 / 0.8569 GB, free: 21.81 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.5365, allocations: 0 / 0.8569 GB, free: 21.81 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.0007972/0.5373, allocations: 497.5 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.5374, allocations: 9.906 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/0.5374, allocations: 28.16 kB / 0.8574 GB, free: 21.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.5377, allocations: 185.7 kB / 0.8575 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.5377, allocations: 12.08 kB / 0.8576 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.5377, allocations: 21.08 kB / 0.8576 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.5381, allocations: 189.3 kB / 0.8578 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5381, allocations: 2.656 kB / 0.8578 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.5381, allocations: 9.531 kB / 0.8578 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.5381, allocations: 2.469 kB / 0.8578 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.5385, allocations: 146.6 kB / 0.8579 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.5392, allocations: 488.8 kB / 0.8584 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.5397, allocations: 172.1 kB / 0.8585 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.5399, allocations: 96.56 kB / 0.8586 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.5399, allocations: 2.594 kB / 0.8586 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/0.5402, allocations: 226.4 kB / 0.8588 GB, free: 20.58 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.694e-06/0.5402, allocations: 0.625 kB / 0.8588 GB, free: 20.58 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001355/0.5416, allocations: 0.6991 MB / 0.8595 GB, free: 20.22 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.5416, allocations: 137.6 kB / 0.8597 GB, free: 20.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.5418, allocations: 214.1 kB / 0.8599 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.5418, allocations: 34.61 kB / 0.8599 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.5419, allocations: 133.6 kB / 0.86 GB, free: 19.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.5419, allocations: 72.97 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.542, allocations: 53.27 kB / 0.8601 GB, free: 19.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.5421, allocations: 344.3 kB / 0.8605 GB, free: 19.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.5423, allocations: 144.3 kB / 0.8606 GB, free: 19.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.5425, allocations: 223.9 kB / 0.8608 GB, free: 19.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.5429, allocations: 285.8 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5429, allocations: 4.562 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005534/0.5434, allocations: 382.1 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.5435, allocations: 66.72 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.5435, allocations: 8 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.5435, allocations: 2.812 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.5437, allocations: 50.8 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.5437, allocations: 3.812 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.5439, allocations: 20.98 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.5439, allocations: 14 kB / 0.8616 GB, free: 18.79 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.0001532/0.5441, allocations: 175.9 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.5441, allocations: 23.98 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.683e-05/0.5442, allocations: 31.59 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5442, allocations: 2.188 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5442, allocations: 0.625 kB / 0.8619 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.5442, allocations: 2.781 kB / 0.8619 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006754/0.5449, allocations: 0.538 MB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5449, allocations: 0.5938 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.545, allocations: 38.5 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.545, allocations: 1.078 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.5451, allocations: 6.688 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.5451, allocations: 8.375 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5451, allocations: 1.562 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.5457, allocations: 496.8 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.5458, allocations: 20.14 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.5458, allocations: 12.77 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.546, allocations: 14.94 kB / 0.863 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.5461, allocations: 25.33 kB / 0.863 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.5461, allocations: 14.05 kB / 0.863 GB, free: 18.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001404/0.5462, allocations: 156.9 kB / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5462, allocations: 0 / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002946/0.5465, allocations: 58.5 kB / 0.8632 GB, free: 17.96 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.0001022/0.5466, allocations: 111.3 kB / 0.8633 GB, free: 17.88 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005361/0.5472, allocations: 385 kB / 0.8637 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5472, allocations: 0 / 0.8637 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.5474, allocations: 174.6 kB / 0.8638 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.5479, allocations: 70.88 kB / 0.8639 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.5491, allocations: 0.6778 MB / 0.8646 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.5492, allocations: 126.7 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.5493, allocations: 27.38 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.5493, allocations: 22.34 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of SimCode: time 6.51e-07/0.5493, allocations: 0 / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of Templates: time 0.008092/0.5574, allocations: 3.644 MB / 0.8683 GB, free: 16.82 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.881825078977272]