Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.596/1.596, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001548/0.001548, allocations: 185.2 kB / 361.1 MB, free: 7.066 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.611/1.611, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0009658/0.0009657, allocations: 96.78 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.057e-06/9.097e-06, allocations: 4 kB / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6983/0.6983, allocations: 115.3 MB / 0.9637 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.739, allocations: 463.1 MB / 1.416 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/1.74, allocations: 91.08 kB / 1.416 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 25.95/27.69, allocations: 6.418 GB / 7.834 GB, free: 81.18 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.005864/27.69, allocations: 0.5294 MB / 7.834 GB, free: 81.03 MB / 1.198 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.07708/27.77, allocations: 15.05 MB / 7.849 GB, free: 74.59 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.659e-05/27.77, allocations: 8.719 kB / 7.849 GB, free: 74.59 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0218/27.79, allocations: 2.358 MB / 7.851 GB, free: 73.55 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09977/27.89, allocations: 27 MB / 7.878 GB, free: 70.01 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008266/27.89, allocations: 259.4 kB / 7.878 GB, free: 70.01 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007395/27.9, allocations: 0.5912 MB / 7.879 GB, free: 70 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04689/27.94, allocations: 20.26 MB / 7.898 GB, free: 69.96 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05569/28, allocations: 15.77 MB / 7.914 GB, free: 68 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008181/28, allocations: 15.28 kB / 7.914 GB, free: 67.99 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006016/28.01, allocations: 17.25 kB / 7.914 GB, free: 67.99 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003781/28.01, allocations: 220.1 kB / 7.914 GB, free: 67.99 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2044/28.21, allocations: 82.4 MB / 7.994 GB, free: 19.19 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/28.23, allocations: 10.86 MB / 8.005 GB, free: 9.664 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01541/28.25, allocations: 9.946 MB / 8.015 GB, free: 0.7305 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033/29.28, allocations: 36.56 MB / 8.05 GB, free: 190.4 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01953/29.3, allocations: 9.34 MB / 8.06 GB, free: 190.3 MB / 1.214 GB Notification: Performance of pre-optimization done (n=608): time 1.296e-05/29.3, allocations: 0 / 8.06 GB, free: 190.3 MB / 1.214 GB Notification: Performance of matching and sorting (n=610): time 0.6975/30, allocations: 151.5 MB / 8.208 GB, free: 182.3 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006433/30, allocations: 2.512 MB / 8.21 GB, free: 179.3 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04343/30.04, allocations: 14.15 MB / 8.224 GB, free: 178.6 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.005237/30.05, allocations: 47.58 kB / 8.224 GB, free: 178.5 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01195/30.06, allocations: 4.044 MB / 8.228 GB, free: 177.1 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.00804/30.07, allocations: 2.08 MB / 8.23 GB, free: 176 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004544/30.07, allocations: 1.438 kB / 8.23 GB, free: 176 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001278/30.07, allocations: 0.6758 MB / 8.23 GB, free: 175.7 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01745/30.09, allocations: 8.869 MB / 8.239 GB, free: 175.7 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02198/30.11, allocations: 12.38 MB / 8.251 GB, free: 171.7 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0281/30.14, allocations: 10.38 MB / 8.261 GB, free: 171.5 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001913/30.14, allocations: 14.16 kB / 8.261 GB, free: 171.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.6502/30.79, allocations: 135.8 MB / 8.394 GB, free: 144.8 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.007807/30.8, allocations: 32.77 MB / 8.426 GB, free: 110.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006172/30.8, allocations: 111.5 kB / 8.426 GB, free: 110.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5/32.3, allocations: 162.4 MB / 8.585 GB, free: 182.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01262/32.31, allocations: 1.985 MB / 8.587 GB, free: 182.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1632/32.47, allocations: 69.02 MB / 8.654 GB, free: 176.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02412/32.5, allocations: 0.8582 MB / 8.655 GB, free: 176.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005437/32.5, allocations: 0.8393 MB / 8.656 GB, free: 176.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/32.5, allocations: 1.594 kB / 8.656 GB, free: 176.1 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6275/33.13, allocations: 132.7 MB / 8.785 GB, free: 166.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006267/33.13, allocations: 112.5 kB / 8.785 GB, free: 166.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6726/33.81, allocations: 162.2 MB / 8.944 GB, free: 95.61 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/33.82, allocations: 1.959 MB / 8.946 GB, free: 93.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1756/33.99, allocations: 72.47 MB / 9.017 GB, free: 39.05 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02277/34.01, allocations: 0.846 MB / 9.017 GB, free: 38.29 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005227/34.02, allocations: 0.7833 MB / 9.018 GB, free: 37.57 MB / 1.214 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.008578/34.03, allocations: 335.1 kB / 9.018 GB, free: 37.38 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008303/34.04, allocations: 1.485 MB / 9.02 GB, free: 36.7 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.119/35.16, allocations: 58.72 MB / 9.077 GB, free: 174.8 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002703/35.16, allocations: 68.62 kB / 9.077 GB, free: 174.8 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001415/35.16, allocations: 28.59 kB / 9.077 GB, free: 174.8 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1881/35.34, allocations: 52.51 MB / 9.129 GB, free: 167.7 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2505/35.6, allocations: 72.43 MB / 9.199 GB, free: 157.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.76e-05/35.6, allocations: 0 / 9.199 GB, free: 157.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007632/35.6, allocations: 1.055 MB / 9.2 GB, free: 157.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.213/35.82, allocations: 67.91 MB / 9.267 GB, free: 144.3 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00289/35.82, allocations: 167.2 kB / 9.267 GB, free: 144.3 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06673/35.89, allocations: 27.79 MB / 9.294 GB, free: 137.7 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/35.89, allocations: 2.156 kB / 9.294 GB, free: 137.7 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.218/36.1, allocations: 63.58 MB / 9.356 GB, free: 115.7 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01529/36.12, allocations: 3.232 MB / 9.359 GB, free: 113.7 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009008/36.13, allocations: 84.61 kB / 9.359 GB, free: 113.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01787/36.15, allocations: 0.7553 MB / 9.36 GB, free: 113.2 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002755/36.15, allocations: 377.4 kB / 9.36 GB, free: 113 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002243/36.15, allocations: 268 kB / 9.361 GB, free: 112.8 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.02701/36.18, allocations: 10.63 MB / 9.371 GB, free: 107 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.05342/36.23, allocations: 7.67 MB / 9.378 GB, free: 99.91 MB / 1.214 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.01178/36.24, allocations: 5.292 MB / 9.384 GB, free: 95.4 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.08494/36.33, allocations: 36.68 MB / 9.419 GB, free: 74.3 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/36.33, allocations: 14.31 kB / 9.419 GB, free: 74.29 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01984/36.35, allocations: 9.166 MB / 9.428 GB, free: 69.26 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04342/36.39, allocations: 7.288 MB / 9.436 GB, free: 65.16 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09769/36.49, allocations: 27.44 MB / 9.462 GB, free: 44.29 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02644/36.52, allocations: 10.09 MB / 9.472 GB, free: 37.93 MB / 1.214 GB Notification: Performance of SimCode: time 1.693e-06/36.52, allocations: 0 / 9.472 GB, free: 37.93 MB / 1.214 GB Notification: Performance of Templates: time 3.022/39.54, allocations: 481.9 MB / 9.943 GB, free: 158.6 MB / 1.214 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)