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.0009528/0.0009528, allocations: 108.4 kB / 19.71 MB, free: 436 kB / 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.001528/0.001528, allocations: 211 kB / 23 MB, free: 2.965 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.9785/0.9785, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.7047/0.7047, allocations: 312.3 MB / 0.6108 GB, free: 97.15 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 79.66 kB / 0.7699 GB, free: 19.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1255, allocations: 73.99 MB / 0.8421 GB, free: 9.832 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant): time 0.003355/0.1288, allocations: 2.997 MB / 0.8451 GB, free: 6.836 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.1298, allocations: 0.687 MB / 0.8457 GB, free: 6.156 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1299, allocations: 4.719 kB / 0.8457 GB, free: 6.152 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.13, allocations: 44.19 kB / 0.8458 GB, free: 6.109 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1302, allocations: 120.2 kB / 0.8459 GB, free: 5.992 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.1304, allocations: 84.48 kB / 0.846 GB, free: 5.91 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.1307, allocations: 414.8 kB / 0.8464 GB, free: 5.504 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1309, allocations: 57.62 kB / 0.8464 GB, free: 5.445 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.131, allocations: 152 kB / 0.8466 GB, free: 5.297 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.1312, allocations: 143.9 kB / 0.8467 GB, free: 5.156 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.1313, allocations: 32.5 kB / 0.8467 GB, free: 5.125 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.722e-05/0.1313, allocations: 32 kB / 0.8468 GB, free: 5.094 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.1313, allocations: 60.36 kB / 0.8468 GB, free: 5.035 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.1315, allocations: 151.8 kB / 0.847 GB, free: 4.887 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.1317, allocations: 354.7 kB / 0.8473 GB, free: 4.539 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1317, allocations: 0.625 kB / 0.8473 GB, free: 4.539 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1317, allocations: 4.656 kB / 0.8473 GB, free: 4.535 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1317, allocations: 0 / 0.8473 GB, free: 4.535 MB / 474.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.0007462/0.1325, allocations: 0.6018 MB / 0.8479 GB, free: 3.887 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1325, allocations: 12.03 kB / 0.8479 GB, free: 3.875 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.1326, allocations: 33.47 kB / 0.8479 GB, free: 3.844 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1328, allocations: 240.9 kB / 0.8482 GB, free: 3.582 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1328, allocations: 17.5 kB / 0.8482 GB, free: 3.566 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.1329, allocations: 28.59 kB / 0.8482 GB, free: 3.539 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.1332, allocations: 297.8 kB / 0.8485 GB, free: 3.223 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1332, allocations: 0 / 0.8485 GB, free: 3.223 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1332, allocations: 8.625 kB / 0.8485 GB, free: 3.215 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1332, allocations: 4 kB / 0.8485 GB, free: 3.211 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.1335, allocations: 249.6 kB / 0.8488 GB, free: 2.953 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.1343, allocations: 0.6477 MB / 0.8494 GB, free: 2.273 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.1347, allocations: 276.4 kB / 0.8497 GB, free: 1.984 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.1349, allocations: 157.1 kB / 0.8498 GB, free: 1.816 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1349, allocations: 4.594 kB / 0.8498 GB, free: 1.812 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/0.1352, allocations: 364 kB / 0.8502 GB, free: 1.406 MB / 474.8 MB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.1352, allocations: 4.562 kB / 0.8502 GB, free: 1.402 MB / 474.8 MB Notification: Performance of matching and sorting (n=35): time 0.001588/0.1368, allocations: 1.141 MB / 0.8513 GB, free: 176 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.422e-05/0.1369, allocations: 226.2 kB / 0.8515 GB, free: 15.9 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1371, allocations: 249.1 kB / 0.8517 GB, free: 15.65 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1371, allocations: 38.33 kB / 0.8518 GB, free: 15.61 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.545e-05/0.1372, allocations: 148.9 kB / 0.8519 GB, free: 15.46 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.1372, allocations: 127.5 kB / 0.852 GB, free: 15.33 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.1373, allocations: 70.62 kB / 0.8521 GB, free: 15.26 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.1374, allocations: 351.4 kB / 0.8524 GB, free: 14.91 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.1376, allocations: 216.3 kB / 0.8526 GB, free: 14.68 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.1378, allocations: 326.8 kB / 0.8529 GB, free: 14.29 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.1382, allocations: 452.6 kB / 0.8534 GB, free: 13.79 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1382, allocations: 4 kB / 0.8534 GB, free: 13.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005179/0.1387, allocations: 0.5716 MB / 0.8539 GB, free: 13.17 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.213e-05/0.1387, allocations: 91.09 kB / 0.854 GB, free: 13.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1387, allocations: 4 kB / 0.854 GB, free: 13.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1388, allocations: 4 kB / 0.854 GB, free: 13.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.1389, allocations: 83.83 kB / 0.8541 GB, free: 12.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1389, allocations: 4 kB / 0.8541 GB, free: 12.97 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1391, allocations: 26.36 kB / 0.8541 GB, free: 12.95 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.1391, allocations: 27.98 kB / 0.8542 GB, free: 12.92 MB / 490.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.0002377/0.1393, allocations: 233.8 kB / 0.8544 GB, free: 12.68 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.1394, allocations: 39.69 kB / 0.8544 GB, free: 12.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.1394, allocations: 34.94 kB / 0.8545 GB, free: 12.6 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1394, allocations: 4 kB / 0.8545 GB, free: 12.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1394, allocations: 0 / 0.8545 GB, free: 12.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1394, allocations: 5.219 kB / 0.8545 GB, free: 12.59 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/0.1402, allocations: 0.806 MB / 0.8553 GB, free: 11.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1402, allocations: 5.031 kB / 0.8553 GB, free: 11.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.1404, allocations: 51.97 kB / 0.8553 GB, free: 11.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1404, allocations: 4.594 kB / 0.8553 GB, free: 11.67 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.1404, allocations: 12.73 kB / 0.8553 GB, free: 11.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.1404, allocations: 3.938 kB / 0.8553 GB, free: 11.65 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1404, allocations: 0.6875 kB / 0.8553 GB, free: 11.65 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2519/0.3923, allocations: 0.7637 MB / 0.8561 GB, free: 29.26 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3924, allocations: 54.25 kB / 0.8561 GB, free: 29.26 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.3925, allocations: 19.41 kB / 0.8561 GB, free: 29.26 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.3926, allocations: 18.98 kB / 0.8562 GB, free: 29.26 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.3927, allocations: 28.73 kB / 0.8562 GB, free: 29.26 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.3927, allocations: 13.38 kB / 0.8562 GB, free: 29.26 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001226/0.3928, allocations: 180.5 kB / 0.8564 GB, free: 29.18 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3928, allocations: 1.938 kB / 0.8564 GB, free: 29.18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002725/0.3931, allocations: 86.12 kB / 0.8565 GB, free: 29.18 MB / 490.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 8.881e-05/0.3932, allocations: 119.7 kB / 0.8566 GB, free: 29.09 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004667/0.3937, allocations: 0.5874 MB / 0.8572 GB, free: 28.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3937, allocations: 1.812 kB / 0.8572 GB, free: 28.75 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.3939, allocations: 318.2 kB / 0.8575 GB, free: 28.56 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.3942, allocations: 87.98 kB / 0.8575 GB, free: 28.56 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.3953, allocations: 1.062 MB / 0.8586 GB, free: 28.09 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.324e-05/0.3954, allocations: 160.9 kB / 0.8587 GB, free: 28.01 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.3955, allocations: 30.75 kB / 0.8588 GB, free: 28 MB / 490.8 MB Notification: Performance of SimCode: time 5.31e-07/0.3955, allocations: 0 / 0.8588 GB, free: 28 MB / 490.8 MB Notification: Performance of Templates: time 0.005033/0.4005, allocations: 4.316 MB / 0.863 GB, free: 27.61 MB / 490.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: 5.902377560734749]