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.002377/0.002377, allocations: 88.44 kB / 19.18 MB, free: 0.7383 MB / 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.002692/0.002692, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.661/1.661, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] 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.262/1.262, allocations: 292.9 MB / 0.5392 GB, free: 50.2 MB / 410.7 MB " [Timeout remaining time 178] 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 1.643e-06/1.643e-06, allocations: 0 / 0.6998 GB, free: 8.562 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.139e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.555 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant): time 0.004092/0.004123, allocations: 2.984 MB / 0.7028 GB, free: 5.551 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.005365, allocations: 0.709 MB / 0.7035 GB, free: 4.84 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.005518, allocations: 4 kB / 0.7035 GB, free: 4.836 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.005663, allocations: 35.58 kB / 0.7035 GB, free: 4.801 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.005925, allocations: 130.9 kB / 0.7036 GB, free: 4.672 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.006174, allocations: 83.84 kB / 0.7037 GB, free: 4.59 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.006523, allocations: 437.8 kB / 0.7041 GB, free: 4.16 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.00669, allocations: 62.28 kB / 0.7042 GB, free: 4.102 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.006907, allocations: 219.5 kB / 0.7044 GB, free: 3.887 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.007143, allocations: 123.6 kB / 0.7045 GB, free: 3.766 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.007186, allocations: 32 kB / 0.7045 GB, free: 3.734 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.906e-05/0.007235, allocations: 36 kB / 0.7046 GB, free: 3.699 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.00728, allocations: 59.77 kB / 0.7046 GB, free: 3.641 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.007403, allocations: 123.7 kB / 0.7047 GB, free: 3.52 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.007831, allocations: 362.9 kB / 0.7051 GB, free: 3.164 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.007835, allocations: 3.938 kB / 0.7051 GB, free: 3.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.007837, allocations: 0 / 0.7051 GB, free: 3.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.007845, allocations: 4 kB / 0.7051 GB, free: 3.156 MB / 410.8 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.001033/0.008878, allocations: 0.6077 MB / 0.7057 GB, free: 2.5 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.008916, allocations: 8.031 kB / 0.7057 GB, free: 2.492 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/0.00899, allocations: 32.75 kB / 0.7057 GB, free: 2.461 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.009254, allocations: 236.6 kB / 0.706 GB, free: 2.207 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.009283, allocations: 12.88 kB / 0.706 GB, free: 2.195 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.009332, allocations: 24.38 kB / 0.706 GB, free: 2.172 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/0.009798, allocations: 306.2 kB / 0.7063 GB, free: 1.844 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.009818, allocations: 0 / 0.7063 GB, free: 1.844 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.009843, allocations: 12 kB / 0.7063 GB, free: 1.832 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.009852, allocations: 4 kB / 0.7063 GB, free: 1.828 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.0103, allocations: 256.2 kB / 0.7065 GB, free: 1.566 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009433/0.01124, allocations: 0.6427 MB / 0.7072 GB, free: 0.8867 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/0.01183, allocations: 282 kB / 0.7074 GB, free: 0.5898 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.01205, allocations: 152.5 kB / 0.7076 GB, free: 436 kB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.01207, allocations: 7.984 kB / 0.7076 GB, free: 428 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/0.01248, allocations: 367.4 kB / 0.7079 GB, free: 8 kB / 410.8 MB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.01248, allocations: 0 / 0.7079 GB, free: 8 kB / 410.8 MB Notification: Performance of matching and sorting (n=35): time 0.002482/0.01496, allocations: 1.139 MB / 0.7091 GB, free: 14.77 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.01514, allocations: 217.6 kB / 0.7093 GB, free: 14.51 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.01547, allocations: 249.9 kB / 0.7095 GB, free: 14.26 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.01551, allocations: 33.7 kB / 0.7095 GB, free: 14.22 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.01566, allocations: 156.9 kB / 0.7097 GB, free: 14.06 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.01579, allocations: 119 kB / 0.7098 GB, free: 13.95 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.01594, allocations: 70.2 kB / 0.7099 GB, free: 13.87 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.01616, allocations: 346.7 kB / 0.7102 GB, free: 13.52 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.01655, allocations: 219.8 kB / 0.7104 GB, free: 13.29 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.01704, allocations: 326.9 kB / 0.7107 GB, free: 12.9 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007586/0.0178, allocations: 458.1 kB / 0.7112 GB, free: 12.39 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.0178, allocations: 0 / 0.7112 GB, free: 12.39 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001043/0.01885, allocations: 0.5807 MB / 0.7117 GB, free: 11.76 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.391e-05/0.01894, allocations: 93.09 kB / 0.7118 GB, free: 11.65 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.01895, allocations: 3.984 kB / 0.7118 GB, free: 11.65 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.01897, allocations: 8 kB / 0.7118 GB, free: 11.64 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.01933, allocations: 88.17 kB / 0.7119 GB, free: 11.55 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.01935, allocations: 4 kB / 0.7119 GB, free: 11.55 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.0196, allocations: 19.98 kB / 0.7119 GB, free: 11.53 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.01964, allocations: 19.98 kB / 0.7119 GB, free: 11.51 MB / 426.8 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.0003398/0.01998, allocations: 235.6 kB / 0.7122 GB, free: 11.26 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.02004, allocations: 31.81 kB / 0.7122 GB, free: 11.23 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.871e-05/0.02012, allocations: 38.89 kB / 0.7122 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.02013, allocations: 4 kB / 0.7122 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.02013, allocations: 0 / 0.7122 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.02014, allocations: 0 / 0.7122 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.02153, allocations: 0.8175 MB / 0.713 GB, free: 10.31 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.02154, allocations: 4 kB / 0.713 GB, free: 10.3 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.02186, allocations: 59.91 kB / 0.7131 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.02186, allocations: 0 / 0.7131 GB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.0219, allocations: 15.98 kB / 0.7131 GB, free: 10.23 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.02191, allocations: 4 kB / 0.7131 GB, free: 10.23 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02191, allocations: 0 / 0.7131 GB, free: 10.23 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.02326, allocations: 0.7639 MB / 0.7139 GB, free: 9.41 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.02339, allocations: 55.77 kB / 0.7139 GB, free: 9.355 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.02347, allocations: 16 kB / 0.7139 GB, free: 9.34 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.02368, allocations: 15.98 kB / 0.714 GB, free: 9.324 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.02379, allocations: 27.95 kB / 0.714 GB, free: 9.297 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.02382, allocations: 23.92 kB / 0.714 GB, free: 9.273 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000235/0.02406, allocations: 181.2 kB / 0.7142 GB, free: 9.098 MB / 426.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02406, allocations: 0 / 0.7142 GB, free: 9.098 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0004012/0.02446, allocations: 84 kB / 0.7143 GB, free: 9.016 MB / 426.8 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 0.0001837/0.02464, allocations: 128 kB / 0.7144 GB, free: 8.887 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009696/0.02561, allocations: 0.5847 MB / 0.7149 GB, free: 8.234 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02562, allocations: 0 / 0.7149 GB, free: 8.234 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.02609, allocations: 314 kB / 0.7152 GB, free: 7.891 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.02667, allocations: 96.55 kB / 0.7153 GB, free: 7.793 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.02846, allocations: 0.8501 MB / 0.7162 GB, free: 6.906 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.02865, allocations: 164.2 kB / 0.7163 GB, free: 6.723 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.02881, allocations: 30.97 kB / 0.7164 GB, free: 6.691 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.02891, allocations: 32.48 kB / 0.7164 GB, free: 6.66 MB / 426.8 MB Notification: Performance of SimCode: time 9.22e-07/0.02891, allocations: 0 / 0.7164 GB, free: 6.66 MB / 426.8 MB Notification: Performance of Templates: time 0.279/0.3079, allocations: 4.809 MB / 0.7211 GB, free: 35.63 MB / 426.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: 6.722569087985903]