Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 289.8 MB / 297.1 MB, free: 6.621 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 180.1 kB / 366.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.1 MB / 0.6256 GB, free: 5.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009715/0.0009715, allocations: 92 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.847e-06/8.867e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7536/0.7536, allocations: 116.3 MB / 0.9725 GB, free: 68.72 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.778, allocations: 464.2 MB / 1.426 GB, free: 21.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.779, allocations: 95.2 kB / 1.426 GB, free: 21.22 MB / 0.823 GB Notification: Performance of FrontEnd: time 33.73/35.51, allocations: 8.701 GB / 10.13 GB, free: 98.15 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003989/35.52, allocations: 0.514 MB / 10.13 GB, free: 98.04 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.06891/35.59, allocations: 15.05 MB / 10.14 GB, free: 92.24 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/35.59, allocations: 11.47 kB / 10.14 GB, free: 92.24 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0187/35.6, allocations: 2.351 MB / 10.14 GB, free: 91.23 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.091/35.7, allocations: 26.93 MB / 10.17 GB, free: 88.64 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007557/35.7, allocations: 259.6 kB / 10.17 GB, free: 88.64 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006631/35.7, allocations: 0.5882 MB / 10.17 GB, free: 88.64 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03768/35.74, allocations: 20.04 MB / 10.19 GB, free: 88.6 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05354/35.79, allocations: 15.62 MB / 10.21 GB, free: 86.78 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005102/35.8, allocations: 12.25 kB / 10.21 GB, free: 86.78 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0047/35.8, allocations: 14.66 kB / 10.21 GB, free: 86.78 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002423/35.8, allocations: 222.8 kB / 10.21 GB, free: 86.78 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1716/35.97, allocations: 83.24 MB / 10.29 GB, free: 52.21 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/35.99, allocations: 10.3 MB / 10.3 GB, free: 52.06 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01686/36.01, allocations: 9.416 MB / 10.31 GB, free: 51.98 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09217/36.1, allocations: 35.46 MB / 10.34 GB, free: 42.74 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02007/36.12, allocations: 9.127 MB / 10.35 GB, free: 42.57 MB / 1.214 GB Notification: Performance of pre-optimization done (n=584): time 9.598e-06/36.12, allocations: 0 / 10.35 GB, free: 42.57 MB / 1.214 GB Notification: Performance of matching and sorting (n=586): time 0.7023/36.82, allocations: 150 MB / 10.5 GB, free: 15.38 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000522/36.82, allocations: 2.508 MB / 10.5 GB, free: 12.3 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03083/36.85, allocations: 14.18 MB / 10.51 GB, free: 4.125 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004418/36.86, allocations: 55.89 kB / 10.51 GB, free: 4.066 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.008073/36.87, allocations: 4.066 MB / 10.52 GB, free: 1.414 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006765/36.87, allocations: 1.998 MB / 10.52 GB, free: 15.8 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002909/36.88, allocations: 2.812 kB / 10.52 GB, free: 15.8 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0009488/36.88, allocations: 0.6805 MB / 10.52 GB, free: 15.38 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01556/36.89, allocations: 8.705 MB / 10.53 GB, free: 10.52 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0216/36.91, allocations: 12.18 MB / 10.54 GB, free: 14.2 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02204/36.94, allocations: 10.21 MB / 10.55 GB, free: 5.719 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/36.94, allocations: 16 kB / 10.55 GB, free: 5.703 MB / 1.245 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 1.338/38.27, allocations: 135.7 MB / 10.68 GB, free: 183.2 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.00604/38.28, allocations: 36.49 MB / 10.72 GB, free: 146 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005116/38.28, allocations: 123.7 kB / 10.72 GB, free: 146 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6682/38.95, allocations: 161.4 MB / 10.88 GB, free: 130.5 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01281/38.96, allocations: 2.079 MB / 10.88 GB, free: 130.4 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1405/39.1, allocations: 67.58 MB / 10.94 GB, free: 112.5 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02068/39.12, allocations: 0.8657 MB / 10.95 GB, free: 111.9 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004526/39.13, allocations: 0.8437 MB / 10.95 GB, free: 111.4 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/39.13, allocations: 2.5 kB / 10.95 GB, free: 111.4 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6013/39.73, allocations: 132.2 MB / 11.08 GB, free: 2.395 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004625/39.73, allocations: 121.5 kB / 11.08 GB, free: 2.277 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412/41.14, allocations: 161.2 MB / 11.23 GB, free: 164.9 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/41.15, allocations: 2.058 MB / 11.23 GB, free: 164.9 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1498/41.3, allocations: 68.52 MB / 11.3 GB, free: 161.1 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02164/41.32, allocations: 0.8521 MB / 11.3 GB, free: 161.1 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004996/41.33, allocations: 0.7893 MB / 11.3 GB, free: 161.1 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (939): * Single equations (assignments): 861 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.008898/41.34, allocations: 345.3 kB / 11.3 GB, free: 161 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007465/41.35, allocations: 1.474 MB / 11.31 GB, free: 161 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2098/41.56, allocations: 57.81 MB / 11.36 GB, free: 153.4 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001631/41.56, allocations: 70.89 kB / 11.36 GB, free: 153.4 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-05/41.56, allocations: 32.03 kB / 11.36 GB, free: 153.4 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1874/41.74, allocations: 51.69 MB / 11.41 GB, free: 144.9 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2347/41.98, allocations: 71.16 MB / 11.48 GB, free: 100.9 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.836e-05/41.98, allocations: 4 kB / 11.48 GB, free: 100.9 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007769/41.99, allocations: 1.112 MB / 11.48 GB, free: 100.1 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2019/42.19, allocations: 67.01 MB / 11.55 GB, free: 44.57 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002831/42.19, allocations: 155.3 kB / 11.55 GB, free: 44.49 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8703/43.06, allocations: 27.1 MB / 11.57 GB, free: 185.1 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/43.06, allocations: 3.906 kB / 11.57 GB, free: 185.1 MB / 1.245 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2015/43.26, allocations: 62.5 MB / 11.64 GB, free: 181.9 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01407/43.28, allocations: 3.183 MB / 11.64 GB, free: 181.8 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007959/43.28, allocations: 87.2 kB / 11.64 GB, free: 181.8 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01681/43.3, allocations: 0.7471 MB / 11.64 GB, free: 181.7 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002663/43.3, allocations: 369.7 kB / 11.64 GB, free: 181.7 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00144/43.31, allocations: 258.9 kB / 11.64 GB, free: 181.7 MB / 1.245 GB Notification: Performance of sort global known variables: time 0.02778/43.33, allocations: 10.65 MB / 11.65 GB, free: 181.3 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.05301/43.39, allocations: 7.67 MB / 11.66 GB, free: 181.3 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (530): * Single equations (assignments): 508 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01083/43.4, allocations: 5.309 MB / 11.66 GB, free: 179 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.07708/43.47, allocations: 36.08 MB / 11.7 GB, free: 176 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 2.129e-05/43.47, allocations: 11.91 kB / 11.7 GB, free: 176 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.01927/43.49, allocations: 8.891 MB / 11.71 GB, free: 175.7 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04021/43.53, allocations: 7.274 MB / 11.71 GB, free: 175.3 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07938/43.61, allocations: 27.36 MB / 11.74 GB, free: 169.9 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02037/43.63, allocations: 10.1 MB / 11.75 GB, free: 168.6 MB / 1.245 GB Notification: Performance of SimCode: time 1.502e-06/43.63, allocations: 0 / 11.75 GB, free: 168.6 MB / 1.245 GB Notification: Performance of Templates: time 1.83/45.46, allocations: 473.9 MB / 12.21 GB, free: 159.1 MB / 1.245 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)