Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.74/0.74, allocations: 127.4 MB / 134.9 MB, free: 3.484 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.00105/0.001049, allocations: 172.9 kB / 164.6 MB, free: 11.62 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.633/1.633, allocations: 205.2 MB / 399.5 MB, free: 13.48 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.0009982/0.000998, allocations: 98.14 kB / 476.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.905e-05, allocations: 8.844 kB / 0.5466 GB, free: 95.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1854, allocations: 76.76 MB / 0.6215 GB, free: 43.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.345/1.531, allocations: 427.4 MB / 1.039 GB, free: 181 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.531, allocations: 99.06 kB / 1.039 GB, free: 181 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 35.51/37.04, allocations: 8.334 GB / 9.373 GB, free: 75.06 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.645e-06/37.04, allocations: 0 / 9.373 GB, free: 75.06 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.005015/37.04, allocations: 0.5123 MB / 9.374 GB, free: 74.91 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.06327/37.11, allocations: 14.02 MB / 9.388 GB, free: 68.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/37.11, allocations: 7.906 kB / 9.388 GB, free: 68.73 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01723/37.12, allocations: 2.446 MB / 9.39 GB, free: 67.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07676/37.2, allocations: 24.66 MB / 9.414 GB, free: 64.54 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007157/37.2, allocations: 257.7 kB / 9.414 GB, free: 64.54 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005661/37.21, allocations: 0.5691 MB / 9.415 GB, free: 64.54 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03478/37.24, allocations: 19.54 MB / 9.434 GB, free: 54.94 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.042/37.28, allocations: 15.28 MB / 9.449 GB, free: 42.43 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006575/37.29, allocations: 19.78 kB / 9.449 GB, free: 42.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004635/37.29, allocations: 16 kB / 9.449 GB, free: 42.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002117/37.29, allocations: 208.6 kB / 9.449 GB, free: 42.19 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.114/38.4, allocations: 77.9 MB / 9.525 GB, free: 68.68 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02093/38.43, allocations: 12.25 MB / 9.537 GB, free: 68.27 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.015/38.44, allocations: 9.19 MB / 9.546 GB, free: 68.2 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.08952/38.53, allocations: 30.52 MB / 9.576 GB, free: 59.96 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0223/38.55, allocations: 8.911 MB / 9.585 GB, free: 59.79 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05143/38.6, allocations: 14.96 MB / 9.599 GB, free: 59.79 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=579): time 8.687e-05/38.6, allocations: 0 / 9.599 GB, free: 59.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=581): time 0.7494/39.35, allocations: 149.7 MB / 9.745 GB, free: 55.38 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007283/39.35, allocations: 2.51 MB / 9.748 GB, free: 52.37 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03679/39.39, allocations: 13.62 MB / 9.761 GB, free: 45.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.004564/39.4, allocations: 46.73 kB / 9.761 GB, free: 45.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01224/39.41, allocations: 7.887 MB / 9.769 GB, free: 42.82 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.006376/39.41, allocations: 1.977 MB / 9.771 GB, free: 41.51 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005677/39.42, allocations: 0 / 9.771 GB, free: 41.51 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.001486/39.42, allocations: 0.6807 MB / 9.772 GB, free: 41.08 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02031/39.44, allocations: 8.792 MB / 9.78 GB, free: 36.91 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02272/39.47, allocations: 12.26 MB / 9.792 GB, free: 28.29 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02047/39.49, allocations: 10.14 MB / 9.802 GB, free: 20.08 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001683/39.49, allocations: 16.88 kB / 9.802 GB, free: 20.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1194) (initialization): time 1.651/41.14, allocations: 133.3 MB / 9.932 GB, free: 96.56 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.008526/41.15, allocations: 38.37 MB / 9.97 GB, free: 57.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000569/41.15, allocations: 119.4 kB / 9.97 GB, free: 57.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6387/41.78, allocations: 144.6 MB / 10.11 GB, free: 40.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/41.8, allocations: 2.208 MB / 10.11 GB, free: 38.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1517/41.95, allocations: 69.6 MB / 10.18 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02411/41.97, allocations: 1.295 MB / 10.18 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005284/41.98, allocations: 0.854 MB / 10.18 GB, free: 420 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/41.98, allocations: 4 kB / 10.18 GB, free: 416 kB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.492/43.47, allocations: 121.5 MB / 10.3 GB, free: 122.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007512/43.47, allocations: 118.2 kB / 10.3 GB, free: 122.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6467/44.12, allocations: 143.4 MB / 10.44 GB, free: 96.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/44.13, allocations: 2.094 MB / 10.44 GB, free: 95.03 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1444/44.27, allocations: 69.17 MB / 10.51 GB, free: 44.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02138/44.3, allocations: 0.8978 MB / 10.51 GB, free: 43.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004751/44.3, allocations: 0.7944 MB / 10.51 GB, free: 43.12 MB / 0.9792 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 (935): * Single equations (assignments): 857 * 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 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.006758/44.31, allocations: 353.5 kB / 10.51 GB, free: 42.93 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006651/44.31, allocations: 1.469 MB / 10.52 GB, free: 42.25 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.12/45.43, allocations: 51.25 MB / 10.57 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002038/45.43, allocations: 65.61 kB / 10.57 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-05/45.43, allocations: 30.14 kB / 10.57 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2165/45.65, allocations: 46.25 MB / 10.61 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2647/45.91, allocations: 65.35 MB / 10.67 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.342e-05/45.92, allocations: 0.875 kB / 10.67 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009099/45.92, allocations: 1.249 MB / 10.68 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1934/46.12, allocations: 41.97 MB / 10.72 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002638/46.12, allocations: 168.5 kB / 10.72 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1549/46.28, allocations: 57.1 MB / 10.77 GB, free: 95.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-05/46.28, allocations: 3.219 kB / 10.77 GB, free: 95.73 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2375/46.51, allocations: 57.28 MB / 10.83 GB, free: 77.71 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01332/46.53, allocations: 3.19 MB / 10.83 GB, free: 76.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007176/46.53, allocations: 76.14 kB / 10.83 GB, free: 76.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0174/46.55, allocations: 1.125 MB / 10.83 GB, free: 75.72 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003711/46.55, allocations: 0.4918 MB / 10.83 GB, free: 75.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002248/46.56, allocations: 274.3 kB / 10.83 GB, free: 75.31 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.02371/46.58, allocations: 10.21 MB / 10.84 GB, free: 69.86 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.01e-07/46.58, allocations: 0 / 10.84 GB, free: 69.86 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.06437/46.64, allocations: 8.339 MB / 10.85 GB, free: 62.08 MB / 0.9792 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 (517): * Single equations (assignments): 496 * 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 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.0116/46.66, allocations: 5.409 MB / 10.86 GB, free: 57.87 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.07633/46.73, allocations: 36.75 MB / 10.89 GB, free: 37.77 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.858e-05/46.73, allocations: 10.62 kB / 10.89 GB, free: 37.76 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.02617/46.76, allocations: 9.842 MB / 10.9 GB, free: 29.78 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04172/46.8, allocations: 7.312 MB / 10.91 GB, free: 24.91 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.701/48.5, allocations: 32.09 MB / 10.94 GB, free: 107.9 MB / 0.9793 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01737/48.52, allocations: 8.911 MB / 10.95 GB, free: 106.7 MB / 0.9793 GB Notification: Performance of simCode: alias equations: time 0.0469/48.57, allocations: 8.304 MB / 10.96 GB, free: 106.6 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005556/48.57, allocations: 0.8298 MB / 10.96 GB, free: 106.6 MB / 0.9793 GB Notification: Performance of SimCode: time 2.584e-06/48.57, allocations: 0 / 10.96 GB, free: 106.6 MB / 0.9793 GB Notification: Performance of Templates: time 1.59/50.16, allocations: 467.8 MB / 11.42 GB, free: 150.7 MB / 1.026 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)