Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.568/1.568, allocations: 289.9 MB / 297.4 MB, free: 6.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 180.9 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009173/0.0009173, allocations: 87.62 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.063e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7026, allocations: 116.3 MB / 0.9732 GB, free: 76.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.815, allocations: 464.3 MB / 1.427 GB, free: 88.52 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.816, allocations: 93.89 kB / 1.427 GB, free: 88.48 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 34.83/36.64, allocations: 8.658 GB / 10.08 GB, free: 73.33 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.614e-06/36.64, allocations: 0 / 10.08 GB, free: 73.33 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004833/36.65, allocations: 0.5145 MB / 10.09 GB, free: 73.18 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.05969/36.71, allocations: 14.15 MB / 10.1 GB, free: 66.95 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/36.71, allocations: 10.5 kB / 10.1 GB, free: 66.95 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01584/36.72, allocations: 2.303 MB / 10.1 GB, free: 65.92 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07912/36.8, allocations: 23.25 MB / 10.12 GB, free: 54.19 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000733/36.8, allocations: 260 kB / 10.12 GB, free: 53.94 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006221/36.81, allocations: 0.578 MB / 10.12 GB, free: 53.36 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03362/36.84, allocations: 19.71 MB / 10.14 GB, free: 35.55 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0387/36.88, allocations: 15.44 MB / 10.16 GB, free: 19.89 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005824/36.88, allocations: 11.92 kB / 10.16 GB, free: 19.88 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004317/36.88, allocations: 16 kB / 10.16 GB, free: 19.86 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/36.89, allocations: 219.9 kB / 10.16 GB, free: 19.64 MB / 1.214 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.159/38.04, allocations: 77.98 MB / 10.24 GB, free: 60.23 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0197/38.06, allocations: 12.4 MB / 10.25 GB, free: 59.81 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01399/38.08, allocations: 9.279 MB / 10.26 GB, free: 59.75 MB / 1.214 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.08429/38.16, allocations: 33.01 MB / 10.29 GB, free: 51.19 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01604/38.18, allocations: 8.962 MB / 10.3 GB, free: 51.03 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0439/38.22, allocations: 14.96 MB / 10.31 GB, free: 50.87 MB / 1.214 GB Notification: Performance of pre-optimization done (n=582): time 6.062e-05/38.22, allocations: 0 / 10.31 GB, free: 50.87 MB / 1.214 GB Notification: Performance of matching and sorting (n=584): time 0.6303/38.85, allocations: 138.9 MB / 10.45 GB, free: 46.4 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006795/38.85, allocations: 2.505 MB / 10.45 GB, free: 43.39 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03949/38.89, allocations: 13.86 MB / 10.46 GB, free: 42.63 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004531/38.9, allocations: 47.23 kB / 10.46 GB, free: 42.6 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01231/38.91, allocations: 7.906 MB / 10.47 GB, free: 41.21 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005345/38.92, allocations: 1.992 MB / 10.47 GB, free: 40.17 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004038/38.92, allocations: 3.531 kB / 10.47 GB, free: 40.17 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001142/38.92, allocations: 0.6715 MB / 10.47 GB, free: 39.84 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01499/38.94, allocations: 8.407 MB / 10.48 GB, free: 39.81 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01933/38.95, allocations: 11.85 MB / 10.49 GB, free: 35.84 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02018/38.97, allocations: 9.858 MB / 10.5 GB, free: 35.62 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001373/38.98, allocations: 16.84 kB / 10.5 GB, free: 35.62 MB / 1.214 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.5877/39.56, allocations: 124.3 MB / 10.63 GB, free: 1.094 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.948/40.51, allocations: 36.54 MB / 10.66 GB, free: 90.06 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006733/40.51, allocations: 117.6 kB / 10.66 GB, free: 90.06 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6274/41.14, allocations: 143.7 MB / 10.8 GB, free: 89.98 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01194/41.15, allocations: 2.128 MB / 10.8 GB, free: 89.98 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1386/41.29, allocations: 67.45 MB / 10.87 GB, free: 84.06 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01993/41.31, allocations: 0.9632 MB / 10.87 GB, free: 84.03 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004666/41.31, allocations: 0.833 MB / 10.87 GB, free: 84.03 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/41.31, allocations: 4.656 kB / 10.87 GB, free: 84.03 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5684/41.88, allocations: 121.6 MB / 10.99 GB, free: 65.98 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007851/41.88, allocations: 115.5 kB / 10.99 GB, free: 65.87 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737/43.62, allocations: 143.5 MB / 11.13 GB, free: 149.8 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01086/43.63, allocations: 2.103 MB / 11.13 GB, free: 149.8 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.174/43.81, allocations: 69.52 MB / 11.2 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02246/43.83, allocations: 0.9306 MB / 11.2 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004708/43.83, allocations: 0.7922 MB / 11.2 GB, free: 146.5 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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.007394/43.84, allocations: 356.2 kB / 11.2 GB, free: 146.4 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008182/43.85, allocations: 1.478 MB / 11.2 GB, free: 146.4 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1884/44.04, allocations: 43.61 MB / 11.25 GB, free: 145.8 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001427/44.04, allocations: 69.09 kB / 11.25 GB, free: 145.8 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001106/44.04, allocations: 32.98 kB / 11.25 GB, free: 145.8 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1672/44.2, allocations: 38.46 MB / 11.28 GB, free: 145.1 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.212/44.42, allocations: 58.17 MB / 11.34 GB, free: 141.1 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-05/44.42, allocations: 9.797 kB / 11.34 GB, free: 141.1 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007268/44.42, allocations: 1.13 MB / 11.34 GB, free: 141.1 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1773/44.6, allocations: 41.01 MB / 11.38 GB, free: 141 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002307/44.6, allocations: 156.8 kB / 11.38 GB, free: 141 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05422/44.66, allocations: 27.58 MB / 11.41 GB, free: 135 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/44.66, allocations: 1.312 kB / 11.41 GB, free: 135 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.184/44.84, allocations: 49.02 MB / 11.46 GB, free: 112.1 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01087/44.85, allocations: 3.183 MB / 11.46 GB, free: 110.1 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006292/44.86, allocations: 75.31 kB / 11.46 GB, free: 110.1 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01532/44.87, allocations: 0.8024 MB / 11.46 GB, free: 109.6 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002714/44.88, allocations: 430.8 kB / 11.46 GB, free: 109.4 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001837/44.88, allocations: 265.3 kB / 11.46 GB, free: 109.3 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02189/44.9, allocations: 10.4 MB / 11.47 GB, free: 103.7 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.192e-06/44.9, allocations: 1.875 kB / 11.47 GB, free: 103.7 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.04906/44.95, allocations: 7.892 MB / 11.48 GB, free: 96.38 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (527): * Single equations (assignments): 505 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.009488/44.96, allocations: 5.287 MB / 11.48 GB, free: 92.24 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.06544/45.02, allocations: 36.12 MB / 11.52 GB, free: 72.4 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/45.02, allocations: 10.62 kB / 11.52 GB, free: 72.39 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.01599/45.04, allocations: 8.484 MB / 11.53 GB, free: 68.06 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03754/45.08, allocations: 7.572 MB / 11.54 GB, free: 64.14 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05134/45.13, allocations: 26.12 MB / 11.56 GB, free: 43.75 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01402/45.14, allocations: 8.971 MB / 11.57 GB, free: 37.54 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03511/45.18, allocations: 8.22 MB / 11.58 GB, free: 32.27 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003942/45.18, allocations: 0.8312 MB / 11.58 GB, free: 31.53 MB / 1.292 GB Notification: Performance of SimCode: time 6.62e-07/45.18, allocations: 0 / 11.58 GB, free: 31.53 MB / 1.292 GB Notification: Performance of Templates: time 2.189/47.37, allocations: 428.8 MB / 12 GB, free: 9.684 MB / 1.292 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)