Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.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.0008934/0.0008934, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009767/0.0009767, allocations: 173.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.906/0.906, 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.568/1.568, allocations: 273.5 MB / 0.5212 GB, free: 14.66 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.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") translateModel(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.6474 GB, free: 38.57 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.44e-05, allocations: 2.312 kB / 0.6474 GB, free: 38.57 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.002266/0.00228, allocations: 1.539 MB / 0.6489 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0005858/0.002866, allocations: 315.9 kB / 0.6492 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.002901, allocations: 1.312 kB / 0.6492 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.00316, allocations: 59.06 kB / 0.6493 GB, free: 37.35 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.003227, allocations: 15.72 kB / 0.6493 GB, free: 37.35 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.003501, allocations: 98.81 kB / 0.6494 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 7.629e-05/0.003577, allocations: 56.44 kB / 0.6494 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.003614, allocations: 6.125 kB / 0.6494 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.003662, allocations: 25.77 kB / 0.6494 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.568e-05/0.003748, allocations: 24.86 kB / 0.6495 GB, free: 37.28 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.003763, allocations: 2.531 kB / 0.6495 GB, free: 37.28 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.003963, allocations: 135.2 kB / 0.6496 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.004004, allocations: 24.84 kB / 0.6496 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.004029, allocations: 12.42 kB / 0.6496 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.004254, allocations: 169.8 kB / 0.6498 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.004257, allocations: 3.094 kB / 0.6498 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004257, allocations: 1.312 kB / 0.6498 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.00426, allocations: 0 / 0.6498 GB, free: 37.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003239/0.004584, allocations: 418 kB / 0.6502 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.004616, allocations: 9.125 kB / 0.6502 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.004761, allocations: 30.56 kB / 0.6502 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.999e-05/0.004831, allocations: 124.3 kB / 0.6504 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.004844, allocations: 6 kB / 0.6504 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.004858, allocations: 2.656 kB / 0.6504 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.79e-05/0.004956, allocations: 84.69 kB / 0.6504 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.004964, allocations: 2.562 kB / 0.6505 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.004972, allocations: 384 / 0.6505 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.004977, allocations: 1.781 kB / 0.6505 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.017e-05/0.005017, allocations: 16.42 kB / 0.6505 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.005341, allocations: 434.7 kB / 0.6509 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.005475, allocations: 57.12 kB / 0.6509 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.0055, allocations: 16.7 kB / 0.651 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.005508, allocations: 1.594 kB / 0.651 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.005521, allocations: 45.05 kB / 0.651 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.005522, allocations: 0 / 0.651 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5): time 0.0001929/0.005715, allocations: 87.3 kB / 0.6511 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.005736, allocations: 58.77 kB / 0.6511 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.005855, allocations: 220.3 kB / 0.6513 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.005863, allocations: 33.12 kB / 0.6514 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.005904, allocations: 143.6 kB / 0.6515 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.005924, allocations: 19.78 kB / 0.6515 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.005963, allocations: 28.27 kB / 0.6516 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.006014, allocations: 0.4973 MB / 0.652 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.373e-05/0.006038, allocations: 5.75 kB / 0.6521 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.006066, allocations: 40.25 kB / 0.6521 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.006145, allocations: 58.55 kB / 0.6521 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006147, allocations: 0 / 0.6521 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000131/0.006278, allocations: 96.42 kB / 0.6522 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.00629, allocations: 6.125 kB / 0.6522 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.006295, allocations: 0 / 0.6522 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.006307, allocations: 6.844 kB / 0.6523 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.919e-05/0.006366, allocations: 11.5 kB / 0.6523 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.00637, allocations: 6.5 kB / 0.6523 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.006398, allocations: 0 / 0.6523 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.006442, allocations: 20.62 kB / 0.6523 GB, free: 34.88 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 ) 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: 1 (clMod.dbgStatus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.142e-05/0.006524, allocations: 175 kB / 0.6525 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.00658, allocations: 21.2 kB / 0.6525 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.006608, allocations: 10.47 kB / 0.6525 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.00661, allocations: 3.938 kB / 0.6525 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.006612, allocations: 5.125 kB / 0.6525 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.006615, allocations: 2.812 kB / 0.6525 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.006759, allocations: 124.7 kB / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.00676, allocations: 0 / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.006817, allocations: 11.22 kB / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006819, allocations: 1.469 kB / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.006826, allocations: 3.656 kB / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.006827, allocations: 0 / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006828, allocations: 1.875 kB / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.007002, allocations: 259.2 kB / 0.6529 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.007013, allocations: 9.75 kB / 0.6529 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.007026, allocations: 1.469 kB / 0.6529 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.456e-05/0.007081, allocations: 1.25 kB / 0.6529 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.007095, allocations: 7.406 kB / 0.6529 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.00712, allocations: 21.91 kB / 0.6529 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.007174, allocations: 151 kB / 0.6531 GB, free: 34.21 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.007175, allocations: 0 / 0.6531 GB, free: 34.21 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002805/0.007455, allocations: 31.16 kB / 0.6531 GB, free: 34.21 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 (5): * Single equations (assignments): 5 * 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 0.000187/0.007642, allocations: 147 kB / 0.6532 GB, free: 34.11 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.007744, allocations: 42.81 kB / 0.6533 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007746, allocations: 0 / 0.6533 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.007775, allocations: 31.88 kB / 0.6533 GB, free: 34.07 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.008033, allocations: 9.438 kB / 0.6533 GB, free: 34.07 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008518/0.008884, allocations: 269.4 kB / 0.6536 GB, free: 33.88 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.493e-05/0.008919, allocations: 68.33 kB / 0.6536 GB, free: 33.8 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 7.76e-05/0.008997, allocations: 58.27 kB / 0.6537 GB, free: 33.8 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.009047, allocations: 78.17 kB / 0.6538 GB, free: 33.74 MB / 0.5262 GB Notification: Performance of SimCode: time 5.81e-07/0.009048, allocations: 0 / 0.6538 GB, free: 33.74 MB / 0.5262 GB Notification: Performance of Templates: time 0.004101/0.01315, allocations: 1.507 MB / 0.6552 GB, free: 33.58 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.sim & (cd run_cvode && ../Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_gbode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_gbode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_gbode.sim & (cd run_gbode && ../Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_gbode.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_ida.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_ida.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_ida.sim & (cd run_ida && ../Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.26062629558146]