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.0009433/0.0009433, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009585/0.0009585, allocations: 165 kB / 24.25 MB, free: 208 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.8823/0.8823, allocations: 177.2 MB / 204.7 MB, free: 5.457 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.904/1.904, allocations: 389.6 MB / 0.6355 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.713e-06/1.713e-06, allocations: 0 / 0.7753 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.388e-05, allocations: 5.125 kB / 0.7753 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006413/0.006437, allocations: 7.292 MB / 0.7825 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00332/0.009757, allocations: 2.497 MB / 0.7849 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003707/0.01013, allocations: 23.81 kB / 0.7849 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.01053, allocations: 132.3 kB / 0.7851 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009907/0.01153, allocations: 0.5238 MB / 0.7856 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.01212, allocations: 362.7 kB / 0.7859 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009629/0.01308, allocations: 1.098 MB / 0.787 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.01367, allocations: 302.3 kB / 0.7873 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.01433, allocations: 0.5374 MB / 0.7878 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.0147, allocations: 267.1 kB / 0.7881 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.01475, allocations: 32 kB / 0.7881 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.01504, allocations: 143.7 kB / 0.7882 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.582e-05/0.01511, allocations: 99.59 kB / 0.7883 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.01523, allocations: 151.6 kB / 0.7885 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.01573, allocations: 402.6 kB / 0.7888 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.01574, allocations: 0 / 0.7888 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.302e-06/0.01574, allocations: 0 / 0.7888 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.01574, allocations: 2.781 kB / 0.7888 GB, free: 7.5 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.0007295/0.01647, allocations: 0.6295 MB / 0.7895 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.01651, allocations: 13.34 kB / 0.7895 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.01665, allocations: 60.81 kB / 0.7895 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.017, allocations: 307.7 kB / 0.7898 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.01702, allocations: 21.59 kB / 0.7898 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.01706, allocations: 32.36 kB / 0.7899 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.01736, allocations: 360.5 kB / 0.7902 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.01737, allocations: 1.062 kB / 0.7902 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.01739, allocations: 12 kB / 0.7902 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.01741, allocations: 8 kB / 0.7902 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.01752, allocations: 70.52 kB / 0.7903 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008832/0.0184, allocations: 0.9255 MB / 0.7912 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.01856, allocations: 74.48 kB / 0.7913 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.0186, allocations: 30.28 kB / 0.7913 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-05/0.01867, allocations: 11.98 kB / 0.7913 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.01883, allocations: 195.8 kB / 0.7915 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.01883, allocations: 4 kB / 0.7915 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0001741/0.019, allocations: 107.7 kB / 0.7916 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.01904, allocations: 55.39 kB / 0.7917 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.01921, allocations: 301.2 kB / 0.792 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.01923, allocations: 29.7 kB / 0.792 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.01931, allocations: 197.6 kB / 0.7922 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.01934, allocations: 59.52 kB / 0.7922 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.0194, allocations: 56.52 kB / 0.7923 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.01949, allocations: 350.7 kB / 0.7926 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.01954, allocations: 49.69 kB / 0.7927 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.01962, allocations: 127.1 kB / 0.7928 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.01975, allocations: 168.9 kB / 0.793 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01975, allocations: 0 / 0.793 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001938/0.01995, allocations: 216.3 kB / 0.7932 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.01998, allocations: 35.27 kB / 0.7932 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01999, allocations: 4 kB / 0.7932 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.02, allocations: 4 kB / 0.7932 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.02018, allocations: 59.91 kB / 0.7933 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.02019, allocations: 9.266 kB / 0.7933 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.0203, allocations: 27.84 kB / 0.7933 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.02032, allocations: 8.562 kB / 0.7933 GB, free: 2.605 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 0.0001028/0.02042, allocations: 141.2 kB / 0.7934 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.02045, allocations: 23.97 kB / 0.7935 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.02062, allocations: 105.2 kB / 0.7936 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.02063, allocations: 1.094 kB / 0.7936 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.02063, allocations: 0 / 0.7936 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001704/0.0208, allocations: 414 kB / 0.794 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.02102, allocations: 181.3 kB / 0.7941 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02102, allocations: 0 / 0.7941 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.02113, allocations: 36.97 kB / 0.7942 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.02113, allocations: 0 / 0.7942 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.02114, allocations: 4 kB / 0.7942 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.02115, allocations: 5.188 kB / 0.7942 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.02115, allocations: 0 / 0.7942 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.02136, allocations: 147.7 kB / 0.7943 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.02142, allocations: 36.52 kB / 0.7943 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.02145, allocations: 8 kB / 0.7944 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.02155, allocations: 16.8 kB / 0.7944 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.0216, allocations: 13.53 kB / 0.7944 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.02162, allocations: 7.984 kB / 0.7944 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.348e-05/0.02171, allocations: 115.4 kB / 0.7945 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02171, allocations: 0 / 0.7945 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002937/0.02201, allocations: 116.7 kB / 0.7946 GB, free: 1.129 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.0002512/0.02226, allocations: 131.2 kB / 0.7947 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.02248, allocations: 170.8 kB / 0.7949 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/0.0225, allocations: 4.906 kB / 0.7949 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.88e-05/0.02256, allocations: 42.45 kB / 0.7949 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.02303, allocations: 213.5 kB / 0.7951 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.02407, allocations: 0.5971 MB / 0.7957 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.65e-05/0.02413, allocations: 100.6 kB / 0.7958 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.0243, allocations: 46.56 kB / 0.7959 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.02456, allocations: 181.9 kB / 0.796 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of SimCode: time 1.062e-06/0.02456, allocations: 0 / 0.796 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of Templates: time 0.008873/0.03344, allocations: 7.237 MB / 0.8031 GB, free: 8.625 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.080980785191059]