Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") [: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.32/2.32, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001674/0.001674, allocations: 185.2 kB / 360.4 MB, free: 7.531 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.849/1.849, allocations: 205.2 MB / 0.6188 GB, free: 13.2 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.001223/0.001223, allocations: 98.28 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.796e-06/8.997e-06, allocations: 0 / 0.8502 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7074/0.7074, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.79, allocations: 463.4 MB / 1.415 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/1.791, allocations: 92.91 kB / 1.415 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 47.82/49.61, allocations: 9.489 GB / 10.9 GB, free: 89.34 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004764/49.62, allocations: 0.5069 MB / 10.9 GB, free: 89.24 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.08658/49.7, allocations: 15.04 MB / 10.92 GB, free: 83.56 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/49.7, allocations: 9.281 kB / 10.92 GB, free: 83.56 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02031/49.72, allocations: 2.35 MB / 10.92 GB, free: 82.55 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1382/49.86, allocations: 26.94 MB / 10.95 GB, free: 79.96 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006849/49.86, allocations: 257.1 kB / 10.95 GB, free: 79.96 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006312/49.87, allocations: 0.5796 MB / 10.95 GB, free: 79.96 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05425/49.92, allocations: 19.98 MB / 10.97 GB, free: 79.92 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05958/49.98, allocations: 15.58 MB / 10.98 GB, free: 78.11 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006169/49.98, allocations: 13.2 kB / 10.98 GB, free: 78.11 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004852/49.99, allocations: 19.03 kB / 10.98 GB, free: 78.11 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002794/49.99, allocations: 218.9 kB / 10.98 GB, free: 78.11 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2123/50.2, allocations: 83.57 MB / 11.07 GB, free: 43.25 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0237/50.23, allocations: 10.14 MB / 11.08 GB, free: 43.11 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04929/50.28, allocations: 9.717 MB / 11.09 GB, free: 43.01 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1435/50.42, allocations: 35.25 MB / 11.12 GB, free: 33.84 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02419/50.44, allocations: 9.033 MB / 11.13 GB, free: 33.68 MB / 1.214 GB Notification: Performance of pre-optimization done (n=563): time 1.206e-05/50.44, allocations: 0 / 11.13 GB, free: 33.68 MB / 1.214 GB Notification: Performance of matching and sorting (n=565): time 1.498/51.94, allocations: 149.5 MB / 11.27 GB, free: 19.08 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006323/51.94, allocations: 2.502 MB / 11.28 GB, free: 16.01 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04473/51.99, allocations: 14.18 MB / 11.29 GB, free: 7.832 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004299/51.99, allocations: 45.7 kB / 11.29 GB, free: 7.781 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009744/52, allocations: 4.099 MB / 11.29 GB, free: 5.102 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.007594/52.01, allocations: 1.932 MB / 11.3 GB, free: 3.555 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003982/52.01, allocations: 3.469 kB / 11.3 GB, free: 3.555 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001132/52.01, allocations: 0.6748 MB / 11.3 GB, free: 3.129 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03366/52.05, allocations: 9.199 MB / 11.31 GB, free: 0 / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03074/52.08, allocations: 12.11 MB / 11.32 GB, free: 7.332 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03443/52.11, allocations: 10.14 MB / 11.33 GB, free: 2.371 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/52.11, allocations: 16 kB / 11.33 GB, free: 2.355 MB / 1.229 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 2.335/54.45, allocations: 136.1 MB / 11.46 GB, free: 184.3 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.007088/54.45, allocations: 38.06 MB / 11.5 GB, free: 145.5 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006422/54.45, allocations: 120.9 kB / 11.5 GB, free: 145.5 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562/56.02, allocations: 160.9 MB / 11.66 GB, free: 130.1 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03598/56.05, allocations: 2.082 MB / 11.66 GB, free: 130.1 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2866/56.34, allocations: 65.63 MB / 11.72 GB, free: 121.4 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03228/56.37, allocations: 0.8745 MB / 11.72 GB, free: 120.9 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005312/56.38, allocations: 0.8419 MB / 11.72 GB, free: 120.3 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/56.38, allocations: 4 kB / 11.72 GB, free: 120.3 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.363/57.74, allocations: 131.9 MB / 11.85 GB, free: 13.57 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006072/57.74, allocations: 120.3 kB / 11.85 GB, free: 13.46 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279/60.02, allocations: 161 MB / 12.01 GB, free: 168.2 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01945/60.04, allocations: 2.065 MB / 12.01 GB, free: 168.2 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3131/60.35, allocations: 67.3 MB / 12.08 GB, free: 164.5 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03013/60.38, allocations: 0.839 MB / 12.08 GB, free: 164.4 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005035/60.39, allocations: 0.795 MB / 12.08 GB, free: 164.4 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (947): * Single equations (assignments): 871 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {5 80} Notification: Performance of prepare postOptimizeDAE: time 0.007284/60.4, allocations: 361 kB / 12.08 GB, free: 164.3 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009948/60.41, allocations: 1.47 MB / 12.08 GB, free: 164.3 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4728/60.88, allocations: 57.43 MB / 12.14 GB, free: 156.8 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002886/60.88, allocations: 69.05 kB / 12.14 GB, free: 156.8 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001567/60.88, allocations: 28.91 kB / 12.14 GB, free: 156.8 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3691/61.25, allocations: 51.36 MB / 12.19 GB, free: 149.6 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4292/61.68, allocations: 69.95 MB / 12.25 GB, free: 108.7 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-05/61.68, allocations: 6.438 kB / 12.25 GB, free: 108.7 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01298/61.69, allocations: 1.08 MB / 12.26 GB, free: 107.9 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4121/62.1, allocations: 66.51 MB / 12.32 GB, free: 52.82 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002547/62.11, allocations: 160.7 kB / 12.32 GB, free: 52.74 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1028/62.21, allocations: 24.67 MB / 12.35 GB, free: 36.92 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/62.21, allocations: 0 / 12.35 GB, free: 36.92 MB / 1.245 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 1.135/63.34, allocations: 62.95 MB / 12.41 GB, free: 184.9 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01508/63.36, allocations: 3.151 MB / 12.41 GB, free: 184.8 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00836/63.37, allocations: 86.73 kB / 12.41 GB, free: 184.8 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02332/63.39, allocations: 0.6889 MB / 12.41 GB, free: 184.8 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002874/63.39, allocations: 356.3 kB / 12.41 GB, free: 184.8 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002309/63.4, allocations: 256.5 kB / 12.41 GB, free: 184.8 MB / 1.245 GB Notification: Performance of sort global known variables: time 0.03108/63.43, allocations: 10.64 MB / 12.42 GB, free: 184.3 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.06922/63.5, allocations: 7.66 MB / 12.43 GB, free: 184.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 (522): * Single equations (assignments): 502 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01388/63.51, allocations: 5.309 MB / 12.43 GB, free: 182.1 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.1225/63.63, allocations: 35.24 MB / 12.47 GB, free: 179.1 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-05/63.63, allocations: 12.5 kB / 12.47 GB, free: 179.1 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.02877/63.66, allocations: 8.519 MB / 12.48 GB, free: 178.9 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06798/63.73, allocations: 7.13 MB / 12.48 GB, free: 178.5 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1153/63.84, allocations: 27.26 MB / 12.51 GB, free: 173.1 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03299/63.88, allocations: 10.08 MB / 12.52 GB, free: 171.8 MB / 1.245 GB Notification: Performance of SimCode: time 2.454e-06/63.88, allocations: 0 / 12.52 GB, free: 171.8 MB / 1.245 GB Notification: Performance of Templates: time 2.746/66.62, allocations: 470 MB / 12.98 GB, free: 179.3 MB / 1.245 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)