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.001013/0.001013, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001613/0.002627, allocations: 435.8 kB / 10.31 MB, free: 384 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.001177/0.001177, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.002637, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9947/0.9947, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1193/1.114, allocations: 53.65 MB / 243.2 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 1.109/1.109, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04974/1.159, allocations: 21.05 MB / 0.5431 GB, free: 31.95 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.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 7.91e-07/7.91e-07, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.339e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant): time 0.003045/0.003058, allocations: 3.262 MB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004992/0.008051, allocations: 0.7245 MB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.008147, allocations: 0 / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.558e-05/0.008212, allocations: 43.56 kB / 0.5484 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.008392, allocations: 130.8 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.008524, allocations: 91.83 kB / 0.5486 GB, free: 26.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.008781, allocations: 429.8 kB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.008876, allocations: 67.58 kB / 0.5491 GB, free: 25.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.009092, allocations: 273.5 kB / 0.5494 GB, free: 25.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.009239, allocations: 119.7 kB / 0.5495 GB, free: 25.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.00927, allocations: 32 kB / 0.5495 GB, free: 25.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.00931, allocations: 32 kB / 0.5495 GB, free: 25.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.009342, allocations: 47.81 kB / 0.5496 GB, free: 25.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.48e-05/0.009427, allocations: 103.8 kB / 0.5497 GB, free: 25.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.009618, allocations: 223.3 kB / 0.5499 GB, free: 25.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.009625, allocations: 0 / 0.5499 GB, free: 25.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.009626, allocations: 0 / 0.5499 GB, free: 25.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.009632, allocations: 0 / 0.5499 GB, free: 25.01 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.0005047/0.01014, allocations: 0.6435 MB / 0.5505 GB, free: 24.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.85e-05/0.01016, allocations: 11.89 kB / 0.5505 GB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.0102, allocations: 40.89 kB / 0.5506 GB, free: 24.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.01035, allocations: 205.4 kB / 0.5508 GB, free: 24.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.01037, allocations: 16.88 kB / 0.5508 GB, free: 24.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.01039, allocations: 20.38 kB / 0.5508 GB, free: 24.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/0.01361, allocations: 248.2 kB / 0.551 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.01362, allocations: 4 kB / 0.551 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.01363, allocations: 4 kB / 0.551 GB, free: 23.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.01363, allocations: 8 kB / 0.5511 GB, free: 23.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.01375, allocations: 137.5 kB / 0.5512 GB, free: 23.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.01423, allocations: 484.7 kB / 0.5516 GB, free: 23.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.01441, allocations: 176 kB / 0.5518 GB, free: 22.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.856e-05/0.01448, allocations: 104.5 kB / 0.5519 GB, free: 22.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.01449, allocations: 7.938 kB / 0.5519 GB, free: 22.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.01466, allocations: 323.4 kB / 0.5522 GB, free: 22.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.313e-06/0.01466, allocations: 0 / 0.5522 GB, free: 22.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007138/0.01538, allocations: 0.8305 MB / 0.553 GB, free: 21.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.01542, allocations: 221.6 kB / 0.5533 GB, free: 21.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.01553, allocations: 225 kB / 0.5535 GB, free: 20.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.01555, allocations: 33.7 kB / 0.5535 GB, free: 20.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.01559, allocations: 141.3 kB / 0.5536 GB, free: 20.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.01564, allocations: 119 kB / 0.5537 GB, free: 20.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.01571, allocations: 74.16 kB / 0.5538 GB, free: 20.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.01575, allocations: 346.8 kB / 0.5541 GB, free: 20.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.01583, allocations: 143.9 kB / 0.5543 GB, free: 20.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.01594, allocations: 254.8 kB / 0.5545 GB, free: 19.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.01612, allocations: 342.3 kB / 0.5549 GB, free: 19.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.01612, allocations: 11.25 kB / 0.5549 GB, free: 19.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002499/0.01637, allocations: 388.8 kB / 0.5552 GB, free: 18.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003036/0.01941, allocations: 97.09 kB / 0.5553 GB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01941, allocations: 4 kB / 0.5553 GB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/0.01942, allocations: 4 kB / 0.5553 GB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.01967, allocations: 107.8 kB / 0.5554 GB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01968, allocations: 11.92 kB / 0.5555 GB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.01981, allocations: 16 kB / 0.5555 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.01983, allocations: 15.98 kB / 0.5555 GB, free: 18.69 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.0001163/0.01994, allocations: 223.7 kB / 0.5557 GB, free: 18.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.01998, allocations: 27.97 kB / 0.5557 GB, free: 18.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.02001, allocations: 38.95 kB / 0.5558 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.02002, allocations: 0 / 0.5558 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.02002, allocations: 4 kB / 0.5558 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.02002, allocations: 0 / 0.5558 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.02044, allocations: 0.5369 MB / 0.5563 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.02044, allocations: 4 kB / 0.5563 GB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.02066, allocations: 79.19 kB / 0.5564 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.02073, allocations: 27.81 kB / 0.5564 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.02073, allocations: 4 kB / 0.5564 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.02075, allocations: 11.98 kB / 0.5564 GB, free: 17.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.02075, allocations: 0 / 0.5564 GB, free: 17.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02075, allocations: 3.938 kB / 0.5564 GB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.02107, allocations: 0.5309 MB / 0.5569 GB, free: 17.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.02111, allocations: 20 kB / 0.557 GB, free: 17.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.02123, allocations: 15.98 kB / 0.557 GB, free: 17.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.02128, allocations: 23.95 kB / 0.557 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.0213, allocations: 15.98 kB / 0.557 GB, free: 17.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.912e-05/0.02137, allocations: 82.72 kB / 0.5571 GB, free: 16.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02137, allocations: 3.938 kB / 0.5571 GB, free: 16.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.02166, allocations: 84 kB / 0.5572 GB, free: 16.84 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 6.698e-05/0.02173, allocations: 104.3 kB / 0.5573 GB, free: 16.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.02199, allocations: 488.1 kB / 0.5577 GB, free: 16.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.02199, allocations: 0 / 0.5577 GB, free: 16.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.02212, allocations: 278.7 kB / 0.558 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008473/0.02297, allocations: 131.6 kB / 0.5581 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007127/0.0301, allocations: 0.7811 MB / 0.5589 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.03014, allocations: 97.11 kB / 0.559 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.03024, allocations: 30.97 kB / 0.559 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.0304, allocations: 161.1 kB / 0.5592 GB, free: 14.63 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.0304, allocations: 0 / 0.5592 GB, free: 14.63 MB / 410.7 MB Notification: Performance of Templates: time 0.2556/0.286, allocations: 5.567 MB / 0.5646 GB, free: 83.92 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: 4.161031140014529]