Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.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.000868/0.000868, allocations: 81.17 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.0009168/0.0009168, allocations: 169 kB / 23.27 MB, free: 1.223 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.976/0.976, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.545/1.545, allocations: 273.5 MB / 0.5212 GB, free: 14.78 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_GentamicinEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicinEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6474 GB, free: 38.42 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008e-05/1.181e-05, allocations: 2.312 kB / 0.6474 GB, free: 38.41 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.001762/0.001774, allocations: 1.32 MB / 0.6487 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002256/0.001999, allocations: 97.28 kB / 0.6488 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.002025, allocations: 2.625 kB / 0.6488 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.002045, allocations: 7.75 kB / 0.6488 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.002102, allocations: 1.312 kB / 0.6488 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.002245, allocations: 13.58 kB / 0.6488 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 4.578e-05/0.002291, allocations: 13.28 kB / 0.6488 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.002326, allocations: 7.062 kB / 0.6488 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.976e-05/0.002356, allocations: 9.969 kB / 0.6488 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.002477, allocations: 9.094 kB / 0.6488 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.00249, allocations: 0 / 0.6488 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.002498, allocations: 7.062 kB / 0.6488 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.002509, allocations: 5.297 kB / 0.6488 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.002524, allocations: 2.5 kB / 0.6488 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.586e-05/0.00258, allocations: 14.45 kB / 0.6489 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002582, allocations: 2.5 kB / 0.6489 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.31e-07/0.002583, allocations: 0 / 0.6489 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.715e-06/0.002585, allocations: 1.281 kB / 0.6489 GB, free: 37.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002273/0.002813, allocations: 344.1 kB / 0.6492 GB, free: 37.1 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.002846, allocations: 8.719 kB / 0.6492 GB, free: 37.1 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.002871, allocations: 4.406 kB / 0.6492 GB, free: 37.1 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.802e-05/0.002929, allocations: 115.2 kB / 0.6493 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.002938, allocations: 1.688 kB / 0.6493 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.002951, allocations: 9.453 kB / 0.6493 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.916e-05/0.00301, allocations: 52 kB / 0.6494 GB, free: 36.9 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.003018, allocations: 1.938 kB / 0.6494 GB, free: 36.9 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.003025, allocations: 10.36 kB / 0.6494 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.00303, allocations: 384 / 0.6494 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.003049, allocations: 11.41 kB / 0.6494 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.003202, allocations: 225.9 kB / 0.6496 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.003245, allocations: 38.39 kB / 0.6497 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.123e-05/0.003257, allocations: 10.59 kB / 0.6497 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-06/0.003263, allocations: 3.562 kB / 0.6497 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.114e-05/0.003274, allocations: 33.39 kB / 0.6497 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.003275, allocations: 1.312 kB / 0.6497 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2): time 9.086e-05/0.003366, allocations: 46.42 kB / 0.6497 GB, free: 36.51 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.757e-05/0.003383, allocations: 53.16 kB / 0.6498 GB, free: 36.45 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.991e-05/0.003433, allocations: 157.9 kB / 0.6499 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-06/0.003438, allocations: 30.92 kB / 0.65 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.003465, allocations: 136 kB / 0.6501 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-06/0.003472, allocations: 3.953 kB / 0.6501 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.003498, allocations: 20.75 kB / 0.6501 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.00354, allocations: 0.4903 MB / 0.6506 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-06/0.003549, allocations: 5.266 kB / 0.6506 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/0.003561, allocations: 17.56 kB / 0.6506 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.003597, allocations: 26.72 kB / 0.6507 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.003598, allocations: 1.312 kB / 0.6507 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.927e-05/0.003658, allocations: 51.23 kB / 0.6507 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.003669, allocations: 3.656 kB / 0.6507 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.003673, allocations: 3.844 kB / 0.6507 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.003683, allocations: 3.938 kB / 0.6507 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.035e-05/0.003733, allocations: 9.297 kB / 0.6507 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.003735, allocations: 0 / 0.6507 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.003759, allocations: 1.469 kB / 0.6507 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.003763, allocations: 3.375 kB / 0.6507 GB, free: 35.5 MB / 0.5262 GB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) \"Mass of drug [kg]\" 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 (4): * Single equations (assignments): 4 * 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.693e-05/0.00383, allocations: 171.8 kB / 0.6509 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.003838, allocations: 5.422 kB / 0.6509 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.003859, allocations: 8.516 kB / 0.6509 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.003861, allocations: 6.844 kB / 0.6509 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.003862, allocations: 0 / 0.6509 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.003865, allocations: 0 / 0.6509 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.917e-05/0.003914, allocations: 100.9 kB / 0.651 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.003916, allocations: 4.641 kB / 0.651 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.003948, allocations: 4.219 kB / 0.651 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.003949, allocations: 0 / 0.651 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.003956, allocations: 1.094 kB / 0.651 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.003958, allocations: 2.859 kB / 0.651 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.003959, allocations: 0 / 0.651 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.153e-05/0.00403, allocations: 86 kB / 0.6511 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.004037, allocations: 1.625 kB / 0.6511 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.004047, allocations: 0 / 0.6511 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.523e-05/0.004062, allocations: 3.188 kB / 0.6511 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-06/0.004071, allocations: 1.422 kB / 0.6511 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.004074, allocations: 7.688 kB / 0.6511 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.686e-05/0.004091, allocations: 123.2 kB / 0.6512 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8e-08/0.004091, allocations: 1.438 kB / 0.6512 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.00021/0.004301, allocations: 8.125 kB / 0.6512 GB, free: 34.98 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (M) * 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 (2): * Single equations (assignments): 2 * 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.41e-05/0.004355, allocations: 94.91 kB / 0.6513 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 5.295e-05/0.004408, allocations: 18.36 kB / 0.6513 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.00441, allocations: 0 / 0.6513 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.004419, allocations: 16.56 kB / 0.6514 GB, free: 34.87 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.004588, allocations: 11.3 kB / 0.6514 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/0.005212, allocations: 189.3 kB / 0.6516 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.22e-05/0.005234, allocations: 64.55 kB / 0.6516 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.838e-05/0.005252, allocations: 5.328 kB / 0.6516 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.005291, allocations: 75.19 kB / 0.6517 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of SimCode: time 5.51e-07/0.005292, allocations: 0 / 0.6517 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of Templates: time 0.002037/0.007328, allocations: 425.5 kB / 0.6521 GB, free: 34.52 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.sim & (cd run_cvode && ../Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_gbode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_gbode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_gbode.sim & (cd run_gbode && ../Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_gbode.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_ida.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_ida.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_ida.sim & (cd run_ida && ../Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.28958755126223]