Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7439/0.7439, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001214/0.001214, allocations: 193.2 kB / 164.4 MB, free: 6.887 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.749/1.749, allocations: 205.1 MB / 399.1 MB, free: 6.078 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.0009193/0.0009193, allocations: 82.88 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/7.995e-06, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1917, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/1.436, allocations: 427 MB / 1.038 GB, free: 54.31 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/1.437, allocations: 92.72 kB / 1.038 GB, free: 54.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 27.13/28.56, allocations: 6.178 GB / 7.216 GB, free: 64.02 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.00653/28.57, allocations: 0.5296 MB / 7.216 GB, free: 63.9 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.07198/28.64, allocations: 14.93 MB / 7.231 GB, free: 58 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 7.221e-05/28.64, allocations: 7.438 kB / 7.231 GB, free: 58 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02188/28.66, allocations: 2.529 MB / 7.233 GB, free: 57 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09849/28.76, allocations: 28.42 MB / 7.261 GB, free: 54.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008586/28.76, allocations: 260.2 kB / 7.261 GB, free: 54.27 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00749/28.77, allocations: 0.5788 MB / 7.262 GB, free: 54.27 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0417/28.81, allocations: 20.07 MB / 7.281 GB, free: 54.24 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0513/28.86, allocations: 15.61 MB / 7.297 GB, free: 52.46 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006582/28.87, allocations: 14.75 kB / 7.297 GB, free: 52.46 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005198/28.87, allocations: 22.78 kB / 7.297 GB, free: 52.45 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002649/28.87, allocations: 217.9 kB / 7.297 GB, free: 52.45 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1772/29.05, allocations: 82.27 MB / 7.377 GB, free: 18.28 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01868/29.07, allocations: 10.71 MB / 7.388 GB, free: 18.14 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01988/29.09, allocations: 9.871 MB / 7.397 GB, free: 18.01 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09016/29.18, allocations: 33.52 MB / 7.43 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02048/29.2, allocations: 9.291 MB / 7.439 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=605): time 9.979e-06/29.2, allocations: 3.281 kB / 7.439 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of matching and sorting (n=607): time 1.738/30.93, allocations: 162.6 MB / 7.598 GB, free: 119.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007627/30.94, allocations: 2.508 MB / 7.6 GB, free: 116.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04117/30.98, allocations: 13.89 MB / 7.614 GB, free: 115.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.006041/30.98, allocations: 46.52 kB / 7.614 GB, free: 115.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01065/30.99, allocations: 4.019 MB / 7.618 GB, free: 115.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.009905/31, allocations: 2.058 MB / 7.62 GB, free: 115.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00567/31.01, allocations: 6.344 kB / 7.62 GB, free: 115.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001328/31.01, allocations: 0.6725 MB / 7.621 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01813/31.03, allocations: 9.503 MB / 7.63 GB, free: 115.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02296/31.05, allocations: 13.02 MB / 7.643 GB, free: 111.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02598/31.08, allocations: 10.87 MB / 7.653 GB, free: 110.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002002/31.08, allocations: 15.5 kB / 7.653 GB, free: 110.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.7263/31.8, allocations: 142.9 MB / 7.793 GB, free: 100.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.008396/31.81, allocations: 34.55 MB / 7.826 GB, free: 64.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007001/31.81, allocations: 116.6 kB / 7.827 GB, free: 64.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606/33.42, allocations: 164.2 MB / 7.987 GB, free: 111.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01529/33.44, allocations: 2.073 MB / 7.989 GB, free: 111.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1706/33.61, allocations: 72.18 MB / 8.059 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03012/33.64, allocations: 1.17 MB / 8.061 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007194/33.64, allocations: 0.8546 MB / 8.061 GB, free: 104.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/33.64, allocations: 4.844 kB / 8.061 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6623/34.31, allocations: 132.5 MB / 8.191 GB, free: 83.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007649/34.31, allocations: 112.7 kB / 8.191 GB, free: 83.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65/35.96, allocations: 162.2 MB / 8.349 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01315/35.97, allocations: 1.937 MB / 8.351 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1688/36.14, allocations: 72.24 MB / 8.422 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02559/36.16, allocations: 0.8143 MB / 8.423 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006751/36.17, allocations: 0.7843 MB / 8.423 GB, free: 102.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (889): * Single equations (assignments): 811 * 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.01343/36.18, allocations: 347.1 kB / 8.424 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01029/36.2, allocations: 1.47 MB / 8.425 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2682/36.46, allocations: 64.58 MB / 8.488 GB, free: 94.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002358/36.46, allocations: 72.33 kB / 8.488 GB, free: 94.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001161/36.46, allocations: 26.72 kB / 8.488 GB, free: 94.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2407/36.7, allocations: 58.6 MB / 8.545 GB, free: 61.86 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.323/38.03, allocations: 77.93 MB / 8.622 GB, free: 98.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001049/38.03, allocations: 0 / 8.622 GB, free: 98.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01007/38.04, allocations: 1.178 MB / 8.623 GB, free: 98.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2141/38.25, allocations: 69.7 MB / 8.691 GB, free: 85.22 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00329/38.26, allocations: 183.9 kB / 8.691 GB, free: 85.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1641/38.42, allocations: 59.24 MB / 8.749 GB, free: 75.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/38.42, allocations: 0 / 8.749 GB, free: 75.57 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2654/38.68, allocations: 70.5 MB / 8.818 GB, free: 67.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01743/38.7, allocations: 3.274 MB / 8.821 GB, free: 67.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01014/38.71, allocations: 84.66 kB / 8.821 GB, free: 67.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02145/38.73, allocations: 1.051 MB / 8.822 GB, free: 66.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003939/38.74, allocations: 384 kB / 8.822 GB, free: 66.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002082/38.74, allocations: 278.3 kB / 8.823 GB, free: 66.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.02952/38.77, allocations: 10.44 MB / 8.833 GB, free: 66.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.05966/38.83, allocations: 8.02 MB / 8.841 GB, free: 66.55 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (496): * Single equations (assignments): 475 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01485/38.84, allocations: 5.412 MB / 8.846 GB, free: 64.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.09724/38.94, allocations: 38.31 MB / 8.883 GB, free: 48.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/38.94, allocations: 10.62 kB / 8.883 GB, free: 48.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.03026/38.97, allocations: 10.79 MB / 8.894 GB, free: 42.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04627/39.02, allocations: 7.036 MB / 8.901 GB, free: 38.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.592/40.61, allocations: 29.74 MB / 8.93 GB, free: 103.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0261/40.64, allocations: 9.982 MB / 8.94 GB, free: 102.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.683e-06/40.64, allocations: 0 / 8.94 GB, free: 102.3 MB / 0.948 GB Notification: Performance of Templates: time 1.723/42.36, allocations: 0.5175 GB / 9.457 GB, free: 106.4 MB / 0.948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)