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.0009454/0.0009454, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001026/0.001026, allocations: 173.8 kB / 25.18 MB, free: 9.109 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.8648/0.8648, allocations: 177.2 MB / 205.6 MB, free: 4.352 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.893/1.893, allocations: 389.6 MB / 0.6364 GB, free: 13.28 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 2.395e-06/2.395e-06, allocations: 4 kB / 0.7755 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.727e-05, allocations: 10.19 kB / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006169/0.006186, allocations: 7.298 MB / 0.7827 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002756/0.008942, allocations: 2.497 MB / 0.7851 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.009204, allocations: 23.81 kB / 0.7851 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.009576, allocations: 127 kB / 0.7853 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007678/0.01034, allocations: 0.5281 MB / 0.7858 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.0108, allocations: 359.1 kB / 0.7861 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008129/0.01162, allocations: 1.094 MB / 0.7872 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.01209, allocations: 289.6 kB / 0.7875 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005471/0.01263, allocations: 0.5437 MB / 0.788 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.01287, allocations: 267.2 kB / 0.7883 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.01291, allocations: 32 kB / 0.7883 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.01311, allocations: 139.7 kB / 0.7884 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.01317, allocations: 99.59 kB / 0.7885 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.01342, allocations: 147.7 kB / 0.7886 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.01381, allocations: 406.6 kB / 0.789 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.01381, allocations: 0 / 0.789 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.01381, allocations: 0 / 0.789 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.01382, allocations: 0 / 0.789 GB, free: 0.707 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.0005772/0.01439, allocations: 0.645 MB / 0.7897 GB, free: 32 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.426e-05/0.01442, allocations: 8.031 kB / 0.7897 GB, free: 24 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.01455, allocations: 60.78 kB / 0.7897 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.01486, allocations: 312.3 kB / 0.79 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.01488, allocations: 20.88 kB / 0.7901 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.01491, allocations: 28.38 kB / 0.7901 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.01517, allocations: 351.9 kB / 0.7904 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.01518, allocations: 3.984 kB / 0.7904 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.0152, allocations: 12 kB / 0.7904 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.01522, allocations: 11.94 kB / 0.7904 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-05/0.01531, allocations: 69.41 kB / 0.7905 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.01606, allocations: 0.9267 MB / 0.7914 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.01618, allocations: 78.47 kB / 0.7915 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.01621, allocations: 24.84 kB / 0.7915 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.01625, allocations: 12 kB / 0.7915 GB, free: 14 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.01637, allocations: 190.1 kB / 0.7917 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.01637, allocations: 0 / 0.7917 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.000141/0.01652, allocations: 117.5 kB / 0.7918 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.01654, allocations: 51.41 kB / 0.7919 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.0167, allocations: 304.5 kB / 0.7922 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.01672, allocations: 25.7 kB / 0.7922 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.01679, allocations: 197 kB / 0.7924 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.01682, allocations: 51.58 kB / 0.7924 GB, free: 13 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.01687, allocations: 65.56 kB / 0.7925 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.01696, allocations: 354.7 kB / 0.7928 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/0.017, allocations: 49.69 kB / 0.7929 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.01706, allocations: 115.1 kB / 0.793 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.01717, allocations: 177.7 kB / 0.7931 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01717, allocations: 0 / 0.7931 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001573/0.01733, allocations: 216.3 kB / 0.7933 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.01735, allocations: 37.69 kB / 0.7934 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01736, allocations: 4.312 kB / 0.7934 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.01736, allocations: 4 kB / 0.7934 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.01751, allocations: 67.91 kB / 0.7935 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.01751, allocations: 4 kB / 0.7935 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.63e-05/0.01761, allocations: 31.81 kB / 0.7935 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.01762, allocations: 8 kB / 0.7935 GB, free: 11.76 MB / 0.7605 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 7.551e-05/0.01769, allocations: 132.5 kB / 0.7936 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.01772, allocations: 23.98 kB / 0.7936 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.01783, allocations: 112.4 kB / 0.7938 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.01784, allocations: 4 kB / 0.7938 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01784, allocations: 0 / 0.7938 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001434/0.01798, allocations: 406.8 kB / 0.7941 GB, free: 11 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.01814, allocations: 172.5 kB / 0.7943 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01814, allocations: 4 kB / 0.7943 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.01822, allocations: 31.97 kB / 0.7943 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.01823, allocations: 0 / 0.7943 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.01823, allocations: 3.938 kB / 0.7944 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01823, allocations: 0 / 0.7944 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01823, allocations: 0 / 0.7944 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.01837, allocations: 159.7 kB / 0.7945 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.01843, allocations: 35.73 kB / 0.7945 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.01845, allocations: 8 kB / 0.7945 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.01853, allocations: 7.984 kB / 0.7946 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.01856, allocations: 19.97 kB / 0.7946 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.01857, allocations: 0 / 0.7946 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 7.736e-05/0.01864, allocations: 123.4 kB / 0.7947 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01865, allocations: 0 / 0.7947 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002099/0.01885, allocations: 119.7 kB / 0.7948 GB, free: 10.29 MB / 0.7605 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.0001398/0.01899, allocations: 132.3 kB / 0.7949 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.01914, allocations: 178.3 kB / 0.7951 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.01914, allocations: 8.062 kB / 0.7951 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.01918, allocations: 40.44 kB / 0.7951 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.01955, allocations: 196.8 kB / 0.7953 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008267/0.02038, allocations: 0.6222 MB / 0.7959 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.02049, allocations: 181.1 kB / 0.7961 GB, free: 8.863 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.02073, allocations: 173.2 kB / 0.7963 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of SimCode: time 8.12e-07/0.02074, allocations: 3.938 kB / 0.7963 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of Templates: time 0.004729/0.02546, allocations: 5.636 MB / 0.8018 GB, free: 3.074 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 > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.929026506841183]