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.0008779/0.0008779, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009427/0.0009427, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9246/0.9246, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.534/1.534, allocations: 273.5 MB / 0.5212 GB, free: 14.73 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.253e-06/1.253e-06, allocations: 0 / 0.6474 GB, free: 38.46 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114e-05/1.239e-05, allocations: 2.312 kB / 0.6474 GB, free: 38.46 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.001327/0.001339, allocations: 1.305 MB / 0.6487 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001966/0.001536, allocations: 95.97 kB / 0.6487 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.001557, allocations: 0 / 0.6487 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.001574, allocations: 1.125 kB / 0.6487 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-05/0.001624, allocations: 8.734 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.001746, allocations: 9.031 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 3.961e-05/0.001786, allocations: 17.34 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.111e-05/0.001817, allocations: 2.875 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.68e-05/0.001844, allocations: 9.609 kB / 0.6488 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.001955, allocations: 7.438 kB / 0.6488 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.001966, allocations: 2.375 kB / 0.6488 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-06/0.001972, allocations: 1.062 kB / 0.6488 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-06/0.001981, allocations: 4 kB / 0.6488 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.216e-05/0.001993, allocations: 3.75 kB / 0.6488 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 4.813e-05/0.002042, allocations: 9.672 kB / 0.6488 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002044, allocations: 0 / 0.6488 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.31e-07/0.002044, allocations: 0 / 0.6488 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.545e-06/0.002047, allocations: 2.188 kB / 0.6488 GB, free: 37.53 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.0002062/0.002253, allocations: 349.7 kB / 0.6492 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.002281, allocations: 8.281 kB / 0.6492 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.002302, allocations: 3.969 kB / 0.6492 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.447e-05/0.002356, allocations: 109.6 kB / 0.6493 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.002364, allocations: 2.5 kB / 0.6493 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.002377, allocations: 5.219 kB / 0.6493 GB, free: 37.02 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.498e-05/0.002432, allocations: 50.22 kB / 0.6493 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.002437, allocations: 1.469 kB / 0.6493 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-06/0.002442, allocations: 384 / 0.6493 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.002446, allocations: 384 / 0.6493 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.568e-06/0.002456, allocations: 12.62 kB / 0.6493 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.002735, allocations: 265.2 kB / 0.6496 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.449e-05/0.002759, allocations: 28.03 kB / 0.6496 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-06/0.002767, allocations: 7.688 kB / 0.6496 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-06/0.002771, allocations: 1.688 kB / 0.6496 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.678e-06/0.002781, allocations: 35.11 kB / 0.6497 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.002782, allocations: 1.281 kB / 0.6497 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 7.579e-05/0.002857, allocations: 39.52 kB / 0.6497 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/0.002875, allocations: 56.48 kB / 0.6498 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.387e-05/0.002919, allocations: 167.2 kB / 0.6499 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-06/0.002924, allocations: 25.7 kB / 0.6499 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.002947, allocations: 126.9 kB / 0.6501 GB, free: 36.19 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.002955, allocations: 15.03 kB / 0.6501 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.002974, allocations: 17.03 kB / 0.6501 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.003015, allocations: 499.3 kB / 0.6506 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-06/0.003021, allocations: 1.75 kB / 0.6506 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.003031, allocations: 18.94 kB / 0.6506 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.003061, allocations: 30.08 kB / 0.6506 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.003062, allocations: 1.719 kB / 0.6506 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.287e-05/0.003105, allocations: 43.52 kB / 0.6507 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.003117, allocations: 7.375 kB / 0.6507 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.003121, allocations: 0 / 0.6507 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.003131, allocations: 5.5 kB / 0.6507 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.689e-05/0.003158, allocations: 8.062 kB / 0.6507 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.003161, allocations: 1.219 kB / 0.6507 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.003177, allocations: 5.422 kB / 0.6507 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.003181, allocations: 2.188 kB / 0.6507 GB, free: 35.56 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 6.823e-05/0.00325, allocations: 161.2 kB / 0.6508 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-06/0.003254, allocations: 2.844 kB / 0.6508 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.003274, allocations: 9.844 kB / 0.6509 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.003276, allocations: 3.938 kB / 0.6509 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.003277, allocations: 3.25 kB / 0.6509 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.00328, allocations: 5 kB / 0.6509 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.00342, allocations: 122 kB / 0.651 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.003421, allocations: 0 / 0.651 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.003434, allocations: 3.469 kB / 0.651 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.003434, allocations: 0 / 0.651 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.003442, allocations: 2.281 kB / 0.651 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.003442, allocations: 1.438 kB / 0.651 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.003443, allocations: 3.938 kB / 0.651 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.214e-05/0.003505, allocations: 77.8 kB / 0.6511 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-06/0.003512, allocations: 7.5 kB / 0.6511 GB, free: 35.18 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-06/0.003519, allocations: 0 / 0.6511 GB, free: 35.18 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-06/0.003527, allocations: 1.469 kB / 0.6511 GB, free: 35.18 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-06/0.003537, allocations: 4.594 kB / 0.6511 GB, free: 35.18 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.003539, allocations: 6.125 kB / 0.6511 GB, free: 35.18 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.37e-05/0.003553, allocations: 121.6 kB / 0.6512 GB, free: 35.06 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.003553, allocations: 0 / 0.6512 GB, free: 35.06 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001125/0.003665, allocations: 4.562 kB / 0.6512 GB, free: 35.06 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.106e-05/0.003716, allocations: 92.44 kB / 0.6513 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 4.568e-05/0.003762, allocations: 22 kB / 0.6513 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.003763, allocations: 0 / 0.6513 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 6.001e-06/0.003769, allocations: 13.91 kB / 0.6513 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.003885, allocations: 8.219 kB / 0.6513 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.004306, allocations: 172.5 kB / 0.6515 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.561e-05/0.004322, allocations: 61.06 kB / 0.6516 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.502e-05/0.004337, allocations: 5.531 kB / 0.6516 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.004364, allocations: 68.42 kB / 0.6516 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of SimCode: time 8.11e-07/0.004365, allocations: 2.938 kB / 0.6516 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of Templates: time 0.001574/0.005938, allocations: 366.1 kB / 0.652 GB, free: 34.61 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 & (cd run_cvode && ../Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.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 & (cd run_gbode && ../Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_gbode.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_ida.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_ida.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_ida.sim & (cd run_ida && ../Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.347629933152348]