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.001778/0.001778, allocations: 109.5 kB / 18.95 MB, free: 1.176 MB / 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.002076/0.002076, allocations: 217 kB / 22.25 MB, free: 3.566 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.702/1.702, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 178] 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 2.032/2.032, allocations: 316.8 MB / 0.6144 GB, free: 93 MB / 410.7 MB " [Timeout remaining time 177] 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.003544/0.003544, allocations: 69.58 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1976, allocations: 73.99 MB / 0.8473 GB, free: 4.859 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Paracetamol.Paracetamol_Briant): time 0.006558/0.2041, allocations: 3 MB / 0.8502 GB, free: 1.859 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.206, allocations: 0.6986 MB / 0.8509 GB, free: 1.168 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.2062, allocations: 0.5625 kB / 0.8509 GB, free: 1.168 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.2064, allocations: 44.06 kB / 0.8509 GB, free: 1.125 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.2068, allocations: 124.2 kB / 0.851 GB, free: 1.004 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.207, allocations: 85.03 kB / 0.8511 GB, free: 0.9219 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000529/0.2076, allocations: 406.2 kB / 0.8515 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.2078, allocations: 62.25 kB / 0.8516 GB, free: 472 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.208, allocations: 155.4 kB / 0.8517 GB, free: 316 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.2083, allocations: 143.9 kB / 0.8518 GB, free: 172 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 6.444e-05/0.2084, allocations: 32.53 kB / 0.8519 GB, free: 140 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.2085, allocations: 32.59 kB / 0.8519 GB, free: 108 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.264e-05/0.2086, allocations: 63.77 kB / 0.852 GB, free: 44 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.2088, allocations: 144 kB / 0.8521 GB, free: 15.9 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.2093, allocations: 351.4 kB / 0.8524 GB, free: 15.55 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2093, allocations: 0 / 0.8524 GB, free: 15.55 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2093, allocations: 0.5938 kB / 0.8524 GB, free: 15.55 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.2093, allocations: 7.938 kB / 0.8524 GB, free: 15.55 MB / 490.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.0013/0.2106, allocations: 0.6056 MB / 0.853 GB, free: 14.89 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.2106, allocations: 12.73 kB / 0.853 GB, free: 14.88 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.2107, allocations: 32.75 kB / 0.8531 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.2111, allocations: 229.5 kB / 0.8533 GB, free: 14.6 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.2112, allocations: 17.38 kB / 0.8533 GB, free: 14.58 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.2112, allocations: 24.5 kB / 0.8533 GB, free: 14.56 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000634/0.2119, allocations: 301.8 kB / 0.8536 GB, free: 14.24 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.2119, allocations: 4 kB / 0.8536 GB, free: 14.24 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.2119, allocations: 4.5 kB / 0.8536 GB, free: 14.23 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.2119, allocations: 8.688 kB / 0.8536 GB, free: 14.23 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005648/0.2125, allocations: 252.9 kB / 0.8539 GB, free: 13.96 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.2139, allocations: 0.6482 MB / 0.8545 GB, free: 13.29 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007887/0.2147, allocations: 271.3 kB / 0.8548 GB, free: 13 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.215, allocations: 157 kB / 0.8549 GB, free: 12.83 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.215, allocations: 4 kB / 0.8549 GB, free: 12.83 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4554/0.6704, allocations: 372.3 kB / 0.8553 GB, free: 28.61 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 4.609e-06/0.6705, allocations: 0 / 0.8553 GB, free: 28.61 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.002335/0.6728, allocations: 1.136 MB / 0.8564 GB, free: 28.1 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/0.6729, allocations: 217.5 kB / 0.8566 GB, free: 27.85 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.6732, allocations: 247.7 kB / 0.8568 GB, free: 27.75 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.6732, allocations: 37.2 kB / 0.8569 GB, free: 27.72 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.6733, allocations: 156.6 kB / 0.857 GB, free: 27.62 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.387e-05/0.6734, allocations: 119.6 kB / 0.8571 GB, free: 27.55 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.6735, allocations: 74.52 kB / 0.8572 GB, free: 27.53 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.366e-05/0.6736, allocations: 343.9 kB / 0.8575 GB, free: 27.22 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.6739, allocations: 224.6 kB / 0.8577 GB, free: 27.11 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.6742, allocations: 325.2 kB / 0.8581 GB, free: 26.89 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005494/0.6748, allocations: 456.9 kB / 0.8585 GB, free: 26.63 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6748, allocations: 1.594 kB / 0.8585 GB, free: 26.63 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008056/0.6756, allocations: 0.5733 MB / 0.8591 GB, free: 26.39 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/0.6757, allocations: 90.92 kB / 0.8591 GB, free: 26.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6757, allocations: 4.562 kB / 0.8591 GB, free: 26.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.6757, allocations: 5.438 kB / 0.8591 GB, free: 26.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.676, allocations: 84.12 kB / 0.8592 GB, free: 26.29 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.676, allocations: 8.5 kB / 0.8592 GB, free: 26.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.6762, allocations: 22.41 kB / 0.8593 GB, free: 26.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.6763, allocations: 15.36 kB / 0.8593 GB, free: 26.29 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.0002433/0.6765, allocations: 239.4 kB / 0.8595 GB, free: 26.11 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.6766, allocations: 36.83 kB / 0.8595 GB, free: 26.09 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.292e-05/0.6766, allocations: 32.5 kB / 0.8596 GB, free: 26.08 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6766, allocations: 3.938 kB / 0.8596 GB, free: 26.08 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.6766, allocations: 0.625 kB / 0.8596 GB, free: 26.08 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.6766, allocations: 3.688 kB / 0.8596 GB, free: 26.08 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.6778, allocations: 0.8113 MB / 0.8604 GB, free: 25.72 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6778, allocations: 0.5 kB / 0.8604 GB, free: 25.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.6781, allocations: 58.39 kB / 0.8604 GB, free: 25.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6781, allocations: 0 / 0.8604 GB, free: 25.71 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.6781, allocations: 18.11 kB / 0.8604 GB, free: 25.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.6781, allocations: 0 / 0.8604 GB, free: 25.71 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.6781, allocations: 0.625 kB / 0.8604 GB, free: 25.71 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009885/0.6791, allocations: 0.7716 MB / 0.8612 GB, free: 25.36 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.6792, allocations: 48.61 kB / 0.8612 GB, free: 25.35 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.6793, allocations: 15.39 kB / 0.8613 GB, free: 25.35 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.6794, allocations: 18.36 kB / 0.8613 GB, free: 25.35 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.6795, allocations: 32.94 kB / 0.8613 GB, free: 25.35 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.6796, allocations: 13.61 kB / 0.8613 GB, free: 25.35 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001458/0.6797, allocations: 180.6 kB / 0.8615 GB, free: 25.27 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6797, allocations: 6.094 kB / 0.8615 GB, free: 25.27 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003466/0.6801, allocations: 86.56 kB / 0.8616 GB, free: 25.27 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 0.0001197/0.6802, allocations: 123.6 kB / 0.8617 GB, free: 25.18 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007038/0.6809, allocations: 0.5945 MB / 0.8623 GB, free: 24.81 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6809, allocations: 0 / 0.8623 GB, free: 24.81 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.6812, allocations: 313.2 kB / 0.8626 GB, free: 24.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.6818, allocations: 93.64 kB / 0.8627 GB, free: 24.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.6835, allocations: 1.041 MB / 0.8637 GB, free: 24.12 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.6836, allocations: 161.4 kB / 0.8638 GB, free: 24.04 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.6838, allocations: 37.03 kB / 0.8639 GB, free: 24.03 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.851e-05/0.6839, allocations: 29.17 kB / 0.8639 GB, free: 24.02 MB / 490.8 MB Notification: Performance of SimCode: time 5.91e-07/0.6839, allocations: 4.969 kB / 0.8639 GB, free: 24.02 MB / 490.8 MB Notification: Performance of Templates: time 0.01118/0.6951, allocations: 5.258 MB / 0.869 GB, free: 23.49 MB / 490.8 MB " [Timeout remaining time 659] 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: 8.371412018081173]