Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.427/2.427, allocations: 284.9 MB / 292.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001698/0.001697, allocations: 181.2 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.1 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001289/0.001288, allocations: 92.92 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.022e-05/1.04e-05, allocations: 0 / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6429/0.643, allocations: 115.2 MB / 0.9628 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.727, allocations: 462.9 MB / 1.415 GB, free: 102 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.727, allocations: 92.91 kB / 1.415 GB, free: 101.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 32.01/33.73, allocations: 6.418 GB / 7.833 GB, free: 92.18 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005015/33.74, allocations: 0.5268 MB / 7.833 GB, free: 92.06 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.07946/33.82, allocations: 15.06 MB / 7.848 GB, free: 86.05 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/33.82, allocations: 10.91 kB / 7.848 GB, free: 86.05 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/33.84, allocations: 2.354 MB / 7.85 GB, free: 85.03 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1241/33.96, allocations: 27 MB / 7.877 GB, free: 82.05 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007323/33.97, allocations: 263.6 kB / 7.877 GB, free: 82.05 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006872/33.97, allocations: 0.5966 MB / 7.878 GB, free: 82.04 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05774/34.03, allocations: 20.25 MB / 7.897 GB, free: 82 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05692/34.09, allocations: 15.77 MB / 7.913 GB, free: 80.11 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006431/34.09, allocations: 14.78 kB / 7.913 GB, free: 80.11 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005345/34.09, allocations: 19.16 kB / 7.913 GB, free: 80.11 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003257/34.09, allocations: 215.7 kB / 7.913 GB, free: 80.11 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2241/34.32, allocations: 82.39 MB / 7.993 GB, free: 46.02 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02664/34.34, allocations: 10.87 MB / 8.004 GB, free: 45.86 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02328/34.37, allocations: 9.944 MB / 8.014 GB, free: 44.29 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1247/34.49, allocations: 36.04 MB / 8.049 GB, free: 26.36 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02523/34.52, allocations: 9.364 MB / 8.058 GB, free: 20.29 MB / 1.214 GB Notification: Performance of pre-optimization done (n=608): time 1.092e-05/34.52, allocations: 4 kB / 8.058 GB, free: 20.29 MB / 1.214 GB Notification: Performance of matching and sorting (n=610): time 2.287/36.8, allocations: 152.5 MB / 8.207 GB, free: 194.6 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007999/36.81, allocations: 2.509 MB / 8.209 GB, free: 191.6 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0465/36.85, allocations: 14.14 MB / 8.223 GB, free: 190.9 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.00453/36.86, allocations: 45.95 kB / 8.223 GB, free: 190.9 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.009541/36.87, allocations: 4.046 MB / 8.227 GB, free: 190.4 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.008042/36.87, allocations: 2.091 MB / 8.229 GB, free: 190.4 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004001/36.88, allocations: 0 / 8.229 GB, free: 190.4 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001139/36.88, allocations: 0.6731 MB / 8.23 GB, free: 190 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02415/36.9, allocations: 8.865 MB / 8.239 GB, free: 190 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03029/36.93, allocations: 12.38 MB / 8.251 GB, free: 186.1 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0349/36.97, allocations: 10.39 MB / 8.261 GB, free: 185.8 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/36.97, allocations: 11.41 kB / 8.261 GB, free: 185.8 MB / 1.229 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 1.492/38.46, allocations: 135.8 MB / 8.393 GB, free: 175.6 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007125/38.47, allocations: 32.77 MB / 8.425 GB, free: 141.3 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006849/38.47, allocations: 106.7 kB / 8.426 GB, free: 141.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527/40, allocations: 162.4 MB / 8.584 GB, free: 34.41 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02268/40.02, allocations: 1.979 MB / 8.586 GB, free: 32.58 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091/41.11, allocations: 69.03 MB / 8.654 GB, free: 191.2 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03408/41.14, allocations: 0.8555 MB / 8.654 GB, free: 191.2 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00599/41.15, allocations: 0.8344 MB / 8.655 GB, free: 191.2 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/41.15, allocations: 3.906 kB / 8.655 GB, free: 191.2 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.398/42.55, allocations: 132.7 MB / 8.785 GB, free: 185.3 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006244/42.55, allocations: 110.8 kB / 8.785 GB, free: 185.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535/44.08, allocations: 162.2 MB / 8.943 GB, free: 165 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01862/44.1, allocations: 1.955 MB / 8.945 GB, free: 163.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3774/44.48, allocations: 72.48 MB / 9.016 GB, free: 122.2 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03171/44.51, allocations: 0.8452 MB / 9.017 GB, free: 121.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005207/44.52, allocations: 0.7796 MB / 9.018 GB, free: 120.7 MB / 1.229 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.008157/44.53, allocations: 354.4 kB / 9.018 GB, free: 120.5 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008265/44.53, allocations: 1.477 MB / 9.019 GB, free: 119.8 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4392/44.97, allocations: 58.71 MB / 9.077 GB, free: 69.14 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002292/44.97, allocations: 73.55 kB / 9.077 GB, free: 69.07 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001444/44.97, allocations: 28 kB / 9.077 GB, free: 69.04 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17/46.14, allocations: 52.51 MB / 9.128 GB, free: 167.2 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4701/46.61, allocations: 72.42 MB / 9.199 GB, free: 159.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.171e-05/46.61, allocations: 0 / 9.199 GB, free: 159.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01305/46.63, allocations: 1.064 MB / 9.2 GB, free: 159.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4493/47.08, allocations: 67.9 MB / 9.266 GB, free: 146.2 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002667/47.08, allocations: 163.2 kB / 9.266 GB, free: 146.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.11/47.19, allocations: 27.78 MB / 9.293 GB, free: 139.5 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/47.19, allocations: 2.906 kB / 9.293 GB, free: 139.5 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4072/47.6, allocations: 63.59 MB / 9.355 GB, free: 131.8 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01541/47.61, allocations: 3.237 MB / 9.359 GB, free: 131.1 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007465/47.62, allocations: 86.05 kB / 9.359 GB, free: 131.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02351/47.64, allocations: 0.7519 MB / 9.359 GB, free: 131 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002812/47.65, allocations: 377 kB / 9.36 GB, free: 131 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001399/47.65, allocations: 268.8 kB / 9.36 GB, free: 131 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.03019/47.68, allocations: 10.64 MB / 9.37 GB, free: 130.6 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05772/47.74, allocations: 7.666 MB / 9.378 GB, free: 130.6 MB / 1.229 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.01417/47.75, allocations: 5.287 MB / 9.383 GB, free: 128.3 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.128/47.88, allocations: 36.68 MB / 9.419 GB, free: 125.2 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.068e-05/47.88, allocations: 11.97 kB / 9.419 GB, free: 125.2 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.0413/47.92, allocations: 9.17 MB / 9.428 GB, free: 124.9 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08116/48, allocations: 7.284 MB / 9.435 GB, free: 124.5 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1155/48.12, allocations: 27.45 MB / 9.462 GB, free: 110.3 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02948/48.15, allocations: 10.08 MB / 9.472 GB, free: 104 MB / 1.229 GB Notification: Performance of SimCode: time 2.064e-06/48.15, allocations: 0 / 9.472 GB, free: 104 MB / 1.229 GB Notification: Performance of Templates: time 2.58/50.73, allocations: 481.5 MB / 9.942 GB, free: 136.3 MB / 1.229 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)