Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin.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.002912/0.002912, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.003575/0.003575, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.845/1.845, 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.426/1.426, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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.J01CA12_Piperacillin.Piperacillin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin") [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.003963/0.003963, allocations: 69.42 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2162, allocations: 73.98 MB / 0.8472 GB, free: 4.895 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin): time 0.004679/0.2209, allocations: 2.315 MB / 0.8495 GB, free: 2.582 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3618/0.5827, allocations: 6.523 MB / 0.8559 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.5829, allocations: 2.906 kB / 0.8559 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.583, allocations: 26.98 kB / 0.8559 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.5832, allocations: 85.22 kB / 0.856 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.5835, allocations: 54.52 kB / 0.856 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.5837, allocations: 255.3 kB / 0.8563 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.5839, allocations: 35.56 kB / 0.8563 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.584, allocations: 98.42 kB / 0.8564 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.5842, allocations: 97.48 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.5843, allocations: 16.28 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.356e-05/0.5843, allocations: 17.78 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.5843, allocations: 38.17 kB / 0.8566 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.5844, allocations: 98.22 kB / 0.8567 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.5847, allocations: 194.5 kB / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5847, allocations: 0 / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5847, allocations: 1.625 kB / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.5847, allocations: 0 / 0.8568 GB, free: 21.8 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.0008533/0.5855, allocations: 0.489 MB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5856, allocations: 8.125 kB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.5856, allocations: 25.02 kB / 0.8574 GB, free: 21.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.5859, allocations: 184.1 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.5859, allocations: 11.89 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.5859, allocations: 23.52 kB / 0.8576 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.5863, allocations: 189.8 kB / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.5863, allocations: 0 / 0.8577 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.5863, allocations: 9.594 kB / 0.8578 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.5863, allocations: 1.781 kB / 0.8578 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.5867, allocations: 146.6 kB / 0.8579 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007301/0.5874, allocations: 483.5 kB / 0.8584 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.5879, allocations: 175.1 kB / 0.8585 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.5881, allocations: 95.08 kB / 0.8586 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.5881, allocations: 3.406 kB / 0.8586 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/0.5884, allocations: 225.4 kB / 0.8588 GB, free: 20.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.5884, allocations: 2.25 kB / 0.8588 GB, free: 20.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001423/0.5898, allocations: 0.7055 MB / 0.8595 GB, free: 20.21 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.5899, allocations: 133.7 kB / 0.8597 GB, free: 20.05 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.5901, allocations: 220 kB / 0.8599 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.5901, allocations: 31.27 kB / 0.8599 GB, free: 19.92 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.5901, allocations: 133.7 kB / 0.86 GB, free: 19.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.5902, allocations: 73.62 kB / 0.8601 GB, free: 19.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/0.5903, allocations: 54.55 kB / 0.8601 GB, free: 19.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.5903, allocations: 337.6 kB / 0.8605 GB, free: 19.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.5906, allocations: 146.5 kB / 0.8606 GB, free: 19.37 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.5908, allocations: 222.4 kB / 0.8608 GB, free: 19.2 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.5911, allocations: 283.6 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5912, allocations: 3.875 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005513/0.5917, allocations: 381.4 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.5917, allocations: 67.5 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5918, allocations: 6.469 kB / 0.8615 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.5918, allocations: 3.594 kB / 0.8615 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.592, allocations: 53.97 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.592, allocations: 8.406 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.5922, allocations: 16.61 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.5922, allocations: 15 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.0001643/0.5923, allocations: 177 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.5924, allocations: 22.8 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.5924, allocations: 30.05 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.5924, allocations: 3.406 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5924, allocations: 0.625 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5924, allocations: 2.203 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.5931, allocations: 0.5412 MB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5931, allocations: 2 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.5933, allocations: 37.45 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.5933, allocations: 3.938 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.5933, allocations: 10.33 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.5933, allocations: 4.625 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5933, allocations: 4.812 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.594, allocations: 492.4 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.594, allocations: 28.28 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.5941, allocations: 7.406 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.5942, allocations: 13.16 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/0.5943, allocations: 26.22 kB / 0.863 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.5943, allocations: 6.234 kB / 0.863 GB, free: 18.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001226/0.5944, allocations: 163.1 kB / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.5944, allocations: 3.375 kB / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000299/0.5947, allocations: 50.31 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.0001412/0.5949, allocations: 111.4 kB / 0.8633 GB, free: 17.87 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000561/0.5954, allocations: 387.8 kB / 0.8637 GB, free: 17.63 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5954, allocations: 0.5312 kB / 0.8637 GB, free: 17.63 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.5957, allocations: 168.9 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.0004826/0.5962, allocations: 81.05 kB / 0.8639 GB, free: 17.53 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.5975, allocations: 0.6746 MB / 0.8646 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.5976, allocations: 123.9 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.5977, allocations: 23.44 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.5978, allocations: 24.44 kB / 0.8647 GB, free: 17.13 MB / 490.8 MB Notification: Performance of SimCode: time 7.31e-07/0.5978, allocations: 0 / 0.8647 GB, free: 17.13 MB / 490.8 MB Notification: Performance of Templates: time 0.009014/0.6068, allocations: 3.641 MB / 0.8683 GB, free: 16.81 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.900142430095002]