Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1") [: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.7298/0.7298, allocations: 127.4 MB / 134.6 MB, free: 4.062 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.001112/0.001112, allocations: 193.2 kB / 164.4 MB, free: 6.871 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.742/1.742, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001018/0.001018, allocations: 86.83 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.252e-06, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1922, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.437, allocations: 427.2 MB / 1.038 GB, free: 54.09 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/1.437, allocations: 96.81 kB / 1.038 GB, free: 54.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 36.82/38.26, allocations: 8.376 GB / 9.414 GB, free: 74.93 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.005834/38.26, allocations: 0.5125 MB / 9.415 GB, free: 74.81 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.06847/38.33, allocations: 14.93 MB / 9.43 GB, free: 68.48 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/38.33, allocations: 9.938 kB / 9.43 GB, free: 68.48 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02338/38.35, allocations: 2.516 MB / 9.432 GB, free: 67.44 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0987/38.45, allocations: 28.35 MB / 9.46 GB, free: 63.78 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008883/38.45, allocations: 257.4 kB / 9.46 GB, free: 63.77 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006861/38.46, allocations: 0.5719 MB / 9.46 GB, free: 63.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04229/38.5, allocations: 19.85 MB / 9.48 GB, free: 63.73 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05186/38.56, allocations: 15.47 MB / 9.495 GB, free: 61.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005923/38.56, allocations: 17.16 kB / 9.495 GB, free: 61.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005617/38.56, allocations: 18.94 kB / 9.495 GB, free: 61.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002334/38.56, allocations: 219.3 kB / 9.495 GB, free: 61.82 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1834/38.74, allocations: 83.1 MB / 9.576 GB, free: 23.74 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01524/38.76, allocations: 10.17 MB / 9.586 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0133/38.77, allocations: 9.325 MB / 9.595 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8741/39.65, allocations: 33.02 MB / 9.628 GB, free: 136.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0168/39.66, allocations: 9.072 MB / 9.637 GB, free: 136.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=581): time 1.082e-05/39.66, allocations: 0 / 9.637 GB, free: 136.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=583): time 0.7409/40.41, allocations: 155.9 MB / 9.789 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000716/40.41, allocations: 2.503 MB / 9.791 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04166/40.45, allocations: 13.92 MB / 9.805 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.004983/40.45, allocations: 44.67 kB / 9.805 GB, free: 124.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.009097/40.46, allocations: 4.051 MB / 9.809 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.007228/40.47, allocations: 1.975 MB / 9.811 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003833/40.47, allocations: 0 / 9.811 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0009909/40.47, allocations: 0.6796 MB / 9.811 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01673/40.49, allocations: 9.029 MB / 9.82 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02502/40.52, allocations: 12.51 MB / 9.832 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02398/40.54, allocations: 10.46 MB / 9.843 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002108/40.54, allocations: 20.89 kB / 9.843 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.6711/41.21, allocations: 139.5 MB / 9.979 GB, free: 41.82 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.007743/41.22, allocations: 38.31 MB / 10.02 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006178/41.22, allocations: 123.2 kB / 10.02 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499/42.72, allocations: 162.4 MB / 10.17 GB, free: 111 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01538/42.73, allocations: 2.168 MB / 10.18 GB, free: 111 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1695/42.9, allocations: 71.26 MB / 10.25 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02676/42.93, allocations: 1.069 MB / 10.25 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006064/42.94, allocations: 0.8505 MB / 10.25 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/42.94, allocations: 2.5 kB / 10.25 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.481/44.42, allocations: 132 MB / 10.38 GB, free: 114.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006176/44.42, allocations: 118.1 kB / 10.38 GB, free: 114.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.676/45.09, allocations: 161.1 MB / 10.53 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01177/45.11, allocations: 2.038 MB / 10.54 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1702/45.28, allocations: 68.26 MB / 10.6 GB, free: 97.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02674/45.3, allocations: 0.8194 MB / 10.6 GB, free: 97.55 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005746/45.31, allocations: 0.7906 MB / 10.61 GB, free: 97.55 MB / 0.9323 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 (937): * Single equations (assignments): 859 * 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 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01052/45.32, allocations: 352.7 kB / 10.61 GB, free: 97.44 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01122/45.33, allocations: 1.462 MB / 10.61 GB, free: 97.44 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2471/45.58, allocations: 61.5 MB / 10.67 GB, free: 56.81 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001912/45.58, allocations: 69.98 kB / 10.67 GB, free: 56.74 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-05/45.58, allocations: 28 kB / 10.67 GB, free: 56.71 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9772/46.56, allocations: 55.6 MB / 10.72 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2771/46.83, allocations: 74.28 MB / 10.79 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.181e-05/46.83, allocations: 4.531 kB / 10.79 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01016/46.84, allocations: 1.225 MB / 10.8 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2133/47.06, allocations: 68.06 MB / 10.86 GB, free: 87.88 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002746/47.06, allocations: 178 kB / 10.86 GB, free: 87.88 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1497/47.21, allocations: 49.75 MB / 10.91 GB, free: 78.12 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/47.21, allocations: 3.906 kB / 10.91 GB, free: 78.12 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2421/47.45, allocations: 66.75 MB / 10.98 GB, free: 56.21 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01387/47.47, allocations: 3.162 MB / 10.98 GB, free: 54.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009039/47.47, allocations: 86.33 kB / 10.98 GB, free: 54.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01984/47.49, allocations: 0.9275 MB / 10.98 GB, free: 53.57 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002847/47.5, allocations: 365 kB / 10.98 GB, free: 53.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001982/47.5, allocations: 265.3 kB / 10.98 GB, free: 53.24 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.02582/47.52, allocations: 10.45 MB / 10.99 GB, free: 47.55 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.05878/47.58, allocations: 7.872 MB / 11 GB, free: 40.24 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 (520): * 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): 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 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01131/47.59, allocations: 5.413 MB / 11 GB, free: 35.61 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.8227/48.42, allocations: 39.23 MB / 11.04 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.858e-05/48.42, allocations: 15.12 kB / 11.04 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.03489/48.45, allocations: 11.36 MB / 11.05 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04136/48.49, allocations: 7.016 MB / 11.06 GB, free: 121 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1036/48.6, allocations: 28.98 MB / 11.09 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02456/48.62, allocations: 10 MB / 11.1 GB, free: 114.9 MB / 0.9323 GB Notification: Performance of SimCode: time 8.81e-07/48.62, allocations: 0 / 11.1 GB, free: 114.9 MB / 0.9323 GB Notification: Performance of Templates: time 2.053/50.68, allocations: 496.3 MB / 11.58 GB, free: 89.36 MB / 0.9324 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)