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.0009397/0.0009397, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.002208, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0007965/0.0007965, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009774/0.001774, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1098/1.117, allocations: 53.67 MB / 243.3 MB, free: 15.58 MB / 250.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.7575/0.7575, allocations: 291.1 MB / 0.5226 GB, free: 52.79 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03716/0.7947, allocations: 21.05 MB / 0.5431 GB, free: 31.81 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5445 GB, free: 30.44 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.259e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference): time 0.003253/0.003275, allocations: 2.487 MB / 0.5469 GB, free: 27.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00633/0.009606, allocations: 6.696 MB / 0.5535 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.009907, allocations: 3.938 kB / 0.5535 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.01005, allocations: 31.7 kB / 0.5535 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.01029, allocations: 75.34 kB / 0.5536 GB, free: 21.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.01054, allocations: 59.86 kB / 0.5536 GB, free: 21.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.01084, allocations: 266.6 kB / 0.5539 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.011, allocations: 42.47 kB / 0.5539 GB, free: 20.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.01128, allocations: 176.2 kB / 0.5541 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.01152, allocations: 87.72 kB / 0.5542 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.01156, allocations: 16 kB / 0.5542 GB, free: 20.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.403e-05/0.01159, allocations: 16 kB / 0.5542 GB, free: 20.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.01163, allocations: 27.88 kB / 0.5542 GB, free: 20.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.286e-05/0.01171, allocations: 63.88 kB / 0.5543 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.01196, allocations: 135.5 kB / 0.5544 GB, free: 20.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.067e-05/0.01198, allocations: 4 kB / 0.5544 GB, free: 20.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01198, allocations: 0 / 0.5544 GB, free: 20.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.012, allocations: 0 / 0.5544 GB, free: 20.25 MB / 410.7 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.0008157/0.01282, allocations: 0.5014 MB / 0.5549 GB, free: 19.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.01287, allocations: 11.89 kB / 0.5549 GB, free: 19.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.01294, allocations: 24.91 kB / 0.555 GB, free: 19.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.01316, allocations: 183 kB / 0.5551 GB, free: 19.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.01319, allocations: 12.61 kB / 0.5551 GB, free: 19.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.01322, allocations: 20.31 kB / 0.5552 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.01346, allocations: 151.5 kB / 0.5553 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.01348, allocations: 3.984 kB / 0.5553 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.01349, allocations: 4 kB / 0.5553 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.0135, allocations: 4 kB / 0.5553 GB, free: 19.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.01361, allocations: 80.69 kB / 0.5554 GB, free: 19.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.01412, allocations: 364.9 kB / 0.5557 GB, free: 18.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.01433, allocations: 108.2 kB / 0.5558 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.01438, allocations: 61.55 kB / 0.5559 GB, free: 18.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.01439, allocations: 4 kB / 0.5559 GB, free: 18.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.01458, allocations: 199.1 kB / 0.5561 GB, free: 18.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.01458, allocations: 0 / 0.5561 GB, free: 18.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006941/0.01528, allocations: 0.5163 MB / 0.5566 GB, free: 17.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.01531, allocations: 162.2 kB / 0.5568 GB, free: 17.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.01544, allocations: 210.1 kB / 0.557 GB, free: 17.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.01546, allocations: 33.7 kB / 0.557 GB, free: 17.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.0155, allocations: 116.4 kB / 0.5571 GB, free: 17.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.01554, allocations: 67.42 kB / 0.5572 GB, free: 17.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.01561, allocations: 59.16 kB / 0.5572 GB, free: 17.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.01565, allocations: 334.8 kB / 0.5575 GB, free: 16.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.01572, allocations: 97.02 kB / 0.5576 GB, free: 16.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.0158, allocations: 169.3 kB / 0.5578 GB, free: 16.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.01594, allocations: 221.5 kB / 0.558 GB, free: 16.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01594, allocations: 0 / 0.558 GB, free: 16.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002122/0.01615, allocations: 263 kB / 0.5583 GB, free: 15.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.01619, allocations: 67.61 kB / 0.5583 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.0162, allocations: 0 / 0.5583 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.01621, allocations: 4 kB / 0.5583 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.01642, allocations: 71.89 kB / 0.5584 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01643, allocations: 0 / 0.5584 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.01654, allocations: 16 kB / 0.5584 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.01655, allocations: 15.92 kB / 0.5584 GB, free: 15.72 MB / 410.7 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.0001347/0.01669, allocations: 167.6 kB / 0.5586 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.01672, allocations: 23.97 kB / 0.5586 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.01676, allocations: 21.97 kB / 0.5586 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01677, allocations: 3.984 kB / 0.5586 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01677, allocations: 0 / 0.5586 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.0168, allocations: 19.86 kB / 0.5586 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01681, allocations: 7.938 kB / 0.5587 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.01684, allocations: 7.312 kB / 0.5587 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.01693, allocations: 19.92 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.01699, allocations: 15.97 kB / 0.5587 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002694/0.01726, allocations: 268.2 kB / 0.559 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2699/0.2872, allocations: 422.5 kB / 0.5594 GB, free: 79.45 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001126/0.2873, allocations: 79.27 kB / 0.5594 GB, free: 79.41 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.618e-05/0.2874, allocations: 62.64 kB / 0.5595 GB, free: 79.4 MB / 410.8 MB Notification: Performance of Backend: time 4.01e-07/0.2874, allocations: 0 / 0.5595 GB, free: 79.4 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.2879, allocations: 345.5 kB / 0.5598 GB, free: 79.16 MB / 410.8 MB Notification: Performance of SimCode: time 0.00894/0.2968, allocations: 1.112 MB / 0.5609 GB, free: 78.35 MB / 410.8 MB Notification: Performance of Templates: time 0.008644/0.3055, allocations: 3.87 MB / 0.5647 GB, free: 78.18 MB / 410.8 MB " [Timeout remaining time 660] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Modr1982_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.640585699118674]