Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference.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.001542/0.001542, allocations: 108.4 kB / 19.71 MB, free: 440 kB / 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.00125/0.00125, allocations: 224.4 kB / 23.01 MB, free: 2.949 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.081/1.081, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7821/0.7821, allocations: 312.3 MB / 0.6109 GB, free: 97.14 MB / 410.7 MB " [Timeout remaining time 179] 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_Modr1982_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference") [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.00232/0.00232, allocations: 79.5 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1824, allocations: 73.98 MB / 0.8421 GB, free: 9.828 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference): time 0.003697/0.1861, allocations: 2.307 MB / 0.8444 GB, free: 7.527 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.008441/0.1946, allocations: 6.529 MB / 0.8508 GB, free: 0.9961 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.1949, allocations: 0.625 kB / 0.8508 GB, free: 0.9961 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.1951, allocations: 27.72 kB / 0.8508 GB, free: 0.9688 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.1954, allocations: 80.59 kB / 0.8509 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1957, allocations: 52.38 kB / 0.8509 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.1961, allocations: 259.4 kB / 0.8512 GB, free: 0.5859 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.1963, allocations: 40.56 kB / 0.8512 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.1965, allocations: 96.34 kB / 0.8513 GB, free: 464 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.1968, allocations: 100.1 kB / 0.8514 GB, free: 364 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.1968, allocations: 16 kB / 0.8514 GB, free: 348 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.036e-05/0.1968, allocations: 16.62 kB / 0.8514 GB, free: 332 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.1969, allocations: 36.44 kB / 0.8515 GB, free: 296 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.197, allocations: 95.53 kB / 0.8515 GB, free: 200 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.1973, allocations: 199.6 kB / 0.8517 GB, free: 0 / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1973, allocations: 0.625 kB / 0.8517 GB, free: 0 / 474.8 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1973, allocations: 0 / 0.8517 GB, free: 0 / 474.8 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1973, allocations: 0.625 kB / 0.8517 GB, free: 0 / 474.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.00108/0.1984, allocations: 0.4901 MB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.1984, allocations: 8.719 kB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.1985, allocations: 24.8 kB / 0.8523 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.1988, allocations: 179.8 kB / 0.8524 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.1989, allocations: 13.2 kB / 0.8524 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.1989, allocations: 19.89 kB / 0.8525 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.1993, allocations: 191.7 kB / 0.8526 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.1993, allocations: 0 / 0.8526 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.1994, allocations: 8.531 kB / 0.8526 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1994, allocations: 4 kB / 0.8526 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.1996, allocations: 155.5 kB / 0.8528 GB, free: 14.83 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008962/0.2005, allocations: 486.8 kB / 0.8533 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.201, allocations: 164.9 kB / 0.8534 GB, free: 14.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.2011, allocations: 107.1 kB / 0.8535 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2011, allocations: 0.5312 kB / 0.8535 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/0.2015, allocations: 225.8 kB / 0.8537 GB, free: 13.78 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 3.627e-06/0.2015, allocations: 0 / 0.8537 GB, free: 13.78 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001278/0.2028, allocations: 0.701 MB / 0.8544 GB, free: 13.02 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.726e-05/0.2029, allocations: 141.1 kB / 0.8546 GB, free: 12.86 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.2031, allocations: 222.8 kB / 0.8548 GB, free: 12.63 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.2031, allocations: 34.27 kB / 0.8548 GB, free: 12.59 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2032, allocations: 133.2 kB / 0.8549 GB, free: 12.46 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.2033, allocations: 67.48 kB / 0.855 GB, free: 12.39 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.2033, allocations: 58.38 kB / 0.855 GB, free: 12.33 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2035, allocations: 338.8 kB / 0.8554 GB, free: 11.99 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3732/0.5766, allocations: 141.2 kB / 0.8555 GB, free: 30.27 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.5768, allocations: 222.6 kB / 0.8557 GB, free: 30.1 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.5771, allocations: 284 kB / 0.856 GB, free: 29.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5771, allocations: 0 / 0.856 GB, free: 29.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004722/0.5776, allocations: 391.4 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.5776, allocations: 66.34 kB / 0.8564 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5776, allocations: 4.125 kB / 0.8564 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.5776, allocations: 1.469 kB / 0.8564 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.5778, allocations: 53.94 kB / 0.8565 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.5778, allocations: 4.938 kB / 0.8565 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.5779, allocations: 17.33 kB / 0.8565 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.578, allocations: 9.75 kB / 0.8565 GB, free: 29.72 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.0002096/0.5782, allocations: 184 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.5782, allocations: 23.3 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.5782, allocations: 23.52 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5782, allocations: 6.625 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5783, allocations: 0 / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5783, allocations: 1.969 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/0.5788, allocations: 0.5325 MB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5788, allocations: 0 / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.579, allocations: 41.14 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.579, allocations: 0 / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.579, allocations: 1.469 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.579, allocations: 8.188 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.579, allocations: 3.609 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.5795, allocations: 0.493 MB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.5795, allocations: 16.02 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.5795, allocations: 12.94 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.5796, allocations: 13 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.5797, allocations: 20.22 kB / 0.8579 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.5797, allocations: 9.406 kB / 0.8579 GB, free: 29.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001098/0.5798, allocations: 158.1 kB / 0.858 GB, free: 28.97 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5798, allocations: 0 / 0.858 GB, free: 28.97 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002226/0.5801, allocations: 58.62 kB / 0.8581 GB, free: 28.97 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.0001101/0.5802, allocations: 121.4 kB / 0.8582 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.5806, allocations: 383.4 kB / 0.8586 GB, free: 28.65 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5806, allocations: 0 / 0.8586 GB, free: 28.65 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.5807, allocations: 170.3 kB / 0.8587 GB, free: 28.55 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.5812, allocations: 63.02 kB / 0.8588 GB, free: 28.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.5823, allocations: 0.7062 MB / 0.8595 GB, free: 28.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.534e-05/0.5824, allocations: 126.6 kB / 0.8596 GB, free: 28.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.5825, allocations: 21.06 kB / 0.8596 GB, free: 28.16 MB / 490.8 MB Notification: Performance of SimCode: time 6.31e-07/0.5825, allocations: 0.625 kB / 0.8596 GB, free: 28.16 MB / 490.8 MB Notification: Performance of Templates: time 0.00602/0.5885, allocations: 2.949 MB / 0.8625 GB, free: 27.95 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.883165861479938]