Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.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.001077/0.001077, allocations: 86.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.001212/0.001212, allocations: 170 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 1.018/1.018, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.704/1.704, allocations: 273.5 MB / 0.5212 GB, free: 14.69 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.DevModels.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") translateModel(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6474 GB, free: 38.52 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.985e-05, allocations: 4.312 kB / 0.6474 GB, free: 38.51 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.002113/0.002133, allocations: 1.299 MB / 0.6487 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002038/0.002337, allocations: 51.36 kB / 0.6487 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.002375, allocations: 2.594 kB / 0.6487 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 7.154e-05/0.002447, allocations: 5.469 kB / 0.6487 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 4.146e-05/0.002488, allocations: 4.609 kB / 0.6487 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.00264, allocations: 12.94 kB / 0.6487 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 8.261e-05/0.002723, allocations: 37.81 kB / 0.6488 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.00276, allocations: 2.406 kB / 0.6488 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.947e-05/0.00282, allocations: 14.53 kB / 0.6488 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.002902, allocations: 12.78 kB / 0.6488 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.002918, allocations: 2.156 kB / 0.6488 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.854e-06/0.002926, allocations: 2.781 kB / 0.6488 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.002939, allocations: 4.734 kB / 0.6488 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.002958, allocations: 5.719 kB / 0.6488 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.408e-05/0.003022, allocations: 21.84 kB / 0.6488 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003024, allocations: 3.75 kB / 0.6488 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003025, allocations: 0 / 0.6488 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.003028, allocations: 2.375 kB / 0.6488 GB, free: 37.59 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.0003599/0.003388, allocations: 369.2 kB / 0.6492 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.003425, allocations: 8.859 kB / 0.6492 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.003454, allocations: 8.734 kB / 0.6492 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.5e-05/0.003549, allocations: 117.4 kB / 0.6493 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.003559, allocations: 8.078 kB / 0.6493 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.003567, allocations: 2.531 kB / 0.6493 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.00367, allocations: 64.8 kB / 0.6494 GB, free: 37 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.003678, allocations: 192 / 0.6494 GB, free: 37 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.003685, allocations: 2.594 kB / 0.6494 GB, free: 37 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.003691, allocations: 384 / 0.6494 GB, free: 37 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.003712, allocations: 12.19 kB / 0.6494 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.003928, allocations: 363.5 kB / 0.6498 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.194e-05/0.00396, allocations: 24.53 kB / 0.6498 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.003973, allocations: 10.69 kB / 0.6498 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.003984, allocations: 3.188 kB / 0.6498 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.003997, allocations: 36.8 kB / 0.6498 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.003998, allocations: 0 / 0.6498 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.004119, allocations: 44.36 kB / 0.6499 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.004141, allocations: 54.83 kB / 0.6499 GB, free: 36.43 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.004203, allocations: 169 kB / 0.6501 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.004209, allocations: 26.61 kB / 0.6501 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.004246, allocations: 132.7 kB / 0.6502 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/0.004252, allocations: 9.109 kB / 0.6502 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.00428, allocations: 24.45 kB / 0.6503 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.218e-05/0.004332, allocations: 494.1 kB / 0.6507 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.004342, allocations: 0.9688 kB / 0.6507 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.004358, allocations: 19.38 kB / 0.6508 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.848e-05/0.004386, allocations: 24.09 kB / 0.6508 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004388, allocations: 0 / 0.6508 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.165e-05/0.00445, allocations: 52.47 kB / 0.6508 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.004462, allocations: 3.875 kB / 0.6508 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.004467, allocations: 2 kB / 0.6508 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.004477, allocations: 5.219 kB / 0.6508 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.004539, allocations: 9.734 kB / 0.6509 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.004541, allocations: 0 / 0.6509 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/0.004575, allocations: 15.39 kB / 0.6509 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.004581, allocations: 0 / 0.6509 GB, free: 35.47 MB / 0.5262 GB 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 (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 prepare postOptimizeDAE: time 4.143e-05/0.004622, allocations: 158.9 kB / 0.651 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.004643, allocations: 1.375 kB / 0.651 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.694e-05/0.00472, allocations: 52.11 kB / 0.6511 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.004722, allocations: 3.938 kB / 0.6511 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.004724, allocations: 1.75 kB / 0.6511 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.004727, allocations: 1.469 kB / 0.6511 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.004828, allocations: 93.67 kB / 0.6512 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.004829, allocations: 0 / 0.6512 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.00486, allocations: 9.719 kB / 0.6512 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.004861, allocations: 1.375 kB / 0.6512 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.004866, allocations: 0 / 0.6512 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.004867, allocations: 0 / 0.6512 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.004868, allocations: 1.469 kB / 0.6512 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.411e-05/0.004942, allocations: 195.8 kB / 0.6514 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.004951, allocations: 1.719 kB / 0.6514 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.00496, allocations: 1.719 kB / 0.6514 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.517e-05/0.005015, allocations: 3.75 kB / 0.6514 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.005038, allocations: 11.16 kB / 0.6514 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.005041, allocations: 1.844 kB / 0.6514 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.608e-05/0.005067, allocations: 133.8 kB / 0.6515 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.005067, allocations: 0 / 0.6515 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002483/0.005315, allocations: 5.094 kB / 0.6515 GB, free: 34.82 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.866e-05/0.005384, allocations: 101.4 kB / 0.6516 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 6.468e-05/0.005448, allocations: 13.56 kB / 0.6516 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.00545, allocations: 0 / 0.6516 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.621e-05/0.005466, allocations: 16.66 kB / 0.6516 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.005729, allocations: 7.469 kB / 0.6516 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.006105, allocations: 129.2 kB / 0.6518 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.707e-05/0.006132, allocations: 62.52 kB / 0.6518 GB, free: 34.5 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.006154, allocations: 1.844 kB / 0.6518 GB, free: 34.5 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.006196, allocations: 69.64 kB / 0.6519 GB, free: 34.43 MB / 0.5262 GB Notification: Performance of SimCode: time 6.62e-07/0.006197, allocations: 1.625 kB / 0.6519 GB, free: 34.43 MB / 0.5262 GB Notification: Performance of Templates: time 0.002298/0.008495, allocations: 0.5072 MB / 0.6524 GB, free: 34.39 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.sim & (cd run_cvode && ../Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_gbode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_gbode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_gbode.sim & (cd run_gbode && ../Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_gbode.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_ida.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_ida.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_ida.sim & (cd run_ida && ../Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.829350010026246]