Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.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.001536/0.001536, allocations: 85.17 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.001678/0.001678, 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.9591/0.9591, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.637/1.637, 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.Paracetamol.ParacetamolEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2") translateModel(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.346e-06/3.346e-06, allocations: 0.9688 kB / 0.6474 GB, free: 38.56 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/3.091e-05, allocations: 6.141 kB / 0.6474 GB, free: 38.56 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001964/0.001995, allocations: 0.521 MB / 0.6479 GB, free: 38.28 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001818/0.002177, allocations: 16.73 kB / 0.6479 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.002206, allocations: 0 / 0.6479 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.002227, allocations: 6.188 kB / 0.6479 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 3.306e-05/0.00226, allocations: 3.688 kB / 0.6479 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.002401, allocations: 7.656 kB / 0.6479 GB, free: 38.26 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.245e-05/0.002453, allocations: 16.94 kB / 0.648 GB, free: 38.26 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.002497, allocations: 2.156 kB / 0.648 GB, free: 38.26 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.786e-05/0.002535, allocations: 6.406 kB / 0.648 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.27e-05/0.002607, allocations: 8.344 kB / 0.648 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.002626, allocations: 1.188 kB / 0.648 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.002636, allocations: 0.5625 kB / 0.648 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.002653, allocations: 3.812 kB / 0.648 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.002672, allocations: 6.656 kB / 0.648 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.8e-05/0.00274, allocations: 14.47 kB / 0.648 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.002743, allocations: 0 / 0.648 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002744, allocations: 1.406 kB / 0.648 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.002748, allocations: 3 kB / 0.648 GB, free: 38.25 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.0003129/0.003061, allocations: 350.6 kB / 0.6483 GB, free: 37.88 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.003107, allocations: 10.78 kB / 0.6483 GB, free: 37.88 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.003139, allocations: 8.828 kB / 0.6484 GB, free: 37.88 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.273e-05/0.003212, allocations: 111.2 kB / 0.6485 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.003224, allocations: 5.594 kB / 0.6485 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.003242, allocations: 2.5 kB / 0.6485 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.614e-05/0.003309, allocations: 33.56 kB / 0.6485 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.003316, allocations: 192 / 0.6485 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.003324, allocations: 1.562 kB / 0.6485 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.003331, allocations: 384 / 0.6485 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.096e-05/0.003352, allocations: 15 kB / 0.6485 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.003583, allocations: 114.1 kB / 0.6486 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.003699, allocations: 41.53 kB / 0.6487 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.003719, allocations: 10.06 kB / 0.6487 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.003735, allocations: 6.438 kB / 0.6487 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.003753, allocations: 35.77 kB / 0.6487 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=3): time 1.674e-06/0.003754, allocations: 0 / 0.6487 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3): time 0.0001278/0.003882, allocations: 52.09 kB / 0.6488 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.003909, allocations: 54.78 kB / 0.6488 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.209e-05/0.003961, allocations: 157.4 kB / 0.649 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.003969, allocations: 32.02 kB / 0.649 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.003993, allocations: 128.4 kB / 0.6491 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.004026, allocations: 13.25 kB / 0.6491 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.00406, allocations: 24.81 kB / 0.6492 GB, free: 37.02 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.004123, allocations: 0.4895 MB / 0.6496 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.004137, allocations: 8.875 kB / 0.6496 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.309e-05/0.00415, allocations: 7.656 kB / 0.6496 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.004189, allocations: 17.56 kB / 0.6497 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.004191, allocations: 1.562 kB / 0.6497 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.745e-05/0.004268, allocations: 57.73 kB / 0.6497 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.004283, allocations: 3.438 kB / 0.6497 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.004288, allocations: 0 / 0.6497 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.004299, allocations: 3.875 kB / 0.6497 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/0.004351, allocations: 5.75 kB / 0.6497 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.004353, allocations: 0 / 0.6497 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.004371, allocations: 3.938 kB / 0.6497 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.004377, allocations: 6.75 kB / 0.6497 GB, free: 36.45 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 4.794e-05/0.004425, allocations: 157.6 kB / 0.6499 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-06/0.004434, allocations: 1.094 kB / 0.6499 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.004458, allocations: 7.688 kB / 0.6499 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.004461, allocations: 2.156 kB / 0.6499 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004463, allocations: 1 kB / 0.6499 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.004466, allocations: 0 / 0.6499 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.004594, allocations: 110.8 kB / 0.65 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.004596, allocations: 0 / 0.65 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.004631, allocations: 4.125 kB / 0.65 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.004633, allocations: 2.875 kB / 0.65 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.004644, allocations: 4 kB / 0.65 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.004647, allocations: 11.36 kB / 0.65 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.004649, allocations: 3.906 kB / 0.65 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.004774, allocations: 89.09 kB / 0.6501 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.004784, allocations: 7.562 kB / 0.6501 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.004795, allocations: 0 / 0.6501 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.783e-05/0.004813, allocations: 0 / 0.6501 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.004827, allocations: 6.781 kB / 0.6501 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.004831, allocations: 0 / 0.6501 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.251e-05/0.004853, allocations: 123 kB / 0.6503 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.004853, allocations: 0 / 0.6503 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002011/0.005054, allocations: 3.594 kB / 0.6503 GB, free: 35.95 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Gut,Central) * 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 (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 Backend phase and start with SimCode phase: time 9.963e-05/0.005154, allocations: 94.72 kB / 0.6503 GB, free: 35.86 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 8.568e-05/0.00524, allocations: 30.44 kB / 0.6504 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.005241, allocations: 0 / 0.6504 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.005256, allocations: 16.47 kB / 0.6504 GB, free: 35.83 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.005403, allocations: 7.297 kB / 0.6504 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.005681, allocations: 140.6 kB / 0.6505 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.624e-05/0.005707, allocations: 62.48 kB / 0.6506 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.005732, allocations: 3.859 kB / 0.6506 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.005765, allocations: 69.45 kB / 0.6507 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of SimCode: time 8.52e-07/0.005766, allocations: 1.688 kB / 0.6507 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of Templates: time 0.002327/0.008093, allocations: 347.9 kB / 0.651 GB, free: 35.5 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.sim & (cd run_cvode && ../Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_gbode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_gbode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_gbode.sim & (cd run_gbode && ../Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_gbode.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_ida.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_ida.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_ida.sim & (cd run_ida && ../Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6074993489310145]