Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.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.001032/0.001032, allocations: 88.23 kB / 19.42 MB, free: 492 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.0009935/0.0009935, allocations: 169 kB / 22.72 MB, free: 1.824 MB / 18.57 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.9064/0.9064, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.576/1.576, allocations: 273.5 MB / 0.5205 GB, free: 14.8 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.PK_1C_GentamicinEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.6462 GB, free: 38.69 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.013e-05, allocations: 2.312 kB / 0.6462 GB, free: 38.68 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.001468/0.001488, allocations: 1.294 MB / 0.6475 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002138/0.001702, allocations: 95.28 kB / 0.6476 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.001727, allocations: 1.156 kB / 0.6476 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.001746, allocations: 3.938 kB / 0.6476 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/0.001802, allocations: 6.688 kB / 0.6476 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.00195, allocations: 6.531 kB / 0.6476 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.002015, allocations: 22.55 kB / 0.6476 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.002055, allocations: 1.875 kB / 0.6476 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.002085, allocations: 9.656 kB / 0.6476 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.002211, allocations: 5.703 kB / 0.6476 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.002225, allocations: 1.625 kB / 0.6476 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.002232, allocations: 2.547 kB / 0.6476 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.002241, allocations: 0 / 0.6476 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.002261, allocations: 4.25 kB / 0.6476 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.431e-05/0.002315, allocations: 12.42 kB / 0.6476 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002317, allocations: 1.75 kB / 0.6476 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002318, allocations: 0 / 0.6476 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.002321, allocations: 0 / 0.6476 GB, free: 37.75 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002421/0.002564, allocations: 350.8 kB / 0.648 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.002597, allocations: 6.625 kB / 0.648 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.002629, allocations: 6.031 kB / 0.648 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.861e-05/0.002687, allocations: 107.3 kB / 0.6481 GB, free: 37.26 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.002697, allocations: 5.469 kB / 0.6481 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.002714, allocations: 7.234 kB / 0.6481 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.606e-05/0.00279, allocations: 51.06 kB / 0.6482 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.002796, allocations: 192 / 0.6482 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.002803, allocations: 384 / 0.6482 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.002809, allocations: 1.5 kB / 0.6482 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.365e-05/0.002823, allocations: 11.25 kB / 0.6482 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.003177, allocations: 287.3 kB / 0.6484 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.155e-05/0.003209, allocations: 23.06 kB / 0.6485 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.003222, allocations: 13.5 kB / 0.6485 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.003228, allocations: 1.375 kB / 0.6485 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.003245, allocations: 41.91 kB / 0.6485 GB, free: 36.82 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.003246, allocations: 0.9062 kB / 0.6485 GB, free: 36.82 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001037/0.003349, allocations: 37.73 kB / 0.6486 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.003369, allocations: 54.06 kB / 0.6486 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.503e-05/0.003424, allocations: 166.5 kB / 0.6488 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-06/0.003428, allocations: 25.7 kB / 0.6488 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.003453, allocations: 128.2 kB / 0.6489 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/0.00346, allocations: 7.109 kB / 0.6489 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.00348, allocations: 19.38 kB / 0.6489 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.003522, allocations: 0.4888 MB / 0.6494 GB, free: 35.86 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.00353, allocations: 0 / 0.6494 GB, free: 35.86 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.003542, allocations: 23.25 kB / 0.6494 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.82e-05/0.00359, allocations: 29.34 kB / 0.6495 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.003591, allocations: 0 / 0.6495 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.944e-05/0.003641, allocations: 49.44 kB / 0.6495 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.003652, allocations: 5.875 kB / 0.6495 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.003657, allocations: 3.938 kB / 0.6495 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.00367, allocations: 1.625 kB / 0.6495 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-05/0.003695, allocations: 4.688 kB / 0.6495 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.0037, allocations: 1.5 kB / 0.6495 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.003716, allocations: 6.078 kB / 0.6495 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.003722, allocations: 0 / 0.6495 GB, free: 35.76 MB / 0.5262 GB Warning: Assuming fixed start value for the following 1 variables: C:VARIABLE(min = -1e-9 start = 0.022857142857142857 unit = \"kg/m3\" fixed = true ) \"Concentration of drug\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 8.016e-05/0.003802, allocations: 161.4 kB / 0.6497 GB, free: 35.6 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-06/0.003807, allocations: 0 / 0.6497 GB, free: 35.6 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.003826, allocations: 15.12 kB / 0.6497 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.003827, allocations: 0 / 0.6497 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.00383, allocations: 0 / 0.6497 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.003832, allocations: 0 / 0.6497 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.003978, allocations: 150.2 kB / 0.6499 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.003979, allocations: 0 / 0.6499 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.556e-05/0.003994, allocations: 8.906 kB / 0.6499 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.003996, allocations: 0 / 0.6499 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.004008, allocations: 0 / 0.6499 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.004009, allocations: 5.375 kB / 0.6499 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00401, allocations: 0 / 0.6499 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.199e-05/0.004092, allocations: 72.12 kB / 0.6499 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.004101, allocations: 5.281 kB / 0.6499 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.00411, allocations: 1.156 kB / 0.6499 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-06/0.004119, allocations: 4.75 kB / 0.6499 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.004131, allocations: 7.172 kB / 0.65 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.004132, allocations: 1.312 kB / 0.65 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.74e-05/0.004149, allocations: 123.4 kB / 0.6501 GB, free: 35.24 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.004149, allocations: 0 / 0.6501 GB, free: 35.24 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001154/0.004265, allocations: 3.188 kB / 0.6501 GB, free: 35.24 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 5.182e-05/0.004316, allocations: 100.1 kB / 0.6502 GB, free: 35.15 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 6.119e-05/0.004378, allocations: 19.69 kB / 0.6502 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.004379, allocations: 1.031 kB / 0.6502 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 7.143e-06/0.004386, allocations: 13.95 kB / 0.6502 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.004512, allocations: 2.938 kB / 0.6502 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.005044, allocations: 179 kB / 0.6504 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.951e-05/0.005063, allocations: 66.56 kB / 0.6504 GB, free: 34.9 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.635e-05/0.00508, allocations: 8.375 kB / 0.6504 GB, free: 34.9 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.005098, allocations: 10.53 kB / 0.6505 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of SimCode: time 4.01e-07/0.005099, allocations: 0 / 0.6505 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of Templates: time 0.00163/0.006728, allocations: 325.4 kB / 0.6508 GB, free: 34.84 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_cvode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_cvode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_cvode.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s cvode > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_cvode.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_gbode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_gbode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_gbode.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s gbode -gbm=radauIIA3 > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_gbode.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.680475615896285]