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.0007171/0.0007171, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009511/0.001668, allocations: 443.8 kB / 10.3 MB, free: 400 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.000721/0.000721, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008926/0.001614, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9409/0.9409, allocations: 177.2 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07103/1.012, allocations: 53.66 MB / 243.2 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.9413/0.9413, allocations: 291.1 MB / 0.5225 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02377/0.9651, 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 6.01e-07/6.01e-07, allocations: 3.938 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.68e-06/6.281e-06, allocations: 2.312 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant): time 0.002266/0.002273, allocations: 3.271 MB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007967/0.003069, allocations: 0.7245 MB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.114e-05/0.00316, allocations: 4 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.822e-05/0.003229, allocations: 39.58 kB / 0.5484 GB, free: 26.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.00339, allocations: 130.9 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.003528, allocations: 83.78 kB / 0.5486 GB, free: 26.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.003773, allocations: 437.9 kB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.003886, allocations: 67.58 kB / 0.549 GB, free: 25.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.004098, allocations: 257.5 kB / 0.5493 GB, free: 25.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.004256, allocations: 131.6 kB / 0.5494 GB, free: 25.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.004288, allocations: 32 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.503e-05/0.004323, allocations: 32 kB / 0.5495 GB, free: 25.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.004354, allocations: 47.81 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.00443, allocations: 95.88 kB / 0.5496 GB, free: 25.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.004613, allocations: 231.2 kB / 0.5498 GB, free: 25.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.304e-05/0.004626, allocations: 4 kB / 0.5498 GB, free: 25.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004626, allocations: 4 kB / 0.5498 GB, free: 25.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.004638, allocations: 0 / 0.5498 GB, free: 25.03 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.0005983/0.005236, allocations: 0.6357 MB / 0.5505 GB, free: 24.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.516e-05/0.005261, allocations: 15.89 kB / 0.5505 GB, free: 24.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.005313, allocations: 36.91 kB / 0.5505 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.005474, allocations: 197.5 kB / 0.5507 GB, free: 24.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.005496, allocations: 16.88 kB / 0.5507 GB, free: 24.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.005524, allocations: 24.38 kB / 0.5507 GB, free: 24.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.005716, allocations: 250.5 kB / 0.551 GB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.005728, allocations: 0 / 0.551 GB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.005742, allocations: 15.92 kB / 0.551 GB, free: 23.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.005748, allocations: 4 kB / 0.551 GB, free: 23.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.005859, allocations: 145.6 kB / 0.5511 GB, free: 23.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.006317, allocations: 476.7 kB / 0.5516 GB, free: 23.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.006506, allocations: 183 kB / 0.5518 GB, free: 22.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.006558, allocations: 103.6 kB / 0.5519 GB, free: 22.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.006569, allocations: 7.938 kB / 0.5519 GB, free: 22.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.006739, allocations: 319.4 kB / 0.5522 GB, free: 22.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.432e-06/0.00674, allocations: 0 / 0.5522 GB, free: 22.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006736/0.007414, allocations: 0.8305 MB / 0.553 GB, free: 21.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.007454, allocations: 225.5 kB / 0.5532 GB, free: 21.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.007548, allocations: 221 kB / 0.5534 GB, free: 21.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.007565, allocations: 41.7 kB / 0.5535 GB, free: 20.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.007598, allocations: 137.3 kB / 0.5536 GB, free: 20.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.007649, allocations: 119 kB / 0.5537 GB, free: 20.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.007709, allocations: 70.16 kB / 0.5538 GB, free: 20.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.007743, allocations: 346.7 kB / 0.5541 GB, free: 20.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-05/0.007812, allocations: 147.9 kB / 0.5542 GB, free: 20.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.007898, allocations: 254.9 kB / 0.5545 GB, free: 19.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.008049, allocations: 342.3 kB / 0.5548 GB, free: 19.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.008051, allocations: 7.875 kB / 0.5548 GB, free: 19.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002068/0.008258, allocations: 388.5 kB / 0.5552 GB, free: 18.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.008297, allocations: 85.11 kB / 0.5553 GB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.008302, allocations: 4.344 kB / 0.5553 GB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.008311, allocations: 8 kB / 0.5553 GB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.008529, allocations: 115.2 kB / 0.5554 GB, free: 18.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.008534, allocations: 8 kB / 0.5554 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.008683, allocations: 19.98 kB / 0.5554 GB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.0087, allocations: 12 kB / 0.5554 GB, free: 18.72 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.0001216/0.008821, allocations: 215.7 kB / 0.5556 GB, free: 18.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.008854, allocations: 35.97 kB / 0.5557 GB, free: 18.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.008886, allocations: 30.95 kB / 0.5557 GB, free: 18.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.008888, allocations: 4 kB / 0.5557 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.00889, allocations: 0 / 0.5557 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008894, allocations: 3.984 kB / 0.5557 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.009253, allocations: 0.5447 MB / 0.5562 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009254, allocations: 0 / 0.5562 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.009445, allocations: 71.94 kB / 0.5563 GB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.009501, allocations: 35.8 kB / 0.5563 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.009503, allocations: 3.938 kB / 0.5563 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.009519, allocations: 15.31 kB / 0.5564 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.009521, allocations: 4 kB / 0.5564 GB, free: 17.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009522, allocations: 3.938 kB / 0.5564 GB, free: 17.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.009782, allocations: 0.5237 MB / 0.5569 GB, free: 17.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.009816, allocations: 23.92 kB / 0.5569 GB, free: 17.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.009911, allocations: 12 kB / 0.5569 GB, free: 17.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.009962, allocations: 35.92 kB / 0.5569 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.009973, allocations: 4 kB / 0.5569 GB, free: 17.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.136e-05/0.01002, allocations: 86.7 kB / 0.557 GB, free: 16.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01002, allocations: 0 / 0.557 GB, free: 16.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001916/0.01022, allocations: 88 kB / 0.5571 GB, free: 16.86 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.254e-05/0.01028, allocations: 100.1 kB / 0.5572 GB, free: 16.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.0105, allocations: 495.9 kB / 0.5577 GB, free: 16.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.0105, allocations: 4 kB / 0.5577 GB, free: 16.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.0106, allocations: 266.8 kB / 0.5579 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.01088, allocations: 130.8 kB / 0.5581 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007845/0.01873, allocations: 0.7786 MB / 0.5588 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.759e-05/0.01879, allocations: 164.3 kB / 0.559 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.01899, allocations: 161.3 kB / 0.5591 GB, free: 14.62 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01899, allocations: 0 / 0.5591 GB, free: 14.62 MB / 410.7 MB Notification: Performance of Templates: time 0.1894/0.2084, allocations: 4.298 MB / 0.5633 GB, free: 84.32 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 > Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.413529381155968]