Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.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.0007697/0.0007697, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.001848, allocations: 440 kB / 10.41 MB, free: 284 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.0006999/0.0006999, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001719, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.926/0.926, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0776/1.004, allocations: 53.67 MB / 243.4 MB, free: 15.48 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 4.716/4.716, allocations: 291.2 MB / 0.5228 GB, free: 52.44 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03796/4.754, allocations: 21.05 MB / 0.5433 GB, free: 31.46 MB / 410.7 MB " [Timeout remaining time 175] 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.Examples.Paracetamol.Paracetamol_Briant,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant") translateModel(Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.41e-07/9.41e-07, allocations: 0 / 0.5447 GB, free: 30.05 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.248e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant): time 0.002798/0.002811, allocations: 3.28 MB / 0.5479 GB, free: 26.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.003588, allocations: 0.7439 MB / 0.5486 GB, free: 26.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.003662, allocations: 0 / 0.5486 GB, free: 26.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.646e-05/0.003719, allocations: 43.58 kB / 0.5487 GB, free: 25.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.003843, allocations: 127 kB / 0.5488 GB, free: 25.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.003949, allocations: 87.77 kB / 0.5489 GB, free: 25.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.004169, allocations: 433.9 kB / 0.5493 GB, free: 25.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.004266, allocations: 63.58 kB / 0.5493 GB, free: 25.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.004467, allocations: 269.5 kB / 0.5496 GB, free: 25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.004622, allocations: 131.6 kB / 0.5497 GB, free: 24.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.004654, allocations: 32 kB / 0.5497 GB, free: 24.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.35e-05/0.004687, allocations: 28 kB / 0.5498 GB, free: 24.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.00472, allocations: 47.81 kB / 0.5498 GB, free: 24.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.004793, allocations: 103.9 kB / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.004999, allocations: 223.2 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.005006, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005007, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.005015, allocations: 7.938 kB / 0.5501 GB, free: 24.44 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000527/0.005542, allocations: 0.6357 MB / 0.5508 GB, free: 23.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.005569, allocations: 15.89 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.005615, allocations: 36.91 kB / 0.5508 GB, free: 23.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.005773, allocations: 197.5 kB / 0.551 GB, free: 23.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.00579, allocations: 20.25 kB / 0.551 GB, free: 23.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.005821, allocations: 24.38 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.006036, allocations: 250.1 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.006045, allocations: 0 / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.006057, allocations: 8 kB / 0.5513 GB, free: 23.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.006062, allocations: 4 kB / 0.5513 GB, free: 23.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.006181, allocations: 138.6 kB / 0.5514 GB, free: 23.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.006615, allocations: 485.8 kB / 0.5519 GB, free: 22.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.006783, allocations: 172.1 kB / 0.5521 GB, free: 22.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.006886, allocations: 104.5 kB / 0.5522 GB, free: 22.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.006898, allocations: 11.94 kB / 0.5522 GB, free: 22.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.00708, allocations: 319.5 kB / 0.5525 GB, free: 21.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.007082, allocations: 0 / 0.5525 GB, free: 21.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006822/0.007764, allocations: 0.8404 MB / 0.5533 GB, free: 20.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/0.007831, allocations: 277 kB / 0.5536 GB, free: 20.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.007934, allocations: 228.9 kB / 0.5538 GB, free: 20.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.007951, allocations: 37.7 kB / 0.5538 GB, free: 20.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.007994, allocations: 141.3 kB / 0.5539 GB, free: 20.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.008043, allocations: 115 kB / 0.5541 GB, free: 20.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.008108, allocations: 78.16 kB / 0.5541 GB, free: 19.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.008178, allocations: 342.8 kB / 0.5545 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.008253, allocations: 143.9 kB / 0.5546 GB, free: 19.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.008368, allocations: 254.9 kB / 0.5548 GB, free: 19.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.008544, allocations: 342.3 kB / 0.5552 GB, free: 18.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.008546, allocations: 3.938 kB / 0.5552 GB, free: 18.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002155/0.008762, allocations: 388.8 kB / 0.5555 GB, free: 18.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.008791, allocations: 93.09 kB / 0.5556 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.008795, allocations: 4 kB / 0.5556 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-06/0.008803, allocations: 4 kB / 0.5556 GB, free: 18.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.009004, allocations: 119.5 kB / 0.5557 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.009009, allocations: 4 kB / 0.5557 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.262e-05/0.009101, allocations: 19.97 kB / 0.5558 GB, free: 18.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.009115, allocations: 16 kB / 0.5558 GB, free: 18.05 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0001111/0.009226, allocations: 222.7 kB / 0.556 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.009255, allocations: 35.97 kB / 0.556 GB, free: 17.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.009285, allocations: 30.95 kB / 0.5561 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009287, allocations: 4 kB / 0.5561 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.009288, allocations: 0 / 0.5561 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009292, allocations: 0 / 0.5561 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.009632, allocations: 0.5408 MB / 0.5566 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.009633, allocations: 0 / 0.5566 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.009809, allocations: 75.94 kB / 0.5567 GB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.00986, allocations: 35.73 kB / 0.5567 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.009862, allocations: 0 / 0.5567 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.009875, allocations: 8 kB / 0.5567 GB, free: 17.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.009877, allocations: 7.938 kB / 0.5567 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.009878, allocations: 3.938 kB / 0.5567 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.01014, allocations: 0.5316 MB / 0.5572 GB, free: 16.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.01016, allocations: 12 kB / 0.5572 GB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.01025, allocations: 19.23 kB / 0.5573 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.01029, allocations: 23.95 kB / 0.5573 GB, free: 16.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.0103, allocations: 11.98 kB / 0.5573 GB, free: 16.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.514e-05/0.01034, allocations: 82.72 kB / 0.5574 GB, free: 16.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01034, allocations: 0 / 0.5574 GB, free: 16.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.01052, allocations: 88 kB / 0.5575 GB, free: 16.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * 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 5.911e-05/0.01057, allocations: 115.1 kB / 0.5576 GB, free: 16.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.01079, allocations: 492 kB / 0.558 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.01079, allocations: 11.97 kB / 0.5581 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.0109, allocations: 279.7 kB / 0.5583 GB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.01123, allocations: 0.7139 MB / 0.559 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2414/0.2526, allocations: 0.7534 MB / 0.5598 GB, free: 84.26 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.589e-05/0.2527, allocations: 96.73 kB / 0.5598 GB, free: 84.18 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001806/0.2529, allocations: 35.77 kB / 0.5599 GB, free: 84.18 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.2531, allocations: 157.5 kB / 0.56 GB, free: 84.14 MB / 410.8 MB Notification: Performance of SimCode: time 1.923e-06/0.2531, allocations: 1.125 kB / 0.56 GB, free: 84.14 MB / 410.8 MB Notification: Performance of Templates: time 0.008137/0.2613, allocations: 5.568 MB / 0.5655 GB, free: 83.25 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.404868712648749]