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.00131/0.00131, allocations: 89.08 kB / 19.42 MB, free: 496 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.001366/0.001366, allocations: 169 kB / 22.72 MB, free: 1.828 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.011/1.011, allocations: 177.1 MB / 203.1 MB, free: 5.668 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.692/1.692, allocations: 273.5 MB / 0.5205 GB, free: 14.89 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 3.957e-06/3.957e-06, allocations: 0 / 0.6462 GB, free: 38.64 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.621e-05/4.016e-05, allocations: 3.625 kB / 0.6462 GB, free: 38.64 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.002749/0.002789, allocations: 1.29 MB / 0.6475 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.002987, allocations: 44.81 kB / 0.6475 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.003024, allocations: 0 / 0.6475 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.003051, allocations: 3.938 kB / 0.6475 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.965e-05/0.003121, allocations: 4.672 kB / 0.6475 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.003312, allocations: 9.734 kB / 0.6475 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 6.689e-05/0.003379, allocations: 29.84 kB / 0.6476 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.003418, allocations: 3.375 kB / 0.6476 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.00347, allocations: 13.36 kB / 0.6476 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.003558, allocations: 12.94 kB / 0.6476 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.00358, allocations: 6.375 kB / 0.6476 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.003588, allocations: 1.25 kB / 0.6476 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.003603, allocations: 3.797 kB / 0.6476 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.003629, allocations: 15.11 kB / 0.6476 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.513e-05/0.003694, allocations: 15.58 kB / 0.6476 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003697, allocations: 0 / 0.6476 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003698, allocations: 0 / 0.6476 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.003703, allocations: 0 / 0.6476 GB, free: 37.73 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.000335/0.004038, allocations: 370.7 kB / 0.648 GB, free: 37.36 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.004075, allocations: 10.84 kB / 0.648 GB, free: 37.36 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.004113, allocations: 8.875 kB / 0.648 GB, free: 37.35 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.488e-05/0.004188, allocations: 115.6 kB / 0.6481 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.004209, allocations: 2.281 kB / 0.6481 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.004218, allocations: 1.906 kB / 0.6481 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.004334, allocations: 80.12 kB / 0.6482 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004341, allocations: 192 / 0.6482 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.00435, allocations: 5.688 kB / 0.6482 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.004359, allocations: 2.781 kB / 0.6482 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.004392, allocations: 15.64 kB / 0.6482 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.004601, allocations: 373.1 kB / 0.6486 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.706e-05/0.004658, allocations: 39.52 kB / 0.6486 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.00468, allocations: 16.88 kB / 0.6486 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.004693, allocations: 1.438 kB / 0.6486 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.004709, allocations: 40.5 kB / 0.6487 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.00471, allocations: 3.469 kB / 0.6487 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4): time 0.0001413/0.004852, allocations: 56.11 kB / 0.6487 GB, free: 36.6 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.004872, allocations: 55.34 kB / 0.6488 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.088e-05/0.004933, allocations: 168.8 kB / 0.6489 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.004939, allocations: 25.7 kB / 0.649 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.00498, allocations: 146.7 kB / 0.6491 GB, free: 36.19 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.00499, allocations: 18.16 kB / 0.6491 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.005015, allocations: 20.03 kB / 0.6491 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.005058, allocations: 499.5 kB / 0.6496 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.005078, allocations: 3.531 kB / 0.6496 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.005099, allocations: 35.3 kB / 0.6497 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.807e-05/0.005137, allocations: 30.22 kB / 0.6497 GB, free: 35.6 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005138, allocations: 1.438 kB / 0.6497 GB, free: 35.6 MB / 0.5262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.709e-05/0.005205, allocations: 60.53 kB / 0.6498 GB, free: 35.56 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.005218, allocations: 9.719 kB / 0.6498 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005222, allocations: 2.219 kB / 0.6498 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.005235, allocations: 4.609 kB / 0.6498 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.005341, allocations: 13.81 kB / 0.6498 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.005348, allocations: 3.234 kB / 0.6498 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.005386, allocations: 12.86 kB / 0.6498 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.005393, allocations: 2.188 kB / 0.6498 GB, free: 35.55 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 4.983e-05/0.005443, allocations: 158 kB / 0.6499 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.00547, allocations: 3.375 kB / 0.65 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.005595, allocations: 64.73 kB / 0.65 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.005597, allocations: 0 / 0.65 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.005601, allocations: 1.969 kB / 0.65 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005604, allocations: 0 / 0.65 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.911e-05/0.005683, allocations: 119.2 kB / 0.6501 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.005685, allocations: 0 / 0.6501 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.005733, allocations: 16.25 kB / 0.6501 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.005736, allocations: 5.188 kB / 0.6501 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.005743, allocations: 3.375 kB / 0.6502 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.005746, allocations: 6.312 kB / 0.6502 GB, free: 35.18 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.005747, allocations: 320 / 0.6502 GB, free: 35.18 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.022e-05/0.005828, allocations: 202.8 kB / 0.6504 GB, free: 34.99 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.005838, allocations: 1.75 kB / 0.6504 GB, free: 34.99 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.005847, allocations: 1.781 kB / 0.6504 GB, free: 34.99 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/0.005879, allocations: 11.78 kB / 0.6504 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.005909, allocations: 5.156 kB / 0.6504 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.005912, allocations: 1.469 kB / 0.6504 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.429e-05/0.005937, allocations: 134.6 kB / 0.6505 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005937, allocations: 0 / 0.6505 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001454/0.006082, allocations: 10.12 kB / 0.6505 GB, free: 34.86 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 6.678e-05/0.006149, allocations: 97.59 kB / 0.6506 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 8.389e-05/0.006233, allocations: 33.3 kB / 0.6506 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006234, allocations: 0 / 0.6506 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-05/0.006252, allocations: 14.94 kB / 0.6506 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.006439, allocations: 16.17 kB / 0.6507 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.006855, allocations: 140.6 kB / 0.6508 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.608e-05/0.006881, allocations: 63.45 kB / 0.6509 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.0069, allocations: 2.25 kB / 0.6509 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.006927, allocations: 13.47 kB / 0.6509 GB, free: 34.51 MB / 0.5262 GB Notification: Performance of SimCode: time 6.31e-07/0.006927, allocations: 0 / 0.6509 GB, free: 34.51 MB / 0.5262 GB Notification: Performance of Templates: time 0.002072/0.009, allocations: 0.5117 MB / 0.6514 GB, free: 34.45 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 & ./Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_cvode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_cvode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_cvode.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -s cvode > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_cvode.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 & ./Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS -s gbode -gbm=radauIIA3 > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_gbode.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.966379221063107]