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.65/1.65, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001123/0.001123, allocations: 184 kB / 377.1 MB, free: 1.516 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.74/1.74, allocations: 205.4 MB / 0.6367 GB, free: 8.598 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.0008861/0.000886, allocations: 94.77 kB / 0.751 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3229, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.81/2.133, allocations: 465 MB / 1.443 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/2.133, allocations: 100.5 kB / 1.443 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 39.43/41.57, allocations: 8.722 GB / 10.17 GB, free: 81.66 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.136e-06/41.57, allocations: 0 / 10.17 GB, free: 81.66 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.006154/41.57, allocations: 0.5125 MB / 10.17 GB, free: 81.52 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.1047/41.68, allocations: 21.42 MB / 10.19 GB, free: 73.38 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/41.68, allocations: 14.72 kB / 10.19 GB, free: 73.38 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02083/41.7, allocations: 2.309 MB / 10.19 GB, free: 72.35 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09432/41.79, allocations: 23.52 MB / 10.21 GB, free: 69.41 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001753/41.79, allocations: 0.7168 MB / 10.21 GB, free: 69.39 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009701/41.8, allocations: 1.02 MB / 10.21 GB, free: 69.37 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06023/41.86, allocations: 16.87 MB / 10.23 GB, free: 67.38 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007129/41.87, allocations: 7.812 kB / 10.23 GB, free: 67.38 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006206/41.87, allocations: 360.6 kB / 10.23 GB, free: 67.38 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002702/41.87, allocations: 223.8 kB / 10.23 GB, free: 67.37 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04605/41.92, allocations: 19.85 MB / 10.25 GB, free: 63.21 MB / 1.214 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1812/42.1, allocations: 79.55 MB / 10.33 GB, free: 10.19 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 1.4/43.5, allocations: 11.94 MB / 10.34 GB, free: 106.2 MB / 1.229 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1045/43.6, allocations: 33 MB / 10.37 GB, free: 98.22 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02348/43.63, allocations: 9.311 MB / 10.38 GB, free: 98.05 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05305/43.68, allocations: 14.91 MB / 10.4 GB, free: 98.05 MB / 1.229 GB Notification: Performance of pre-optimization done (n=581): time 8.122e-05/43.68, allocations: 0 / 10.4 GB, free: 98.05 MB / 1.229 GB Notification: Performance of matching and sorting (n=811): time 0.9113/44.59, allocations: 200.5 MB / 10.59 GB, free: 88.07 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009951/44.59, allocations: 2.529 MB / 10.59 GB, free: 85.06 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05373/44.65, allocations: 14.9 MB / 10.61 GB, free: 84.25 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.006468/44.65, allocations: 263.6 kB / 10.61 GB, free: 84.22 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01645/44.67, allocations: 7.911 MB / 10.62 GB, free: 82.85 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.00902/44.68, allocations: 2.816 MB / 10.62 GB, free: 81.41 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006401/44.69, allocations: 213.3 kB / 10.62 GB, free: 81.41 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001615/44.69, allocations: 0.7512 MB / 10.62 GB, free: 81.09 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02497/44.71, allocations: 10.36 MB / 10.63 GB, free: 81.03 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03146/44.74, allocations: 14.05 MB / 10.64 GB, free: 76.99 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03004/44.77, allocations: 11.66 MB / 10.65 GB, free: 76.66 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001888/44.77, allocations: 14.5 kB / 10.65 GB, free: 76.66 MB / 1.229 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 0.5872/45.36, allocations: 130 MB / 10.78 GB, free: 13.71 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.292/46.65, allocations: 36.69 MB / 10.82 GB, free: 114.8 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007512/46.65, allocations: 117.1 kB / 10.82 GB, free: 114.8 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.649/47.3, allocations: 148 MB / 10.96 GB, free: 114.6 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01694/47.32, allocations: 2.692 MB / 10.96 GB, free: 114.6 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1777/47.5, allocations: 76.81 MB / 11.04 GB, free: 107.6 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03091/47.53, allocations: 1.555 MB / 11.04 GB, free: 107.6 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008633/47.54, allocations: 0.9147 MB / 11.04 GB, free: 107.6 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/47.54, allocations: 3.938 kB / 11.04 GB, free: 107.6 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6273/48.16, allocations: 128.7 MB / 11.17 GB, free: 69.93 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007466/48.17, allocations: 114.8 kB / 11.17 GB, free: 69.82 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903/50.07, allocations: 147.7 MB / 11.31 GB, free: 161.8 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01599/50.08, allocations: 2.668 MB / 11.31 GB, free: 161.8 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2205/50.31, allocations: 81.06 MB / 11.39 GB, free: 157.3 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02808/50.33, allocations: 1.525 MB / 11.4 GB, free: 157.3 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006626/50.34, allocations: 0.8686 MB / 11.4 GB, free: 157.3 MB / 1.307 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 981 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,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: 2 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.02262/50.36, allocations: 4.28 MB / 11.4 GB, free: 157.1 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01098/50.37, allocations: 1.553 MB / 11.4 GB, free: 157.1 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.224/50.6, allocations: 50.85 MB / 11.45 GB, free: 156.4 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002818/50.6, allocations: 98.56 kB / 11.45 GB, free: 156.4 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005113/50.6, allocations: 27.53 kB / 11.45 GB, free: 156.4 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1916/50.79, allocations: 44.8 MB / 11.5 GB, free: 155.7 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2767/51.07, allocations: 69.15 MB / 11.56 GB, free: 151.5 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001822/51.07, allocations: 7.078 kB / 11.56 GB, free: 151.5 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01249/51.08, allocations: 1.84 MB / 11.56 GB, free: 151.5 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1742/51.25, allocations: 42.78 MB / 11.61 GB, free: 141.8 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003338/51.26, allocations: 342.5 kB / 11.61 GB, free: 141.7 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05927/51.32, allocations: 31.84 MB / 11.64 GB, free: 122.3 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/51.32, allocations: 0 / 11.64 GB, free: 122.3 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1973/51.51, allocations: 59.08 MB / 11.7 GB, free: 90.86 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01803/51.53, allocations: 3.652 MB / 11.7 GB, free: 87.88 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008801/51.54, allocations: 280.3 kB / 11.7 GB, free: 87.63 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02288/51.56, allocations: 1.341 MB / 11.7 GB, free: 86.8 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005052/51.57, allocations: 0.5889 MB / 11.7 GB, free: 86.44 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002967/51.57, allocations: 358.6 kB / 11.7 GB, free: 86.14 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.03332/51.61, allocations: 11.42 MB / 11.71 GB, free: 76.86 MB / 1.307 GB Notification: Performance of sort global known variables: time 7.01e-07/51.61, allocations: 1.219 kB / 11.71 GB, free: 76.86 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.06604/51.67, allocations: 8.811 MB / 11.72 GB, free: 68.35 MB / 1.307 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,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: 2 {39 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01346/51.68, allocations: 5.634 MB / 11.73 GB, free: 63.87 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.1101/51.79, allocations: 44.81 MB / 11.77 GB, free: 24.2 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 3.383e-05/51.8, allocations: 10.31 kB / 11.77 GB, free: 24.2 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 1.197/52.99, allocations: 12 MB / 11.78 GB, free: 172.7 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04866/53.04, allocations: 7.767 MB / 11.79 GB, free: 172.6 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09587/53.14, allocations: 41.08 MB / 11.83 GB, free: 158.2 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02727/53.16, allocations: 9.406 MB / 11.84 GB, free: 157 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.03985/53.2, allocations: 5.522 MB / 11.84 GB, free: 156.9 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01058/53.21, allocations: 1.311 MB / 11.85 GB, free: 156.9 MB / 1.307 GB Notification: Performance of SimCode: time 2.285e-06/53.21, allocations: 0 / 11.85 GB, free: 156.9 MB / 1.307 GB Notification: Performance of Templates: time 3.041/56.26, allocations: 471.5 MB / 12.31 GB, free: 174.4 MB / 1.339 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)