Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic") [: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.001195/0.001195, allocations: 180.2 kB / 366.3 MB, free: 1.949 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.716/1.716, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.001045/0.001046, allocations: 81.77 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.422e-05/1.446e-05, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7574/0.7575, allocations: 116.3 MB / 0.9726 GB, free: 68.8 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.81, allocations: 464.1 MB / 1.426 GB, free: 25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.81, allocations: 91.7 kB / 1.426 GB, free: 24.96 MB / 0.823 GB Notification: Performance of FrontEnd: time 25.98/27.79, allocations: 6.418 GB / 7.844 GB, free: 94.59 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.004224/27.8, allocations: 0.5293 MB / 7.844 GB, free: 94.48 MB / 1.229 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.06441/27.86, allocations: 15.05 MB / 7.859 GB, free: 88.52 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/27.86, allocations: 8.094 kB / 7.859 GB, free: 88.52 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01873/27.88, allocations: 2.36 MB / 7.861 GB, free: 87.5 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08715/27.97, allocations: 27.01 MB / 7.888 GB, free: 84.89 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006774/27.97, allocations: 260.4 kB / 7.888 GB, free: 84.89 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006177/27.98, allocations: 0.5911 MB / 7.888 GB, free: 84.88 MB / 1.229 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0373/28.01, allocations: 20.25 MB / 7.908 GB, free: 84.84 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0533/28.07, allocations: 15.77 MB / 7.924 GB, free: 83.02 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009324/28.07, allocations: 12.03 kB / 7.924 GB, free: 83.02 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005717/28.07, allocations: 19.72 kB / 7.924 GB, free: 83.02 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003126/28.07, allocations: 214.9 kB / 7.924 GB, free: 83.02 MB / 1.229 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1804/28.25, allocations: 82.4 MB / 8.004 GB, free: 49.41 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01951/28.27, allocations: 10.86 MB / 8.015 GB, free: 49.27 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01658/28.29, allocations: 9.95 MB / 8.025 GB, free: 49.14 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09819/28.39, allocations: 36.05 MB / 8.06 GB, free: 39.89 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02116/28.41, allocations: 9.347 MB / 8.069 GB, free: 39.74 MB / 1.229 GB Notification: Performance of pre-optimization done (n=608): time 1.549e-05/28.41, allocations: 0 / 8.069 GB, free: 39.74 MB / 1.229 GB Notification: Performance of matching and sorting (n=610): time 1.616/30.03, allocations: 153.2 MB / 8.219 GB, free: 186.2 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007076/30.03, allocations: 2.511 MB / 8.221 GB, free: 183.2 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04283/30.07, allocations: 14.14 MB / 8.235 GB, free: 182.5 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.007412/30.08, allocations: 48.45 kB / 8.235 GB, free: 182.5 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01137/30.09, allocations: 4.05 MB / 8.239 GB, free: 182 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.00827/30.1, allocations: 2.074 MB / 8.241 GB, free: 182 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004657/30.1, allocations: 0 / 8.241 GB, free: 182 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.001235/30.1, allocations: 0.6837 MB / 8.241 GB, free: 181.7 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01693/30.12, allocations: 8.865 MB / 8.25 GB, free: 181.7 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02094/30.14, allocations: 12.37 MB / 8.262 GB, free: 177.8 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02403/30.17, allocations: 10.4 MB / 8.272 GB, free: 177.7 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/30.17, allocations: 13.72 kB / 8.272 GB, free: 177.7 MB / 1.245 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.6602/30.83, allocations: 135.8 MB / 8.405 GB, free: 170.5 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.006979/30.83, allocations: 32.77 MB / 8.437 GB, free: 136.2 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005761/30.83, allocations: 111.5 kB / 8.437 GB, free: 136.2 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6888/31.52, allocations: 162.4 MB / 8.596 GB, free: 108.6 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/31.54, allocations: 1.986 MB / 8.598 GB, free: 107.2 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.149/31.69, allocations: 69.03 MB / 8.665 GB, free: 68.59 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02415/31.71, allocations: 0.8597 MB / 8.666 GB, free: 68 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005938/31.72, allocations: 0.8327 MB / 8.667 GB, free: 67.5 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/31.72, allocations: 6.062 kB / 8.667 GB, free: 67.5 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.506/33.22, allocations: 132.7 MB / 8.796 GB, free: 165.7 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005487/33.22, allocations: 110.6 kB / 8.796 GB, free: 165.7 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6771/33.9, allocations: 162.2 MB / 8.955 GB, free: 150.4 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01169/33.91, allocations: 1.955 MB / 8.957 GB, free: 150.4 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1808/34.09, allocations: 72.47 MB / 9.027 GB, free: 146.5 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02298/34.11, allocations: 0.8403 MB / 9.028 GB, free: 146.5 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005609/34.12, allocations: 0.7885 MB / 9.029 GB, free: 146.5 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (891): * Single equations (assignments): 813 * 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 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.008293/34.13, allocations: 339 kB / 9.029 GB, free: 146.4 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008664/34.14, allocations: 1.483 MB / 9.031 GB, free: 146.4 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2287/34.37, allocations: 58.71 MB / 9.088 GB, free: 138.8 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002422/34.37, allocations: 76.84 kB / 9.088 GB, free: 138.8 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001928/34.37, allocations: 29.47 kB / 9.088 GB, free: 138.8 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1972/34.56, allocations: 52.51 MB / 9.14 GB, free: 105.2 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2351/34.8, allocations: 72.42 MB / 9.21 GB, free: 59.47 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.251e-05/34.8, allocations: 4.125 kB / 9.21 GB, free: 59.47 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007315/34.81, allocations: 1.053 MB / 9.211 GB, free: 58.5 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104/35.91, allocations: 67.9 MB / 9.278 GB, free: 162.2 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003059/35.91, allocations: 168.5 kB / 9.278 GB, free: 162.2 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06214/35.98, allocations: 27.79 MB / 9.305 GB, free: 155.7 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/35.98, allocations: 2.812 kB / 9.305 GB, free: 155.7 MB / 1.245 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2103/36.19, allocations: 63.58 MB / 9.367 GB, free: 148 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01498/36.2, allocations: 3.228 MB / 9.37 GB, free: 147.7 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008812/36.21, allocations: 86.3 kB / 9.37 GB, free: 147.7 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01861/36.23, allocations: 0.75 MB / 9.371 GB, free: 147.6 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002738/36.23, allocations: 381 kB / 9.371 GB, free: 147.6 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001146/36.23, allocations: 273.2 kB / 9.372 GB, free: 147.6 MB / 1.245 GB Notification: Performance of sort global known variables: time 0.02547/36.26, allocations: 10.63 MB / 9.382 GB, free: 147.1 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.05427/36.31, allocations: 7.67 MB / 9.389 GB, free: 147.1 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 (506): * Single equations (assignments): 484 * 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 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.009982/36.32, allocations: 5.297 MB / 9.395 GB, free: 144.9 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.07718/36.4, allocations: 36.67 MB / 9.43 GB, free: 141.8 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/36.4, allocations: 8.781 kB / 9.43 GB, free: 141.8 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.02151/36.42, allocations: 9.17 MB / 9.439 GB, free: 141.5 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04386/36.46, allocations: 7.295 MB / 9.447 GB, free: 141.1 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0788/36.54, allocations: 27.45 MB / 9.473 GB, free: 135.6 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0186/36.56, allocations: 10.08 MB / 9.483 GB, free: 134.3 MB / 1.245 GB Notification: Performance of SimCode: time 9.61e-07/36.56, allocations: 0 / 9.483 GB, free: 134.3 MB / 1.245 GB Notification: Performance of Templates: time 2.004/38.57, allocations: 481.5 MB / 9.953 GB, free: 169.1 MB / 1.245 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)