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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8086/0.8086, allocations: 127.4 MB / 134.9 MB, free: 3.465 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.001084/0.001084, allocations: 179.5 kB / 164.6 MB, free: 11.61 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.612/1.612, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0009689/0.0009687, allocations: 95.28 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.65e-05, allocations: 3.125 kB / 0.5466 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1865, allocations: 76.76 MB / 0.6215 GB, free: 43.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.504, allocations: 427.6 MB / 1.039 GB, free: 181.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.504, allocations: 95 kB / 1.039 GB, free: 181.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 38.78/40.29, allocations: 9.087 GB / 10.13 GB, free: 44.96 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.825e-06/40.29, allocations: 7.188 kB / 10.13 GB, free: 44.96 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.004768/40.29, allocations: 0.5082 MB / 10.13 GB, free: 44.68 MB / 0.9323 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.06058/40.35, allocations: 14.01 MB / 10.14 GB, free: 31.23 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/40.35, allocations: 12.03 kB / 10.14 GB, free: 31.21 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01874/40.37, allocations: 2.45 MB / 10.14 GB, free: 28.74 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08353/40.45, allocations: 24.62 MB / 10.17 GB, free: 4.062 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008018/40.46, allocations: 256 kB / 10.17 GB, free: 3.812 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006127/40.46, allocations: 0.5663 MB / 10.17 GB, free: 3.246 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.715/42.18, allocations: 19.5 MB / 10.19 GB, free: 45.53 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04244/42.22, allocations: 15.25 MB / 10.2 GB, free: 43.77 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006485/42.22, allocations: 14.38 kB / 10.2 GB, free: 43.77 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004298/42.22, allocations: 21.55 kB / 10.2 GB, free: 43.77 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002345/42.22, allocations: 208.8 kB / 10.2 GB, free: 43.77 MB / 0.9324 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 0.1538/42.38, allocations: 78.32 MB / 10.28 GB, free: 26.29 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02047/42.4, allocations: 12.02 MB / 10.29 GB, free: 25.88 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01538/42.41, allocations: 9.498 MB / 10.3 GB, free: 25.8 MB / 0.948 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.07231/42.49, allocations: 30.41 MB / 10.33 GB, free: 17.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01878/42.51, allocations: 8.84 MB / 10.34 GB, free: 17.12 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04689/42.55, allocations: 14.96 MB / 10.35 GB, free: 16.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=558): time 6.524e-05/42.55, allocations: 2.375 kB / 10.35 GB, free: 16.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=560): time 0.7183/43.27, allocations: 148.7 MB / 10.5 GB, free: 8.199 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001181/43.27, allocations: 2.508 MB / 10.5 GB, free: 5.125 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04277/43.31, allocations: 13.64 MB / 10.51 GB, free: 13.45 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.005737/43.32, allocations: 45.7 kB / 10.51 GB, free: 13.4 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.01906/43.34, allocations: 7.921 MB / 10.52 GB, free: 11 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.007265/43.35, allocations: 1.906 MB / 10.52 GB, free: 9.742 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003329/43.35, allocations: 1.594 kB / 10.52 GB, free: 9.742 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.001126/43.35, allocations: 0.6717 MB / 10.52 GB, free: 9.316 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02571/43.38, allocations: 8.706 MB / 10.53 GB, free: 4.586 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627/45, allocations: 12.17 MB / 10.54 GB, free: 68.61 MB / 0.9638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0252/45.03, allocations: 10.07 MB / 10.55 GB, free: 68.47 MB / 0.9638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002835/45.03, allocations: 14.62 kB / 10.55 GB, free: 68.47 MB / 0.9638 GB Notification: Performance of matching and sorting (n=1183) (initialization): time 0.6631/45.69, allocations: 132.8 MB / 10.68 GB, free: 67.73 MB / 0.9638 GB Notification: Performance of prepare postOptimizeDAE: time 0.009367/45.7, allocations: 39.95 MB / 10.72 GB, free: 43.1 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006116/45.7, allocations: 120 kB / 10.72 GB, free: 43.1 MB / 0.9794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6441/46.35, allocations: 144.3 MB / 10.86 GB, free: 372 kB / 0.9794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.013/46.36, allocations: 2.151 MB / 10.87 GB, free: 14.38 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041/47.4, allocations: 67.76 MB / 10.93 GB, free: 110.7 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02414/47.43, allocations: 1.286 MB / 10.93 GB, free: 110.7 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00537/47.43, allocations: 0.8494 MB / 10.93 GB, free: 110.7 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/47.43, allocations: 2.875 kB / 10.93 GB, free: 110.7 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6268/48.06, allocations: 121.3 MB / 11.05 GB, free: 110.3 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006926/48.06, allocations: 118.6 kB / 11.05 GB, free: 110.3 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6373/48.7, allocations: 143.2 MB / 11.19 GB, free: 67.03 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01075/48.71, allocations: 2.108 MB / 11.19 GB, free: 65.07 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1587/48.87, allocations: 68.52 MB / 11.26 GB, free: 15.18 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02077/48.89, allocations: 0.9019 MB / 11.26 GB, free: 14.34 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004875/48.89, allocations: 0.7913 MB / 11.26 GB, free: 13.62 MB / 1.011 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 (943): * Single equations (assignments): 867 * 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.008639/48.9, allocations: 362.7 kB / 11.26 GB, free: 13.42 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.937/49.84, allocations: 1.456 MB / 11.26 GB, free: 109.9 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2324/50.07, allocations: 50.65 MB / 11.31 GB, free: 109.3 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001712/50.07, allocations: 66.06 kB / 11.31 GB, free: 109.3 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001472/50.07, allocations: 29.62 kB / 11.31 GB, free: 109.3 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2176/50.29, allocations: 45.67 MB / 11.36 GB, free: 108.7 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2634/50.55, allocations: 64.64 MB / 11.42 GB, free: 104.9 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-05/50.55, allocations: 0 / 11.42 GB, free: 104.9 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007615/50.56, allocations: 1.138 MB / 11.42 GB, free: 104.9 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.213/50.77, allocations: 41.66 MB / 11.46 GB, free: 104.8 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00242/50.77, allocations: 164 kB / 11.46 GB, free: 104.8 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1308/50.9, allocations: 52.73 MB / 11.52 GB, free: 95.46 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/50.9, allocations: 5.062 kB / 11.52 GB, free: 95.46 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2222/51.13, allocations: 56.56 MB / 11.57 GB, free: 64.2 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01092/51.14, allocations: 3.151 MB / 11.57 GB, free: 62.25 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00553/51.14, allocations: 77.58 kB / 11.57 GB, free: 62.21 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01577/51.16, allocations: 1.114 MB / 11.57 GB, free: 61.55 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003035/51.16, allocations: 483 kB / 11.58 GB, free: 61.32 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001193/51.16, allocations: 262.5 kB / 11.58 GB, free: 61.16 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.01943/51.18, allocations: 10.22 MB / 11.59 GB, free: 55.71 MB / 1.011 GB Notification: Performance of sort global known variables: time 9.62e-07/51.18, allocations: 4 kB / 11.59 GB, free: 55.7 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.06219/51.25, allocations: 8.247 MB / 11.59 GB, free: 48.01 MB / 1.011 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 (515): * 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): 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.01004/51.26, allocations: 5.415 MB / 11.6 GB, free: 43.79 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.8128/52.07, allocations: 36.85 MB / 11.63 GB, free: 101.4 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 2.398e-05/52.07, allocations: 12.39 kB / 11.63 GB, free: 101.4 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.02123/52.09, allocations: 9.32 MB / 11.64 GB, free: 101 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04025/52.13, allocations: 7.281 MB / 11.65 GB, free: 100.9 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08253/52.21, allocations: 31.69 MB / 11.68 GB, free: 95.57 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01227/52.22, allocations: 8.883 MB / 11.69 GB, free: 94.45 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.03877/52.26, allocations: 8.306 MB / 11.7 GB, free: 94.31 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004078/52.27, allocations: 0.8235 MB / 11.7 GB, free: 94.31 MB / 1.011 GB Notification: Performance of SimCode: time 1.593e-06/52.27, allocations: 1.25 kB / 11.7 GB, free: 94.31 MB / 1.011 GB Notification: Performance of Templates: time 1.395/53.66, allocations: 461.9 MB / 12.15 GB, free: 121.2 MB / 1.042 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)