Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.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.000966/0.000966, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002267, 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.001017/0.001017, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.002298, 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 0.9866/0.9866, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09387/1.08, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.7545/0.7545, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03157/0.7861, allocations: 21.06 MB / 0.5432 GB, free: 31.94 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.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.368e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem): time 0.003237/0.00325, allocations: 2.965 MB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004556/0.007806, allocations: 6.786 MB / 0.5541 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.007931, allocations: 4 kB / 0.5541 GB, free: 20.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.64e-05/0.008008, allocations: 35.58 kB / 0.5542 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.008178, allocations: 127 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.008328, allocations: 71.83 kB / 0.5543 GB, free: 20.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.008572, allocations: 397.9 kB / 0.5547 GB, free: 20.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.008696, allocations: 66.78 kB / 0.5548 GB, free: 20.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.008939, allocations: 238.6 kB / 0.555 GB, free: 19.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.009125, allocations: 131.6 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.00916, allocations: 24 kB / 0.5552 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.012e-05/0.00919, allocations: 27.94 kB / 0.5552 GB, free: 19.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.009225, allocations: 39.81 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.071e-05/0.009306, allocations: 99.81 kB / 0.5553 GB, free: 19.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.009524, allocations: 199.3 kB / 0.5555 GB, free: 19.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.009538, allocations: 0 / 0.5555 GB, free: 19.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.009539, allocations: 0 / 0.5555 GB, free: 19.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.009554, allocations: 0 / 0.5555 GB, free: 19.31 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006384/0.01019, allocations: 0.6243 MB / 0.5561 GB, free: 18.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.01022, allocations: 15.84 kB / 0.5561 GB, free: 18.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.01028, allocations: 40.91 kB / 0.5562 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.01045, allocations: 201.5 kB / 0.5564 GB, free: 18.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.01047, allocations: 12.75 kB / 0.5564 GB, free: 18.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.0105, allocations: 28.33 kB / 0.5564 GB, free: 18.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.01069, allocations: 236.7 kB / 0.5566 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.01071, allocations: 0 / 0.5566 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.01072, allocations: 12 kB / 0.5566 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.01072, allocations: 4 kB / 0.5567 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.01083, allocations: 142.5 kB / 0.5568 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.01134, allocations: 0.5114 MB / 0.5573 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.01151, allocations: 154.1 kB / 0.5574 GB, free: 17.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.01156, allocations: 96.48 kB / 0.5575 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.01157, allocations: 7.938 kB / 0.5575 GB, free: 17.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.01175, allocations: 329.7 kB / 0.5578 GB, free: 16.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.01175, allocations: 0 / 0.5578 GB, free: 16.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007414/0.01249, allocations: 0.8126 MB / 0.5586 GB, free: 15.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.01253, allocations: 273 kB / 0.5589 GB, free: 15.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.01263, allocations: 229 kB / 0.5591 GB, free: 15.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.01264, allocations: 37.7 kB / 0.5592 GB, free: 15.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.01268, allocations: 133.3 kB / 0.5593 GB, free: 15.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.01274, allocations: 123 kB / 0.5594 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.0128, allocations: 70.16 kB / 0.5595 GB, free: 14.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2383/0.2511, allocations: 342.4 kB / 0.5598 GB, free: 79.5 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2513, allocations: 144 kB / 0.5599 GB, free: 79.4 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.2514, allocations: 250.6 kB / 0.5602 GB, free: 79.17 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.2516, allocations: 350.2 kB / 0.5605 GB, free: 78.92 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2516, allocations: 1.094 kB / 0.5605 GB, free: 78.92 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003393/0.2519, allocations: 383.7 kB / 0.5609 GB, free: 78.7 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.252, allocations: 91.06 kB / 0.561 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.252, allocations: 7.75 kB / 0.561 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.252, allocations: 4.875 kB / 0.561 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.2523, allocations: 107.7 kB / 0.5611 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2523, allocations: 10.41 kB / 0.5611 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.2525, allocations: 20.39 kB / 0.5611 GB, free: 78.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.2525, allocations: 14.83 kB / 0.5611 GB, free: 78.6 MB / 410.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0001595/0.2527, allocations: 208 kB / 0.5613 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.2527, allocations: 39.8 kB / 0.5614 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.2528, allocations: 39.38 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2528, allocations: 1.172 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2528, allocations: 1.406 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.2528, allocations: 26.81 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.2528, allocations: 9.172 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.2529, allocations: 11.58 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/0.253, allocations: 17.38 kB / 0.5615 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.253, allocations: 28.02 kB / 0.5615 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003563/0.2534, allocations: 381.5 kB / 0.5618 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000377/0.2538, allocations: 0.5978 MB / 0.5624 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001096/0.2539, allocations: 145.7 kB / 0.5626 GB, free: 77.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.929e-05/0.2539, allocations: 82.27 kB / 0.5626 GB, free: 77.69 MB / 410.8 MB Notification: Performance of Backend: time 2.51e-07/0.2539, allocations: 1.594 kB / 0.5626 GB, free: 77.69 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.2544, allocations: 479.2 kB / 0.5631 GB, free: 77.36 MB / 410.8 MB Notification: Performance of SimCode: time 0.01047/0.2648, allocations: 1.316 MB / 0.5644 GB, free: 76.42 MB / 410.8 MB Notification: Performance of Templates: time 0.00827/0.2731, allocations: 5.268 MB / 0.5695 GB, free: 75.41 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.820903493091464]