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.0008529/0.0008529, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009372/0.00179, allocations: 455.9 kB / 10.35 MB, free: 348 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.0007418/0.0007418, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009557/0.001698, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.8925/0.8925, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07746/0.97, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.6637/0.6637, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0229/0.6866, allocations: 21.05 MB / 0.5432 GB, free: 31.72 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 1.452e-06/1.452e-06, allocations: 3.938 kB / 0.5446 GB, free: 30.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.176e-06/9.628e-06, allocations: 6.25 kB / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant): time 0.00221/0.002219, allocations: 3.273 MB / 0.5478 GB, free: 27.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007485/0.002968, allocations: 0.7361 MB / 0.5485 GB, free: 26.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.607e-05/0.003054, allocations: 4 kB / 0.5485 GB, free: 26.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.427e-05/0.003118, allocations: 43.56 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.003273, allocations: 123 kB / 0.5487 GB, free: 26.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.003402, allocations: 91.78 kB / 0.5488 GB, free: 26.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.003632, allocations: 433.9 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.00375, allocations: 67.59 kB / 0.5493 GB, free: 25.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.003982, allocations: 261.5 kB / 0.5495 GB, free: 25.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.00414, allocations: 127.6 kB / 0.5496 GB, free: 25.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.004178, allocations: 35.94 kB / 0.5497 GB, free: 25.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.452e-05/0.004212, allocations: 32 kB / 0.5497 GB, free: 25.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.004243, allocations: 47.81 kB / 0.5497 GB, free: 25.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.004315, allocations: 107.8 kB / 0.5498 GB, free: 24.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.004495, allocations: 219.3 kB / 0.55 GB, free: 24.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.004504, allocations: 4 kB / 0.5501 GB, free: 24.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004505, allocations: 0 / 0.5501 GB, free: 24.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.004514, allocations: 0 / 0.5501 GB, free: 24.74 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.0005334/0.005048, allocations: 0.6396 MB / 0.5507 GB, free: 24.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.557e-05/0.005073, allocations: 11.89 kB / 0.5507 GB, free: 24.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.005117, allocations: 36.91 kB / 0.5507 GB, free: 24.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.005276, allocations: 204.5 kB / 0.5509 GB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.005293, allocations: 20.88 kB / 0.5509 GB, free: 23.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.005322, allocations: 24.36 kB / 0.551 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.005498, allocations: 242.2 kB / 0.5512 GB, free: 23.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.00551, allocations: 11.97 kB / 0.5512 GB, free: 23.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.005522, allocations: 4 kB / 0.5512 GB, free: 23.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.005527, allocations: 4 kB / 0.5512 GB, free: 23.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.005629, allocations: 138.5 kB / 0.5513 GB, free: 23.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.006073, allocations: 489.8 kB / 0.5518 GB, free: 22.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.006259, allocations: 174.9 kB / 0.552 GB, free: 22.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.006309, allocations: 104.5 kB / 0.5521 GB, free: 22.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.006319, allocations: 7.938 kB / 0.5521 GB, free: 22.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.006474, allocations: 323.4 kB / 0.5524 GB, free: 22.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.393e-06/0.006475, allocations: 0 / 0.5524 GB, free: 22.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006614/0.007137, allocations: 0.8344 MB / 0.5532 GB, free: 21.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.007176, allocations: 277 kB / 0.5535 GB, free: 20.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.007271, allocations: 229 kB / 0.5537 GB, free: 20.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.007285, allocations: 37.69 kB / 0.5537 GB, free: 20.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.00732, allocations: 133.3 kB / 0.5539 GB, free: 20.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.007361, allocations: 119 kB / 0.554 GB, free: 20.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.00742, allocations: 74.16 kB / 0.554 GB, free: 20.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.945e-05/0.007449, allocations: 346.7 kB / 0.5544 GB, free: 19.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.007516, allocations: 151.9 kB / 0.5545 GB, free: 19.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.876e-05/0.007605, allocations: 254.8 kB / 0.5548 GB, free: 19.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.007755, allocations: 334.3 kB / 0.5551 GB, free: 19.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007757, allocations: 3.938 kB / 0.5551 GB, free: 19.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000197/0.007954, allocations: 388.5 kB / 0.5554 GB, free: 18.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.007985, allocations: 97.44 kB / 0.5555 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.00799, allocations: 4 kB / 0.5555 GB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.007998, allocations: 4 kB / 0.5555 GB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.00821, allocations: 111.9 kB / 0.5557 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.008215, allocations: 7.938 kB / 0.5557 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.475e-05/0.00831, allocations: 19.98 kB / 0.5557 GB, free: 18.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.008324, allocations: 12 kB / 0.5557 GB, free: 18.35 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.000108/0.008432, allocations: 218.9 kB / 0.5559 GB, free: 18.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.00846, allocations: 35.97 kB / 0.5559 GB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.008489, allocations: 30.95 kB / 0.556 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.008491, allocations: 4 kB / 0.556 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.008493, allocations: 0 / 0.556 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.008497, allocations: 3.984 kB / 0.556 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.008832, allocations: 0.5408 MB / 0.5565 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.008834, allocations: 0 / 0.5565 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.009006, allocations: 83.81 kB / 0.5566 GB, free: 17.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.009062, allocations: 31.8 kB / 0.5566 GB, free: 17.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.009064, allocations: 0 / 0.5566 GB, free: 17.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.00908, allocations: 11.98 kB / 0.5566 GB, free: 17.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.009081, allocations: 4 kB / 0.5566 GB, free: 17.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009082, allocations: 3.938 kB / 0.5566 GB, free: 17.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.00933, allocations: 0.5336 MB / 0.5572 GB, free: 16.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.009361, allocations: 19.12 kB / 0.5572 GB, free: 16.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.009449, allocations: 15.98 kB / 0.5572 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.009498, allocations: 27.94 kB / 0.5572 GB, free: 16.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.009511, allocations: 12 kB / 0.5572 GB, free: 16.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.009556, allocations: 82.72 kB / 0.5573 GB, free: 16.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009556, allocations: 0 / 0.5573 GB, free: 16.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000184/0.00974, allocations: 84 kB / 0.5574 GB, free: 16.5 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.627e-05/0.009796, allocations: 100.3 kB / 0.5575 GB, free: 16.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.01001, allocations: 496 kB / 0.558 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.01001, allocations: 11.98 kB / 0.558 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.01012, allocations: 279.7 kB / 0.5582 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.01038, allocations: 132.2 kB / 0.5584 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007445/0.01783, allocations: 0.7686 MB / 0.5591 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.695e-05/0.01786, allocations: 93.12 kB / 0.5592 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.64e-05/0.01796, allocations: 42.94 kB / 0.5592 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1989/0.2169, allocations: 147.5 kB / 0.5594 GB, free: 84.75 MB / 410.8 MB Notification: Performance of SimCode: time 8.22e-07/0.2169, allocations: 0 / 0.5594 GB, free: 84.75 MB / 410.8 MB Notification: Performance of Templates: time 0.007843/0.2247, allocations: 5.569 MB / 0.5648 GB, free: 83.91 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: 3.2776665734127164]