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.0009118/0.0009118, allocations: 89.08 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.0009869/0.0009869, allocations: 169 kB / 22.73 MB, free: 1.82 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.9929/0.9929, allocations: 177.1 MB / 203.1 MB, free: 5.656 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.555/1.555, allocations: 273.5 MB / 0.5205 GB, free: 14.76 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.823e-06/1.823e-06, allocations: 0 / 0.6462 GB, free: 38.47 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.537e-05, allocations: 2.312 kB / 0.6462 GB, free: 38.46 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.001668/0.001693, allocations: 1.326 MB / 0.6475 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.001964, allocations: 97.95 kB / 0.6476 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.001991, allocations: 2.672 kB / 0.6476 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.00201, allocations: 0 / 0.6476 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.002071, allocations: 3.797 kB / 0.6476 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.002231, allocations: 17.58 kB / 0.6476 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.912e-05/0.00229, allocations: 20.36 kB / 0.6477 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.002323, allocations: 3.891 kB / 0.6477 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.01e-05/0.002353, allocations: 5.125 kB / 0.6477 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.002486, allocations: 10.89 kB / 0.6477 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.002501, allocations: 1.188 kB / 0.6477 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-06/0.002508, allocations: 0 / 0.6477 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.002518, allocations: 2 kB / 0.6477 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.002541, allocations: 9.188 kB / 0.6477 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.065e-05/0.002602, allocations: 17.55 kB / 0.6477 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.002604, allocations: 0 / 0.6477 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.52e-07/0.002605, allocations: 1.281 kB / 0.6477 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.00261, allocations: 1.281 kB / 0.6477 GB, free: 37.51 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.0002571/0.002867, allocations: 344.5 kB / 0.648 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.00291, allocations: 11.41 kB / 0.648 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.002945, allocations: 2.188 kB / 0.648 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.134e-05/0.003007, allocations: 114 kB / 0.6482 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.003018, allocations: 6.594 kB / 0.6482 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.003036, allocations: 7.203 kB / 0.6482 GB, free: 37 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.108e-05/0.003117, allocations: 54.59 kB / 0.6482 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.003123, allocations: 1.469 kB / 0.6482 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.003131, allocations: 384 / 0.6482 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.003138, allocations: 1.625 kB / 0.6482 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.003164, allocations: 14.14 kB / 0.6482 GB, free: 36.94 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.003351, allocations: 244.5 kB / 0.6485 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.446e-05/0.003405, allocations: 38.64 kB / 0.6485 GB, free: 36.63 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.003423, allocations: 13 kB / 0.6485 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-06/0.003429, allocations: 0 / 0.6485 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.003446, allocations: 35.45 kB / 0.6485 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.003447, allocations: 0 / 0.6485 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2): time 0.0001154/0.003562, allocations: 51.64 kB / 0.6486 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.003584, allocations: 52.72 kB / 0.6486 GB, free: 36.47 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.011e-05/0.003634, allocations: 155.8 kB / 0.6488 GB, free: 36.3 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-06/0.003638, allocations: 27.14 kB / 0.6488 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.003664, allocations: 138.2 kB / 0.649 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.003673, allocations: 6.203 kB / 0.649 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.003694, allocations: 20.59 kB / 0.649 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.003e-05/0.003734, allocations: 496.1 kB / 0.6495 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.003744, allocations: 5.719 kB / 0.6495 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.003757, allocations: 18.88 kB / 0.6495 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.032e-05/0.003797, allocations: 34.03 kB / 0.6495 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.003799, allocations: 0 / 0.6495 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.267e-05/0.003852, allocations: 52.84 kB / 0.6496 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.003863, allocations: 5.734 kB / 0.6496 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.003868, allocations: 5.594 kB / 0.6496 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.003884, allocations: 8.219 kB / 0.6496 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.487e-05/0.003939, allocations: 6.062 kB / 0.6496 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.003944, allocations: 1.125 kB / 0.6496 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.003961, allocations: 2.5 kB / 0.6496 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-06/0.003965, allocations: 2.312 kB / 0.6496 GB, free: 35.52 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 8.488e-05/0.00405, allocations: 164.2 kB / 0.6497 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-06/0.004057, allocations: 5.703 kB / 0.6498 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.004076, allocations: 11.83 kB / 0.6498 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.004079, allocations: 3.312 kB / 0.6498 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.004082, allocations: 2.344 kB / 0.6498 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004085, allocations: 0 / 0.6498 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.439e-05/0.004129, allocations: 114.6 kB / 0.6499 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.00413, allocations: 0 / 0.6499 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.004165, allocations: 2.406 kB / 0.6499 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.004166, allocations: 2.188 kB / 0.6499 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.00418, allocations: 5.344 kB / 0.6499 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.004181, allocations: 3.938 kB / 0.6499 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.004182, allocations: 7.922 kB / 0.6499 GB, free: 35.18 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.345e-05/0.004276, allocations: 78.66 kB / 0.65 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.004285, allocations: 5.406 kB / 0.65 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.004294, allocations: 0 / 0.65 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-06/0.004303, allocations: 3.938 kB / 0.65 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.004317, allocations: 0 / 0.65 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-06/0.004318, allocations: 2.672 kB / 0.65 GB, free: 35.1 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.427e-05/0.004342, allocations: 130.8 kB / 0.6501 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.004343, allocations: 0 / 0.6501 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001156/0.004458, allocations: 5.156 kB / 0.6501 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 6.185e-05/0.00452, allocations: 92.31 kB / 0.6502 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 7.398e-05/0.004594, allocations: 22.97 kB / 0.6502 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.004595, allocations: 0 / 0.6502 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.004606, allocations: 19.06 kB / 0.6502 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.004768, allocations: 3.531 kB / 0.6502 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006662/0.005434, allocations: 200.8 kB / 0.6504 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.242e-05/0.005457, allocations: 57.44 kB / 0.6505 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.893e-05/0.005476, allocations: 4.781 kB / 0.6505 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.005497, allocations: 12.08 kB / 0.6505 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of SimCode: time 7.21e-07/0.005498, allocations: 0 / 0.6505 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of Templates: time 0.001925/0.007423, allocations: 388.3 kB / 0.6509 GB, free: 34.58 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 & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_cvode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_cvode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_cvode.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -s cvode > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_cvode.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 & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -s gbode -gbm=radauIIA3 > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_gbode.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.695377123076469]