Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.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.001404/0.001404, allocations: 85.27 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.001034/0.001034, allocations: 165 kB / 23.27 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.969/0.969, allocations: 177.1 MB / 203.7 MB, free: 5.531 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.693/1.693, allocations: 273.5 MB / 0.5212 GB, free: 14.63 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.AcetaminophenEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations") translateModel(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6474 GB, free: 38.57 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.199e-05, allocations: 2.312 kB / 0.6474 GB, free: 38.57 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.001315/0.001327, allocations: 1.299 MB / 0.6487 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001367/0.001463, allocations: 46.06 kB / 0.6487 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.001488, allocations: 1.5 kB / 0.6487 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.001504, allocations: 0 / 0.6487 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.448e-05/0.001558, allocations: 5.359 kB / 0.6487 GB, free: 37.68 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.001664, allocations: 11.09 kB / 0.6487 GB, free: 37.68 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 4.828e-05/0.001712, allocations: 19.09 kB / 0.6487 GB, free: 37.68 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.001746, allocations: 10.03 kB / 0.6488 GB, free: 37.68 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.001791, allocations: 16.23 kB / 0.6488 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.001869, allocations: 16.61 kB / 0.6488 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.001884, allocations: 0 / 0.6488 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-06/0.00189, allocations: 2.031 kB / 0.6488 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.001905, allocations: 4.75 kB / 0.6488 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.372e-05/0.001918, allocations: 6.047 kB / 0.6488 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.213e-05/0.001971, allocations: 22.09 kB / 0.6488 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.001972, allocations: 0 / 0.6488 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.8e-07/0.001973, allocations: 1.031 kB / 0.6488 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.001976, allocations: 1.203 kB / 0.6488 GB, free: 37.66 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002595/0.002235, allocations: 373.8 kB / 0.6492 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.002263, allocations: 7.312 kB / 0.6492 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.002286, allocations: 8.25 kB / 0.6492 GB, free: 37.28 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.455e-05/0.002341, allocations: 116.2 kB / 0.6493 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.002355, allocations: 384 / 0.6493 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.002362, allocations: 7.844 kB / 0.6493 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.65e-05/0.002438, allocations: 74.75 kB / 0.6494 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.002445, allocations: 192 / 0.6494 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.002451, allocations: 6.594 kB / 0.6494 GB, free: 37.06 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.002456, allocations: 1.469 kB / 0.6494 GB, free: 37.06 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.002478, allocations: 18.48 kB / 0.6494 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.002636, allocations: 359.2 kB / 0.6498 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.528e-05/0.002672, allocations: 34.28 kB / 0.6498 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/0.002685, allocations: 10.34 kB / 0.6498 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.002695, allocations: 2.156 kB / 0.6498 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.618e-06/0.002705, allocations: 38.64 kB / 0.6498 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.002706, allocations: 0 / 0.6498 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4): time 0.0001054/0.002811, allocations: 57.25 kB / 0.6499 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.002829, allocations: 55.06 kB / 0.6499 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.342e-05/0.002872, allocations: 168.1 kB / 0.6501 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-06/0.002877, allocations: 25.7 kB / 0.6501 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.002905, allocations: 136.5 kB / 0.6503 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.002912, allocations: 18.89 kB / 0.6503 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.002933, allocations: 29.36 kB / 0.6503 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.002973, allocations: 496.1 kB / 0.6508 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.002982, allocations: 1.688 kB / 0.6508 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.534e-05/0.002997, allocations: 37.92 kB / 0.6508 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.855e-05/0.003025, allocations: 32.14 kB / 0.6508 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.003027, allocations: 0 / 0.6508 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 4.976e-05/0.003077, allocations: 58.02 kB / 0.6509 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.003085, allocations: 5.875 kB / 0.6509 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.003089, allocations: 0 / 0.6509 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.003097, allocations: 3.938 kB / 0.6509 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.003165, allocations: 19.33 kB / 0.6509 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.003167, allocations: 1.312 kB / 0.6509 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.003192, allocations: 6.547 kB / 0.6509 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.003196, allocations: 7.688 kB / 0.6509 GB, free: 35.51 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 (6): * Single equations (assignments): 6 * 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 3.234e-05/0.003228, allocations: 154.5 kB / 0.6511 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.003243, allocations: 3.781 kB / 0.6511 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.561e-05/0.003308, allocations: 61.16 kB / 0.6512 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.003311, allocations: 5.406 kB / 0.6512 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.003312, allocations: 3.094 kB / 0.6512 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.003315, allocations: 1.094 kB / 0.6512 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.96e-05/0.003384, allocations: 105.2 kB / 0.6513 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.003385, allocations: 0 / 0.6513 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.003416, allocations: 15.34 kB / 0.6513 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.003417, allocations: 1.312 kB / 0.6513 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-06/0.00342, allocations: 1.062 kB / 0.6513 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.003422, allocations: 5.875 kB / 0.6513 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003422, allocations: 320 / 0.6513 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.717e-05/0.00348, allocations: 206 kB / 0.6515 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.003487, allocations: 5.266 kB / 0.6515 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-06/0.003494, allocations: 2.938 kB / 0.6515 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.00353, allocations: 4 kB / 0.6515 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.003549, allocations: 6.719 kB / 0.6515 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.003551, allocations: 3.531 kB / 0.6515 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.666e-05/0.003568, allocations: 130.1 kB / 0.6516 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.003568, allocations: 1.812 kB / 0.6516 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001378/0.003706, allocations: 7.969 kB / 0.6516 GB, free: 34.84 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 (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 4.834e-05/0.003754, allocations: 96.91 kB / 0.6517 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 5.75e-05/0.003811, allocations: 34.28 kB / 0.6518 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.003812, allocations: 0 / 0.6518 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/0.003827, allocations: 18.94 kB / 0.6518 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.003994, allocations: 7.531 kB / 0.6518 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.004281, allocations: 148.8 kB / 0.6519 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.034e-05/0.004301, allocations: 59.31 kB / 0.652 GB, free: 34.5 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.004318, allocations: 6.484 kB / 0.652 GB, free: 34.5 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.00435, allocations: 72.89 kB / 0.6521 GB, free: 34.43 MB / 0.5262 GB Notification: Performance of SimCode: time 4.5e-07/0.00435, allocations: 1.531 kB / 0.6521 GB, free: 34.43 MB / 0.5262 GB Notification: Performance of Templates: time 0.001784/0.006134, allocations: 0.532 MB / 0.6526 GB, free: 34.39 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.sim & (cd run_cvode && ../Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_gbode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_gbode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_gbode.sim & (cd run_gbode && ../Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_gbode.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_ida.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_ida.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_ida.sim & (cd run_ida && ../Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.637775820679963]