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.0007938/0.0007938, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009424/0.001736, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007432/0.0007432, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008926/0.001636, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.071/1.071, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1289/1.199, allocations: 53.66 MB / 243.2 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.8799/0.8799, allocations: 291.2 MB / 0.5226 GB, free: 52.91 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04123/0.9212, allocations: 21.04 MB / 0.5432 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 1.844e-06/1.844e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.679e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant): time 0.003113/0.00314, allocations: 3.281 MB / 0.5477 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.00429, allocations: 0.7283 MB / 0.5484 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.004444, allocations: 4 kB / 0.5484 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.241e-05/0.004536, allocations: 43.58 kB / 0.5485 GB, free: 26.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.004755, allocations: 126.9 kB / 0.5486 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.004989, allocations: 83.89 kB / 0.5487 GB, free: 26.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.005377, allocations: 433.8 kB / 0.5491 GB, free: 25.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.005542, allocations: 71.58 kB / 0.5492 GB, free: 25.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.005848, allocations: 269.5 kB / 0.5494 GB, free: 25.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.006098, allocations: 123.7 kB / 0.5495 GB, free: 25.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.00614, allocations: 32 kB / 0.5496 GB, free: 25.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.682e-05/0.006177, allocations: 32 kB / 0.5496 GB, free: 25.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.006217, allocations: 47.81 kB / 0.5496 GB, free: 25.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.006321, allocations: 107.8 kB / 0.5497 GB, free: 25.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.006575, allocations: 227.2 kB / 0.55 GB, free: 24.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-05/0.0066, allocations: 0 / 0.55 GB, free: 24.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006601, allocations: 0 / 0.55 GB, free: 24.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.174e-05/0.006623, allocations: 0 / 0.55 GB, free: 24.97 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.0007912/0.007414, allocations: 0.6357 MB / 0.5506 GB, free: 24.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.007455, allocations: 11.89 kB / 0.5506 GB, free: 24.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.007522, allocations: 44.91 kB / 0.5506 GB, free: 24.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.007758, allocations: 197.5 kB / 0.5508 GB, free: 24.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.007783, allocations: 16.88 kB / 0.5508 GB, free: 24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.007818, allocations: 20.38 kB / 0.5509 GB, free: 23.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.008073, allocations: 242.5 kB / 0.5511 GB, free: 23.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.00809, allocations: 7.938 kB / 0.5511 GB, free: 23.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.008105, allocations: 8 kB / 0.5511 GB, free: 23.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.008113, allocations: 7.938 kB / 0.5511 GB, free: 23.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.008247, allocations: 145.5 kB / 0.5512 GB, free: 23.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.00884, allocations: 488.6 kB / 0.5517 GB, free: 23.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.009109, allocations: 168.1 kB / 0.5519 GB, free: 22.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.009171, allocations: 104.5 kB / 0.552 GB, free: 22.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.009184, allocations: 7.938 kB / 0.552 GB, free: 22.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.009404, allocations: 330.8 kB / 0.5523 GB, free: 22.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.815e-06/0.009406, allocations: 0 / 0.5523 GB, free: 22.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009105/0.01032, allocations: 0.8227 MB / 0.5531 GB, free: 21.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.01038, allocations: 217.6 kB / 0.5533 GB, free: 21.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.01051, allocations: 232.9 kB / 0.5535 GB, free: 20.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.01053, allocations: 37.69 kB / 0.5536 GB, free: 20.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.01058, allocations: 133.3 kB / 0.5537 GB, free: 20.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.01063, allocations: 123 kB / 0.5538 GB, free: 20.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.0107, allocations: 74.16 kB / 0.5539 GB, free: 20.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.01075, allocations: 346.7 kB / 0.5542 GB, free: 20.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.954e-05/0.01085, allocations: 143.9 kB / 0.5544 GB, free: 20.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.301e-05/0.01094, allocations: 254.9 kB / 0.5546 GB, free: 19.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.01112, allocations: 338.3 kB / 0.5549 GB, free: 19.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.01112, allocations: 3.938 kB / 0.5549 GB, free: 19.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002385/0.01136, allocations: 400.7 kB / 0.5553 GB, free: 18.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.01141, allocations: 89.11 kB / 0.5554 GB, free: 18.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.01142, allocations: 0 / 0.5554 GB, free: 18.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01143, allocations: 8 kB / 0.5554 GB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.01169, allocations: 111.8 kB / 0.5555 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.0117, allocations: 4 kB / 0.5555 GB, free: 18.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.01181, allocations: 19.98 kB / 0.5555 GB, free: 18.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.01182, allocations: 16.09 kB / 0.5555 GB, free: 18.66 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.0001608/0.01198, allocations: 222.4 kB / 0.5558 GB, free: 18.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.01202, allocations: 31.97 kB / 0.5558 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.01206, allocations: 38.95 kB / 0.5558 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01206, allocations: 0 / 0.5558 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01207, allocations: 0 / 0.5558 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.01207, allocations: 10.92 kB / 0.5558 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.01249, allocations: 0.537 MB / 0.5564 GB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01249, allocations: 0 / 0.5564 GB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.0127, allocations: 71.94 kB / 0.5564 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.01276, allocations: 31.8 kB / 0.5565 GB, free: 17.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.01277, allocations: 4 kB / 0.5565 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01278, allocations: 8 kB / 0.5565 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.01279, allocations: 0 / 0.5565 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01279, allocations: 3.938 kB / 0.5565 GB, free: 17.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.0131, allocations: 0.5354 MB / 0.557 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.01314, allocations: 16 kB / 0.557 GB, free: 17.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.01324, allocations: 19.92 kB / 0.557 GB, free: 17.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.0133, allocations: 27.94 kB / 0.5571 GB, free: 16.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.01331, allocations: 12 kB / 0.5571 GB, free: 16.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.708e-05/0.01337, allocations: 78.72 kB / 0.5571 GB, free: 16.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01337, allocations: 0 / 0.5571 GB, free: 16.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000203/0.01357, allocations: 91.98 kB / 0.5572 GB, free: 16.8 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 0.0001049/0.01367, allocations: 103.3 kB / 0.5573 GB, free: 16.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.01394, allocations: 496 kB / 0.5578 GB, free: 16.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.01395, allocations: 3.984 kB / 0.5578 GB, free: 16.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.01405, allocations: 266.8 kB / 0.5581 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.01436, allocations: 127.7 kB / 0.5582 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/0.02165, allocations: 0.7849 MB / 0.5589 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.798e-05/0.02171, allocations: 93.12 kB / 0.559 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.02188, allocations: 38.95 kB / 0.5591 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.02209, allocations: 153.2 kB / 0.5592 GB, free: 14.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/0.02209, allocations: 0 / 0.5592 GB, free: 14.6 MB / 410.7 MB Notification: Performance of Templates: time 0.3399/0.362, allocations: 5.575 MB / 0.5647 GB, free: 83.93 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.353040229529142]