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.001322/0.001322, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009927/0.0009927, allocations: 161.4 kB / 24.16 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.9181/0.9181, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.947/1.947, allocations: 389.5 MB / 0.6354 GB, free: 12.29 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 1.322e-06/1.322e-06, allocations: 0 / 0.7751 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.045e-05, allocations: 6.25 kB / 0.7751 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01675/0.01677, allocations: 7.251 MB / 0.7822 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00675/0.02352, allocations: 2.51 MB / 0.7847 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.02388, allocations: 25.56 kB / 0.7847 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.02428, allocations: 127 kB / 0.7848 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004092/0.02837, allocations: 0.5319 MB / 0.7853 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007127/0.02909, allocations: 370.4 kB / 0.7857 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.03025, allocations: 1.09 MB / 0.7867 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/0.03061, allocations: 277.7 kB / 0.787 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.03454, allocations: 0.5396 MB / 0.7875 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.03491, allocations: 271.1 kB / 0.7878 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.03495, allocations: 33.06 kB / 0.7878 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.03522, allocations: 143.6 kB / 0.788 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.33e-05/0.03531, allocations: 100.2 kB / 0.7881 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.03546, allocations: 147.6 kB / 0.7882 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.03597, allocations: 407.1 kB / 0.7886 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.03598, allocations: 4.734 kB / 0.7886 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.03598, allocations: 0 / 0.7886 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.03598, allocations: 0 / 0.7886 GB, free: 7.672 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.0008043/0.03679, allocations: 0.6276 MB / 0.7892 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.03682, allocations: 13.34 kB / 0.7892 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.03699, allocations: 57.95 kB / 0.7893 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.03743, allocations: 315.4 kB / 0.7896 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.03745, allocations: 16.88 kB / 0.7896 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.0375, allocations: 29.5 kB / 0.7896 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.03785, allocations: 351.8 kB / 0.79 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.03786, allocations: 1.438 kB / 0.79 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.03789, allocations: 15.98 kB / 0.79 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.03791, allocations: 8 kB / 0.79 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.03804, allocations: 70.91 kB / 0.79 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.03911, allocations: 0.9242 MB / 0.791 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.03928, allocations: 84.16 kB / 0.791 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.03932, allocations: 28.78 kB / 0.7911 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.281e-05/0.03938, allocations: 8 kB / 0.7911 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.03957, allocations: 209.7 kB / 0.7913 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.03957, allocations: 0 / 0.7913 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0001875/0.03976, allocations: 101.6 kB / 0.7914 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.03978, allocations: 51.41 kB / 0.7914 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.03996, allocations: 307.5 kB / 0.7917 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.03998, allocations: 33.7 kB / 0.7917 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.04009, allocations: 197 kB / 0.7919 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.04012, allocations: 51.58 kB / 0.792 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.04018, allocations: 53.64 kB / 0.792 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.04025, allocations: 350.7 kB / 0.7924 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.0403, allocations: 45.69 kB / 0.7924 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.04036, allocations: 131 kB / 0.7925 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.04055, allocations: 171.3 kB / 0.7927 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.04055, allocations: 1.312 kB / 0.7927 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000166/0.04072, allocations: 212.6 kB / 0.7929 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.04074, allocations: 37.69 kB / 0.7929 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.04075, allocations: 0 / 0.7929 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.04076, allocations: 5.281 kB / 0.7929 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.04089, allocations: 55.91 kB / 0.793 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.04089, allocations: 4 kB / 0.793 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.041, allocations: 32.44 kB / 0.793 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.04102, allocations: 16.83 kB / 0.793 GB, free: 2.785 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.325e-05/0.0411, allocations: 129.2 kB / 0.7932 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.04113, allocations: 23.97 kB / 0.7932 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.04125, allocations: 114 kB / 0.7933 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.04126, allocations: 0 / 0.7933 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.04126, allocations: 0 / 0.7933 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001377/0.0414, allocations: 403.7 kB / 0.7937 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.04158, allocations: 180.4 kB / 0.7939 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.04158, allocations: 0 / 0.7939 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.507e-05/0.04166, allocations: 31.92 kB / 0.7939 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.04166, allocations: 3.938 kB / 0.7939 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.04167, allocations: 7.125 kB / 0.7939 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.04167, allocations: 4 kB / 0.7939 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.04167, allocations: 0 / 0.7939 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.04182, allocations: 147.7 kB / 0.794 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.04188, allocations: 36.05 kB / 0.7941 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.04191, allocations: 4 kB / 0.7941 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.042, allocations: 15.98 kB / 0.7941 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.04203, allocations: 20.44 kB / 0.7941 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.04204, allocations: 4.719 kB / 0.7941 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.099e-05/0.04213, allocations: 111.4 kB / 0.7942 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.04213, allocations: 1.031 kB / 0.7942 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003482/0.04247, allocations: 119.7 kB / 0.7943 GB, free: 1.324 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.0001779/0.04265, allocations: 131.9 kB / 0.7945 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.0428, allocations: 177.1 kB / 0.7946 GB, free: 1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.04281, allocations: 8 kB / 0.7946 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.04286, allocations: 46.05 kB / 0.7947 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.04326, allocations: 197.4 kB / 0.7949 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008702/0.04413, allocations: 0.6062 MB / 0.7955 GB, free: 148 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.909e-05/0.04418, allocations: 96.61 kB / 0.7956 GB, free: 28 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.04433, allocations: 50.67 kB / 0.7956 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.04463, allocations: 181.9 kB / 0.7958 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of SimCode: time 5.01e-07/0.04464, allocations: 0 / 0.7958 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of Templates: time 0.01089/0.05552, allocations: 7.23 MB / 0.8028 GB, free: 8.832 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 & ./Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.29001988703385]