Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.0008718/0.0008718, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0008826/0.0008826, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9397/0.9397, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.909/1.909, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0.7656 kB / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.196e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006093/0.006105, allocations: 7.296 MB / 0.7823 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002882/0.008987, allocations: 2.512 MB / 0.7848 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.009282, allocations: 27.75 kB / 0.7848 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.009627, allocations: 124.2 kB / 0.7849 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008444/0.01047, allocations: 0.5242 MB / 0.7854 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.01102, allocations: 365.9 kB / 0.7858 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009951/0.01202, allocations: 1.092 MB / 0.7868 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008067/0.01282, allocations: 306.2 kB / 0.7871 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006946/0.01352, allocations: 0.5358 MB / 0.7876 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.01383, allocations: 272 kB / 0.7879 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.01387, allocations: 32 kB / 0.7879 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.01411, allocations: 146.4 kB / 0.7881 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/0.01419, allocations: 99.55 kB / 0.7882 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.01431, allocations: 147.7 kB / 0.7883 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.01473, allocations: 406.5 kB / 0.7887 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01473, allocations: 0 / 0.7887 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.01473, allocations: 0 / 0.7887 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.01474, allocations: 0 / 0.7887 GB, free: 7.586 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0006668/0.0154, allocations: 0.6322 MB / 0.7893 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.01543, allocations: 13.34 kB / 0.7893 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.01557, allocations: 64.75 kB / 0.7894 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.01592, allocations: 307.7 kB / 0.7897 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.01594, allocations: 20.88 kB / 0.7897 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.01598, allocations: 33.47 kB / 0.7897 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.01626, allocations: 355.8 kB / 0.7901 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.01627, allocations: 4.5 kB / 0.7901 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.01629, allocations: 12 kB / 0.7901 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.01631, allocations: 9.031 kB / 0.7901 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.01641, allocations: 66.72 kB / 0.7902 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008412/0.01725, allocations: 0.928 MB / 0.7911 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.01739, allocations: 71.95 kB / 0.7911 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.01742, allocations: 24.84 kB / 0.7912 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-05/0.01747, allocations: 9.281 kB / 0.7912 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.01761, allocations: 198.1 kB / 0.7914 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.01761, allocations: 0 / 0.7914 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.000157/0.01777, allocations: 110.5 kB / 0.7915 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.0178, allocations: 51.41 kB / 0.7915 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.01797, allocations: 304.5 kB / 0.7918 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.01799, allocations: 30.42 kB / 0.7918 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.01808, allocations: 201 kB / 0.792 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.01811, allocations: 56.14 kB / 0.7921 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.01816, allocations: 55.83 kB / 0.7921 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.01825, allocations: 350.7 kB / 0.7925 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.01829, allocations: 49.69 kB / 0.7925 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.01836, allocations: 119.1 kB / 0.7926 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.01848, allocations: 170.3 kB / 0.7928 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01849, allocations: 4 kB / 0.7928 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001697/0.01866, allocations: 211.5 kB / 0.793 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.01868, allocations: 38.62 kB / 0.793 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01869, allocations: 4 kB / 0.793 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.0187, allocations: 4 kB / 0.793 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.01887, allocations: 61.94 kB / 0.7931 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.01888, allocations: 3.938 kB / 0.7931 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.01898, allocations: 35.77 kB / 0.7931 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.019, allocations: 12 kB / 0.7931 GB, free: 2.691 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.93e-05/0.01909, allocations: 129.8 kB / 0.7933 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.01912, allocations: 27.97 kB / 0.7933 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.01925, allocations: 106 kB / 0.7934 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01925, allocations: 8.609 kB / 0.7934 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01925, allocations: 0 / 0.7934 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001544/0.01941, allocations: 411.6 kB / 0.7938 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.0196, allocations: 176.5 kB / 0.794 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01961, allocations: 0 / 0.794 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.621e-05/0.0197, allocations: 31.97 kB / 0.794 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.0197, allocations: 0.9375 kB / 0.794 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.01972, allocations: 12 kB / 0.794 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.01972, allocations: 0 / 0.794 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01972, allocations: 0.5 kB / 0.794 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.01987, allocations: 156.2 kB / 0.7942 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.01993, allocations: 40.05 kB / 0.7942 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.01995, allocations: 0 / 0.7942 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.02004, allocations: 15.98 kB / 0.7942 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.02008, allocations: 12.75 kB / 0.7942 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.02009, allocations: 8 kB / 0.7942 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.14e-05/0.02017, allocations: 112.3 kB / 0.7943 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02017, allocations: 0 / 0.7943 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002528/0.02043, allocations: 121 kB / 0.7945 GB, free: 1.223 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001603/0.02059, allocations: 127.9 kB / 0.7946 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.02077, allocations: 178.4 kB / 0.7947 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.02078, allocations: 11.94 kB / 0.7948 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.611e-05/0.02082, allocations: 45.16 kB / 0.7948 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.02121, allocations: 197 kB / 0.795 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.02212, allocations: 0.6017 MB / 0.7956 GB, free: 48 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.138e-05/0.02219, allocations: 97.95 kB / 0.7957 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.02231, allocations: 58.25 kB / 0.7957 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.02256, allocations: 173.1 kB / 0.7959 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.02256, allocations: 0.5625 kB / 0.7959 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of Templates: time 0.008751/0.03131, allocations: 7.228 MB / 0.803 GB, free: 8.719 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & (cd run_cvode && ../Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_gbode.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_ida.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.08485153876245]