Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/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.703 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.001211/0.001211, allocations: 173.3 kB / 366.3 MB, free: 2 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.807/1.807, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.001014/0.001014, allocations: 86.44 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.084e-05, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7181, allocations: 116.3 MB / 0.9726 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.752, allocations: 464.5 MB / 1.426 GB, free: 21.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/1.752, allocations: 96.11 kB / 1.426 GB, free: 21.41 MB / 0.823 GB Notification: Performance of FrontEnd: time 36.32/38.07, allocations: 9.489 GB / 10.92 GB, free: 19.82 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.00486/38.08, allocations: 0.5146 MB / 10.92 GB, free: 19.31 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.06101/38.14, allocations: 15.04 MB / 10.93 GB, free: 4.148 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/38.14, allocations: 8.031 kB / 10.93 GB, free: 4.141 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01836/38.16, allocations: 2.355 MB / 10.93 GB, free: 1.762 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9667/39.13, allocations: 26.92 MB / 10.96 GB, free: 138.8 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007787/39.13, allocations: 261.1 kB / 10.96 GB, free: 138.8 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006772/39.13, allocations: 0.5708 MB / 10.96 GB, free: 138.8 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03668/39.17, allocations: 19.98 MB / 10.98 GB, free: 138.8 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04959/39.22, allocations: 15.59 MB / 10.99 GB, free: 137 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001174/39.22, allocations: 17 kB / 10.99 GB, free: 137 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007575/39.23, allocations: 15.41 kB / 10.99 GB, free: 137 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005149/39.23, allocations: 221.3 kB / 10.99 GB, free: 137 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1698/39.4, allocations: 83.58 MB / 11.08 GB, free: 102.4 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/39.42, allocations: 10.15 MB / 11.09 GB, free: 102.3 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01577/39.43, allocations: 9.713 MB / 11.1 GB, free: 102.2 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08818/39.52, allocations: 35.25 MB / 11.13 GB, free: 93.6 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01822/39.54, allocations: 9.024 MB / 11.14 GB, free: 93.45 MB / 1.214 GB Notification: Performance of pre-optimization done (n=563): time 1.27e-05/39.54, allocations: 0 / 11.14 GB, free: 93.45 MB / 1.214 GB Notification: Performance of matching and sorting (n=565): time 0.7026/40.24, allocations: 149.5 MB / 11.29 GB, free: 82 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007475/40.24, allocations: 2.506 MB / 11.29 GB, free: 78.98 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04484/40.29, allocations: 14.18 MB / 11.3 GB, free: 78.15 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004839/40.29, allocations: 43.36 kB / 11.3 GB, free: 78.12 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009625/40.3, allocations: 4.097 MB / 11.31 GB, free: 76.29 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.007091/40.31, allocations: 1.941 MB / 11.31 GB, free: 74.99 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004095/40.31, allocations: 0 / 11.31 GB, free: 74.99 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001099/40.31, allocations: 0.6746 MB / 11.31 GB, free: 74.67 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01614/40.33, allocations: 8.649 MB / 11.32 GB, free: 74.64 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01953/40.35, allocations: 12.1 MB / 11.33 GB, free: 70.67 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02442/40.37, allocations: 10.15 MB / 11.34 GB, free: 70.44 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001818/40.37, allocations: 15.19 kB / 11.34 GB, free: 70.44 MB / 1.214 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.637/41.01, allocations: 134.6 MB / 11.47 GB, free: 0.5664 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.9413/41.95, allocations: 38.06 MB / 11.51 GB, free: 89.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006405/41.95, allocations: 122.4 kB / 11.51 GB, free: 89.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6598/42.61, allocations: 160.9 MB / 11.66 GB, free: 77.79 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01374/42.63, allocations: 2.081 MB / 11.67 GB, free: 77.78 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1392/42.77, allocations: 65.64 MB / 11.73 GB, free: 71.93 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02308/42.79, allocations: 0.8842 MB / 11.73 GB, free: 71.86 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006279/42.8, allocations: 0.8345 MB / 11.73 GB, free: 71.86 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/42.8, allocations: 2.844 kB / 11.73 GB, free: 71.86 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6364/43.43, allocations: 131.9 MB / 11.86 GB, free: 61.95 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005444/43.43, allocations: 122.6 kB / 11.86 GB, free: 61.86 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412/44.84, allocations: 161 MB / 12.02 GB, free: 119.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/44.85, allocations: 2.061 MB / 12.02 GB, free: 119.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1398/44.99, allocations: 67.29 MB / 12.09 GB, free: 115.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02326/45.02, allocations: 0.8428 MB / 12.09 GB, free: 115.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005078/45.02, allocations: 0.8018 MB / 12.09 GB, free: 115.3 MB / 1.214 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.006057/45.03, allocations: 353 kB / 12.09 GB, free: 115.2 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005654/45.03, allocations: 1.475 MB / 12.09 GB, free: 115.2 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2027/45.24, allocations: 57.43 MB / 12.15 GB, free: 107.7 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001663/45.24, allocations: 71.86 kB / 12.15 GB, free: 107.7 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001151/45.24, allocations: 28.03 kB / 12.15 GB, free: 107.7 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1888/45.43, allocations: 51.36 MB / 12.2 GB, free: 100.6 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2363/45.66, allocations: 69.95 MB / 12.26 GB, free: 90.55 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.474e-05/45.66, allocations: 2.031 kB / 12.26 GB, free: 90.55 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007937/45.67, allocations: 1.081 MB / 12.26 GB, free: 90.54 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2089/45.88, allocations: 66.52 MB / 12.33 GB, free: 52.34 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00274/45.88, allocations: 159 kB / 12.33 GB, free: 52.26 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05984/45.94, allocations: 24.67 MB / 12.35 GB, free: 36.45 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/45.94, allocations: 5.594 kB / 12.35 GB, free: 36.44 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 1.042/46.99, allocations: 62.97 MB / 12.42 GB, free: 124.7 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01489/47, allocations: 3.15 MB / 12.42 GB, free: 124.6 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008135/47.01, allocations: 93.66 kB / 12.42 GB, free: 124.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01662/47.02, allocations: 0.6906 MB / 12.42 GB, free: 124.5 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002522/47.03, allocations: 350.5 kB / 12.42 GB, free: 124.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002131/47.03, allocations: 256 kB / 12.42 GB, free: 124.5 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.02638/47.06, allocations: 10.65 MB / 12.43 GB, free: 124.1 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.05852/47.11, allocations: 7.653 MB / 12.44 GB, free: 124.1 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 (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.01172/47.13, allocations: 5.289 MB / 12.44 GB, free: 121.8 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.07717/47.2, allocations: 35.24 MB / 12.48 GB, free: 118.9 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.277e-05/47.2, allocations: 17.03 kB / 12.48 GB, free: 118.9 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01946/47.22, allocations: 8.51 MB / 12.49 GB, free: 118.6 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04616/47.27, allocations: 7.126 MB / 12.49 GB, free: 118.3 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1076/47.38, allocations: 27.27 MB / 12.52 GB, free: 112.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02507/47.4, allocations: 10.08 MB / 12.53 GB, free: 111.6 MB / 1.214 GB Notification: Performance of SimCode: time 2.575e-06/47.4, allocations: 0 / 12.53 GB, free: 111.6 MB / 1.214 GB Notification: Performance of Templates: time 2.173/49.58, allocations: 470 MB / 12.99 GB, free: 120.5 MB / 1.214 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)