Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7028/0.7028, allocations: 127.4 MB / 134.6 MB, free: 4.055 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.001291/0.001291, allocations: 189.3 kB / 164.4 MB, free: 6.895 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.608/1.608, 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.0009782/0.0009783, allocations: 97.27 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.864e-06/7.885e-06, allocations: 0 / 0.546 GB, free: 17.11 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1853, allocations: 76.75 MB / 0.6209 GB, free: 4.285 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.254, allocations: 427.5 MB / 1.038 GB, free: 58.62 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.254, allocations: 99.59 kB / 1.038 GB, free: 58.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 39.88/41.14, allocations: 9.133 GB / 10.17 GB, free: 71.44 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.007253/41.14, allocations: 0.4997 MB / 10.17 GB, free: 71.29 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.08437/41.23, allocations: 14.92 MB / 10.19 GB, free: 64.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/41.23, allocations: 8.875 kB / 10.19 GB, free: 64.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02862/41.26, allocations: 2.521 MB / 10.19 GB, free: 63.75 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1241/41.38, allocations: 28.33 MB / 10.22 GB, free: 50.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009701/41.38, allocations: 252 kB / 10.22 GB, free: 50.02 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008645/41.39, allocations: 0.5703 MB / 10.22 GB, free: 49.45 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04619/41.44, allocations: 19.82 MB / 10.24 GB, free: 31.51 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05742/41.5, allocations: 15.44 MB / 10.25 GB, free: 16.91 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001072/41.5, allocations: 15.78 kB / 10.25 GB, free: 16.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007955/41.5, allocations: 20 kB / 10.25 GB, free: 16.88 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004004/41.51, allocations: 212 kB / 10.25 GB, free: 16.67 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9928/42.5, allocations: 83.54 MB / 10.33 GB, free: 86.54 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01717/42.52, allocations: 10.03 MB / 10.34 GB, free: 86.39 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01536/42.53, allocations: 9.626 MB / 10.35 GB, free: 86.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09058/42.62, allocations: 32.86 MB / 10.39 GB, free: 78.14 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02005/42.64, allocations: 8.991 MB / 10.39 GB, free: 77.98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=560): time 1.52e-05/42.64, allocations: 0 / 10.39 GB, free: 77.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=562): time 0.7753/43.42, allocations: 158.7 MB / 10.55 GB, free: 66.04 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006666/43.42, allocations: 2.504 MB / 10.55 GB, free: 63.03 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04278/43.46, allocations: 13.95 MB / 10.57 GB, free: 62.26 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.004695/43.47, allocations: 45.77 kB / 10.57 GB, free: 62.23 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01285/43.48, allocations: 4.066 MB / 10.57 GB, free: 60.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.008071/43.49, allocations: 1.917 MB / 10.57 GB, free: 59.73 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004486/43.49, allocations: 2.875 kB / 10.57 GB, free: 59.73 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.001566/43.49, allocations: 0.6684 MB / 10.57 GB, free: 59.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02114/43.51, allocations: 9.025 MB / 10.58 GB, free: 54.86 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02211/43.54, allocations: 12.51 MB / 10.59 GB, free: 45.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02557/43.56, allocations: 10.44 MB / 10.6 GB, free: 40.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002232/43.56, allocations: 22.83 kB / 10.6 GB, free: 40.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 1.492/45.05, allocations: 142.3 MB / 10.74 GB, free: 99.32 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00809/45.06, allocations: 39.89 MB / 10.78 GB, free: 58.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006965/45.06, allocations: 121 kB / 10.78 GB, free: 58.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6863/45.75, allocations: 162.1 MB / 10.94 GB, free: 43.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01451/45.76, allocations: 2.103 MB / 10.94 GB, free: 42.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1746/45.94, allocations: 67.99 MB / 11.01 GB, free: 7.621 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02897/45.97, allocations: 1.166 MB / 11.01 GB, free: 6.531 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006743/45.97, allocations: 0.8528 MB / 11.01 GB, free: 5.75 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/45.97, allocations: 4 kB / 11.01 GB, free: 5.746 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.442/47.42, allocations: 131.8 MB / 11.14 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009365/47.42, allocations: 127.3 kB / 11.14 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6866/48.1, allocations: 161 MB / 11.3 GB, free: 71.08 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01212/48.12, allocations: 2.05 MB / 11.3 GB, free: 69.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032/49.15, allocations: 67.54 MB / 11.36 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02488/49.17, allocations: 0.8201 MB / 11.36 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00546/49.18, allocations: 0.7931 MB / 11.37 GB, free: 110.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (945): * Single equations (assignments): 869 * 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.007339/49.19, allocations: 363.9 kB / 11.37 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006772/49.19, allocations: 1.459 MB / 11.37 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2512/49.44, allocations: 63.98 MB / 11.43 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001777/49.44, allocations: 61.72 kB / 11.43 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001522/49.44, allocations: 30.16 kB / 11.43 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2375/49.68, allocations: 58.07 MB / 11.49 GB, free: 98.38 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2984/49.98, allocations: 76.74 MB / 11.56 GB, free: 88.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.241e-05/49.98, allocations: 7.25 kB / 11.56 GB, free: 88.24 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008274/49.99, allocations: 1.116 MB / 11.56 GB, free: 88.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2134/50.2, allocations: 67.72 MB / 11.63 GB, free: 48.95 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003007/50.21, allocations: 166.1 kB / 11.63 GB, free: 48.88 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8939/51.1, allocations: 50.9 MB / 11.68 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/51.1, allocations: 6.203 kB / 11.68 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.257/51.36, allocations: 69.22 MB / 11.75 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01886/51.37, allocations: 3.15 MB / 11.75 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01046/51.39, allocations: 90.16 kB / 11.75 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02215/51.41, allocations: 1.022 MB / 11.75 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003238/51.41, allocations: 356.8 kB / 11.75 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002836/51.41, allocations: 263.4 kB / 11.75 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.03005/51.44, allocations: 10.46 MB / 11.76 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.07005/51.51, allocations: 7.907 MB / 11.77 GB, free: 105.8 MB / 0.9323 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 (518): * Single equations (assignments): 499 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.0134/51.53, allocations: 5.403 MB / 11.77 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.08644/51.61, allocations: 36.24 MB / 11.81 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.683e-05/51.61, allocations: 11.94 kB / 11.81 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.02634/51.64, allocations: 9.5 MB / 11.82 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04767/51.69, allocations: 6.995 MB / 11.83 GB, free: 99.79 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1323/51.82, allocations: 33.13 MB / 11.86 GB, free: 93.99 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02843/51.85, allocations: 9.984 MB / 11.87 GB, free: 92.75 MB / 0.9323 GB Notification: Performance of SimCode: time 1.693e-06/51.85, allocations: 4 kB / 11.87 GB, free: 92.74 MB / 0.9323 GB Notification: Performance of Templates: time 2.913/54.76, allocations: 0.4948 GB / 12.36 GB, free: 113 MB / 0.9324 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)