Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") [: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 3.043/3.043, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.002345/0.002344, allocations: 169.3 kB / 360.4 MB, free: 7.535 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.721/1.721, 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.001308/0.001307, allocations: 85.67 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.292e-05/1.308e-05, allocations: 4 kB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.665/0.6651, allocations: 115.2 MB / 0.9628 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.731, allocations: 463.2 MB / 1.415 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/1.731, allocations: 93.39 kB / 1.415 GB, free: 101.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 43.75/45.48, allocations: 8.702 GB / 10.12 GB, free: 94.04 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.005369/45.49, allocations: 0.5178 MB / 10.12 GB, free: 93.93 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.07687/45.57, allocations: 15.04 MB / 10.13 GB, free: 88.02 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/45.57, allocations: 13.39 kB / 10.13 GB, free: 88.02 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01977/45.59, allocations: 2.349 MB / 10.13 GB, free: 87 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1234/45.71, allocations: 26.94 MB / 10.16 GB, free: 84.41 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007331/45.71, allocations: 262.9 kB / 10.16 GB, free: 84.41 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00655/45.72, allocations: 0.5785 MB / 10.16 GB, free: 84.41 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05529/45.77, allocations: 20.04 MB / 10.18 GB, free: 84.37 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05499/45.83, allocations: 15.61 MB / 10.2 GB, free: 82.55 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006388/45.83, allocations: 14.12 kB / 10.2 GB, free: 82.55 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004836/45.83, allocations: 19.69 kB / 10.2 GB, free: 82.55 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003195/45.83, allocations: 217.5 kB / 10.2 GB, free: 82.55 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2939/46.13, allocations: 83.24 MB / 10.28 GB, free: 47.45 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02491/46.15, allocations: 10.3 MB / 10.29 GB, free: 47.3 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02207/46.17, allocations: 9.413 MB / 10.3 GB, free: 47.23 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1426/46.32, allocations: 35.46 MB / 10.33 GB, free: 37.98 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03551/46.35, allocations: 9.132 MB / 10.34 GB, free: 37.82 MB / 1.198 GB Notification: Performance of pre-optimization done (n=584): time 2.281e-05/46.35, allocations: 0 / 10.34 GB, free: 37.82 MB / 1.198 GB Notification: Performance of matching and sorting (n=586): time 1.611/47.96, allocations: 150.1 MB / 10.49 GB, free: 1.832 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.7727/48.74, allocations: 2.504 MB / 10.49 GB, free: 195.5 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04482/48.78, allocations: 14.18 MB / 10.5 GB, free: 194.8 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004571/48.79, allocations: 47.2 kB / 10.5 GB, free: 194.8 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009631/48.8, allocations: 4.075 MB / 10.51 GB, free: 194.4 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.008198/48.8, allocations: 1.996 MB / 10.51 GB, free: 194.4 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004094/48.81, allocations: 0 / 10.51 GB, free: 194.4 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001158/48.81, allocations: 0.6768 MB / 10.51 GB, free: 194.1 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0235/48.83, allocations: 8.706 MB / 10.52 GB, free: 194.1 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02745/48.86, allocations: 12.18 MB / 10.53 GB, free: 190.2 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03188/48.89, allocations: 10.23 MB / 10.54 GB, free: 190.1 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/48.89, allocations: 16.31 kB / 10.54 GB, free: 190.1 MB / 1.214 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 1.484/50.38, allocations: 134.9 MB / 10.67 GB, free: 183.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.007095/50.38, allocations: 36.49 MB / 10.71 GB, free: 145.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006504/50.38, allocations: 116.3 kB / 10.71 GB, free: 145.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503/51.89, allocations: 161.2 MB / 10.87 GB, free: 107.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02396/51.91, allocations: 2.089 MB / 10.87 GB, free: 106 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2882/52.2, allocations: 67.35 MB / 10.93 GB, free: 62.56 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03335/52.23, allocations: 0.873 MB / 10.93 GB, free: 61.72 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006053/52.24, allocations: 0.8372 MB / 10.94 GB, free: 60.96 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/52.24, allocations: 4 kB / 10.94 GB, free: 60.95 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.137/54.38, allocations: 132.1 MB / 11.06 GB, free: 175.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005938/54.38, allocations: 113.6 kB / 11.06 GB, free: 175.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683/56.06, allocations: 161.2 MB / 11.22 GB, free: 159.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01979/56.08, allocations: 2.046 MB / 11.22 GB, free: 159.9 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3316/56.41, allocations: 68.39 MB / 11.29 GB, free: 156.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03476/56.45, allocations: 0.8445 MB / 11.29 GB, free: 156 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00833/56.45, allocations: 0.7912 MB / 11.29 GB, free: 156 MB / 1.214 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 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.01022/56.46, allocations: 356.2 kB / 11.29 GB, free: 155.9 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01121/56.48, allocations: 1.474 MB / 11.29 GB, free: 155.9 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4264/56.9, allocations: 57.8 MB / 11.35 GB, free: 127.4 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00018/56.9, allocations: 71.28 kB / 11.35 GB, free: 127.4 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.902e-05/56.9, allocations: 28 kB / 11.35 GB, free: 127.4 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3902/57.29, allocations: 51.7 MB / 11.4 GB, free: 92.05 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.325/58.62, allocations: 71.16 MB / 11.47 GB, free: 165 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001024/58.62, allocations: 0 / 11.47 GB, free: 165 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01797/58.64, allocations: 1.115 MB / 11.47 GB, free: 165 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4984/59.13, allocations: 66.76 MB / 11.54 GB, free: 155.4 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003389/59.14, allocations: 161.2 kB / 11.54 GB, free: 155.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1116/59.25, allocations: 26.32 MB / 11.56 GB, free: 148.9 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/59.25, allocations: 2.719 kB / 11.56 GB, free: 148.9 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4001/59.65, allocations: 62.52 MB / 11.62 GB, free: 141.3 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01606/59.67, allocations: 3.18 MB / 11.63 GB, free: 141 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009265/59.68, allocations: 84.59 kB / 11.63 GB, free: 141 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02495/59.7, allocations: 0.7403 MB / 11.63 GB, free: 140.9 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003115/59.7, allocations: 368.1 kB / 11.63 GB, free: 140.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002674/59.71, allocations: 264.9 kB / 11.63 GB, free: 140.9 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.03257/59.74, allocations: 10.65 MB / 11.64 GB, free: 140.4 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.06665/59.81, allocations: 7.678 MB / 11.65 GB, free: 140.4 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 (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 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01363/59.82, allocations: 5.296 MB / 11.65 GB, free: 138.2 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1361/59.96, allocations: 35.63 MB / 11.69 GB, free: 135.2 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 3.205e-05/59.96, allocations: 15.06 kB / 11.69 GB, free: 135.2 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.04156/60, allocations: 8.696 MB / 11.69 GB, free: 134.9 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06989/60.07, allocations: 7.269 MB / 11.7 GB, free: 134.5 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1149/60.18, allocations: 27.36 MB / 11.73 GB, free: 129 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0311/60.21, allocations: 10.1 MB / 11.74 GB, free: 127.8 MB / 1.214 GB Notification: Performance of SimCode: time 1.904e-06/60.21, allocations: 0 / 11.74 GB, free: 127.8 MB / 1.214 GB Notification: Performance of Templates: time 2.717/62.93, allocations: 474.9 MB / 12.2 GB, free: 162.4 MB / 1.214 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)