Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5") [: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/BuildSysPro 3.5.0/package.mo): time 0.8025/0.8025, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 193.2 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.1 MB / 399.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009659/0.0009657, allocations: 85.64 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.713e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1648, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.198, allocations: 428.8 MB / 1.04 GB, free: 52.47 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/1.199, allocations: 98.81 kB / 1.04 GB, free: 52.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 42.99/44.19, allocations: 9.888 GB / 10.93 GB, free: 57.41 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.005335/44.19, allocations: 344.9 kB / 10.93 GB, free: 57.34 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.056/44.25, allocations: 12 MB / 10.94 GB, free: 52.44 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/44.25, allocations: 17.3 kB / 10.94 GB, free: 52.44 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0209/44.27, allocations: 2.484 MB / 10.94 GB, free: 51.66 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07646/44.35, allocations: 22.83 MB / 10.96 GB, free: 49.25 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005792/44.35, allocations: 195.6 kB / 10.97 GB, free: 49.25 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00465/44.35, allocations: 425 kB / 10.97 GB, free: 49.25 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03521/44.39, allocations: 17.97 MB / 10.98 GB, free: 49.23 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03884/44.43, allocations: 12.22 MB / 10.99 GB, free: 48.63 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004972/44.43, allocations: 13.91 kB / 11 GB, free: 48.63 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004015/44.43, allocations: 6.812 kB / 11 GB, free: 48.63 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002205/44.43, allocations: 151.8 kB / 11 GB, free: 48.63 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1614/44.59, allocations: 73.66 MB / 11.07 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/44.61, allocations: 8.252 MB / 11.08 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01479/44.62, allocations: 8.762 MB / 11.08 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09284/44.71, allocations: 29.9 MB / 11.11 GB, free: 3.777 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01701/44.73, allocations: 8.067 MB / 11.12 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=389): time 8.977e-06/44.73, allocations: 0 / 11.12 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of matching and sorting (n=391): time 0.9603/45.69, allocations: 48.38 MB / 11.17 GB, free: 129.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/45.69, allocations: 96.64 kB / 11.17 GB, free: 129.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02957/45.72, allocations: 11.28 MB / 11.18 GB, free: 128.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.004017/45.73, allocations: 35.52 kB / 11.18 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.007246/45.73, allocations: 3.033 MB / 11.18 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.005498/45.74, allocations: 1.28 MB / 11.18 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002616/45.74, allocations: 0 / 11.18 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0005466/45.74, allocations: 0.5393 MB / 11.18 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01142/45.75, allocations: 7.529 MB / 11.19 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01552/45.77, allocations: 9.942 MB / 11.2 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01889/45.79, allocations: 8.516 MB / 11.21 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001236/45.79, allocations: 12.75 kB / 11.21 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=773) (initialization): time 0.1143/45.9, allocations: 31.71 MB / 11.24 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.007658/45.91, allocations: 29.95 MB / 11.27 GB, free: 93.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002795/45.91, allocations: 44.56 kB / 11.27 GB, free: 93.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8019/46.71, allocations: 189.7 MB / 11.45 GB, free: 76.45 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/46.72, allocations: 1.408 MB / 11.46 GB, free: 75.42 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06729/46.79, allocations: 30.14 MB / 11.49 GB, free: 57.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02293/46.81, allocations: 1.07 MB / 11.49 GB, free: 57.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005072/46.82, allocations: 0.7386 MB / 11.49 GB, free: 56.68 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/46.82, allocations: 4 kB / 11.49 GB, free: 56.67 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05614/46.87, allocations: 21.59 MB / 11.51 GB, free: 46.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003643/46.88, allocations: 44 kB / 11.51 GB, free: 46.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603/48.48, allocations: 188.6 MB / 11.69 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007608/48.49, allocations: 1.237 MB / 11.69 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05973/48.55, allocations: 29.31 MB / 11.72 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01834/48.56, allocations: 0.7153 MB / 11.72 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004602/48.57, allocations: 0.6879 MB / 11.72 GB, free: 112.2 MB / 0.9323 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spl3.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real spl1.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real spl.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * 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 (553): * Single equations (assignments): 541 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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: 0 * Non-linear torn systems: 2 {41 59,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.008053/48.58, allocations: 294.8 kB / 11.72 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009062/48.59, allocations: 1.133 MB / 11.73 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09673/48.68, allocations: 25.31 MB / 11.75 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000132/48.68, allocations: 50.31 kB / 11.75 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.581e-05/48.68, allocations: 0 / 11.75 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07058/48.75, allocations: 19.69 MB / 11.77 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1254/48.88, allocations: 35.82 MB / 11.8 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.819e-05/48.88, allocations: 4.062 kB / 11.8 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00586/48.88, allocations: 0.8341 MB / 11.81 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2492/49.13, allocations: 79.9 MB / 11.88 GB, free: 52.17 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002717/49.14, allocations: 79.61 kB / 11.88 GB, free: 52.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1178/49.25, allocations: 41.53 MB / 11.92 GB, free: 27.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/49.25, allocations: 0.9375 kB / 11.92 GB, free: 27.32 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.888/50.14, allocations: 29.5 MB / 11.95 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01202/50.15, allocations: 2.584 MB / 11.96 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007119/50.16, allocations: 0 / 11.96 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01749/50.18, allocations: 0.9399 MB / 11.96 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002313/50.18, allocations: 281.3 kB / 11.96 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001164/50.18, allocations: 220.1 kB / 11.96 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.02181/50.2, allocations: 8.458 MB / 11.96 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.05008/50.26, allocations: 5.851 MB / 11.97 GB, free: 122.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (312): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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: 0 * Non-linear torn systems: 2 {42 58,7 78} Notification: Performance of Backend phase and start with SimCode phase: time 0.01083/50.27, allocations: 4.828 MB / 11.98 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0831/50.35, allocations: 30.53 MB / 12 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.862e-05/50.35, allocations: 5.344 kB / 12 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.02764/50.38, allocations: 9.384 MB / 12.01 GB, free: 120 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0453/50.42, allocations: 5.762 MB / 12.02 GB, free: 120 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1128/50.54, allocations: 25.37 MB / 12.04 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01744/50.55, allocations: 7.662 MB / 12.05 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.342e-06/50.55, allocations: 5.219 kB / 12.05 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of Templates: time 1.985/52.54, allocations: 449 MB / 12.49 GB, free: 106.3 MB / 0.9324 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)