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.0007682/0.0007682, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001799, allocations: 443.9 kB / 10.36 MB, free: 332 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.0007282/0.0007282, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009969/0.001725, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9968/0.9968, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08532/1.082, allocations: 53.66 MB / 243.3 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.931/1.931, allocations: 291.1 MB / 0.5226 GB, free: 52.79 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0322/1.964, allocations: 21.05 MB / 0.5431 GB, free: 31.8 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.272e-06/1.272e-06, allocations: 0 / 0.5445 GB, free: 30.42 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113e-05/1.24e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.41 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant): time 0.002395/0.002408, allocations: 3.275 MB / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008076/0.003215, allocations: 0.7322 MB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.00329, allocations: 0 / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.264e-05/0.003343, allocations: 43.56 kB / 0.5485 GB, free: 26.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.003468, allocations: 130.9 kB / 0.5486 GB, free: 26.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.003581, allocations: 87.83 kB / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.003805, allocations: 437.8 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.204e-05/0.003897, allocations: 67.58 kB / 0.5491 GB, free: 25.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.004078, allocations: 257.6 kB / 0.5494 GB, free: 25.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.004231, allocations: 131.6 kB / 0.5495 GB, free: 25.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.004258, allocations: 32 kB / 0.5495 GB, free: 25.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.823e-05/0.004286, allocations: 32 kB / 0.5496 GB, free: 25.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.004314, allocations: 47.8 kB / 0.5496 GB, free: 25.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.004381, allocations: 103.8 kB / 0.5497 GB, free: 25.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.004537, allocations: 223.2 kB / 0.5499 GB, free: 24.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.004544, allocations: 8 kB / 0.5499 GB, free: 24.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004544, allocations: 0 / 0.5499 GB, free: 24.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.004551, allocations: 0 / 0.5499 GB, free: 24.82 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.0004368/0.004988, allocations: 0.6317 MB / 0.5506 GB, free: 24.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.913e-05/0.005007, allocations: 11.89 kB / 0.5506 GB, free: 24.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.005045, allocations: 40.91 kB / 0.5506 GB, free: 24.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.005211, allocations: 197.5 kB / 0.5508 GB, free: 23.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.005227, allocations: 24.86 kB / 0.5508 GB, free: 23.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.005249, allocations: 20.38 kB / 0.5508 GB, free: 23.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.005413, allocations: 250.1 kB / 0.5511 GB, free: 23.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.005421, allocations: 0 / 0.5511 GB, free: 23.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.005435, allocations: 12 kB / 0.5511 GB, free: 23.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.00544, allocations: 7.984 kB / 0.5511 GB, free: 23.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.545e-05/0.005535, allocations: 134.6 kB / 0.5512 GB, free: 23.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.005929, allocations: 488.4 kB / 0.5517 GB, free: 22.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.006089, allocations: 179 kB / 0.5519 GB, free: 22.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.006146, allocations: 108.5 kB / 0.552 GB, free: 22.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.006154, allocations: 7.938 kB / 0.552 GB, free: 22.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.006292, allocations: 322.8 kB / 0.5523 GB, free: 22.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.303e-06/0.006294, allocations: 0 / 0.5523 GB, free: 22.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005785/0.006872, allocations: 0.8384 MB / 0.5531 GB, free: 21.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.006909, allocations: 277 kB / 0.5534 GB, free: 20.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.007, allocations: 232.9 kB / 0.5536 GB, free: 20.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.007013, allocations: 33.7 kB / 0.5536 GB, free: 20.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.007043, allocations: 133.3 kB / 0.5537 GB, free: 20.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.007091, allocations: 119 kB / 0.5539 GB, free: 20.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.007149, allocations: 74.16 kB / 0.5539 GB, free: 20.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.258e-05/0.007181, allocations: 350.7 kB / 0.5543 GB, free: 20 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.007246, allocations: 143.9 kB / 0.5544 GB, free: 19.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.562e-05/0.007341, allocations: 254.9 kB / 0.5546 GB, free: 19.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.007481, allocations: 338.3 kB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007483, allocations: 4 kB / 0.555 GB, free: 19.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000197/0.00768, allocations: 392.5 kB / 0.5553 GB, free: 18.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.007703, allocations: 89.45 kB / 0.5554 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.007707, allocations: 8 kB / 0.5554 GB, free: 18.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.902e-06/0.007714, allocations: 4 kB / 0.5554 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.007907, allocations: 111.8 kB / 0.5556 GB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.007911, allocations: 7.938 kB / 0.5556 GB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.008004, allocations: 19.98 kB / 0.5556 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.008018, allocations: 12 kB / 0.5556 GB, free: 18.43 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.0001175/0.008135, allocations: 226.7 kB / 0.5558 GB, free: 18.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.008162, allocations: 27.97 kB / 0.5558 GB, free: 18.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.008191, allocations: 38.95 kB / 0.5559 GB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.008195, allocations: 3.984 kB / 0.5559 GB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.008196, allocations: 3.375 kB / 0.5559 GB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.00825, allocations: 27.81 kB / 0.5559 GB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.008262, allocations: 11.98 kB / 0.5559 GB, free: 18.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.008292, allocations: 16 kB / 0.5559 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.008357, allocations: 23.92 kB / 0.556 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.008397, allocations: 27.94 kB / 0.556 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002507/0.008648, allocations: 401.1 kB / 0.5564 GB, free: 17.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002509/0.008899, allocations: 0.5985 MB / 0.5569 GB, free: 16.93 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.438e-05/0.008973, allocations: 143.7 kB / 0.5571 GB, free: 16.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.627e-05/0.009029, allocations: 82.78 kB / 0.5572 GB, free: 16.7 MB / 410.7 MB Notification: Performance of Backend: time 1.2e-07/0.009029, allocations: 0 / 0.5572 GB, free: 16.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.009296, allocations: 476.4 kB / 0.5576 GB, free: 16.17 MB / 410.7 MB Notification: Performance of SimCode: time 0.007179/0.01647, allocations: 1.355 MB / 0.5589 GB, free: 14.74 MB / 410.7 MB Notification: Performance of Templates: time 0.2556/0.272, allocations: 5.518 MB / 0.5643 GB, free: 83.58 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 -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.734712124802172]