Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.16/2.16, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 191.3 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.353/2.353, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009482/0.0009476, allocations: 87.78 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004785, allocations: 8.781 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2128, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.505, allocations: 457.8 MB / 1.347 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/1.506, allocations: 107.5 kB / 1.347 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 55.18/56.68, allocations: 9.95 GB / 11.3 GB, free: 37.5 MB / 1.135 GB Notification: Performance of FrontEnd: time 4.058e-06/56.68, allocations: 7.984 kB / 11.3 GB, free: 37.5 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003483/56.69, allocations: 355.6 kB / 11.3 GB, free: 37.15 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.094/56.78, allocations: 17.51 MB / 11.31 GB, free: 19.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/56.78, allocations: 12.03 kB / 11.31 GB, free: 19.48 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01941/56.8, allocations: 2.224 MB / 11.32 GB, free: 17.24 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.311/59.11, allocations: 18.51 MB / 11.33 GB, free: 56.28 MB / 1.136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001098/59.11, allocations: 0.5284 MB / 11.33 GB, free: 56.27 MB / 1.136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00487/59.12, allocations: 0.7153 MB / 11.34 GB, free: 56.27 MB / 1.136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05184/59.17, allocations: 13.33 MB / 11.35 GB, free: 55.66 MB / 1.136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004225/59.17, allocations: 7.031 kB / 11.35 GB, free: 55.66 MB / 1.136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00399/59.17, allocations: 246.1 kB / 11.35 GB, free: 55.66 MB / 1.136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/59.17, allocations: 150.3 kB / 11.35 GB, free: 55.66 MB / 1.136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05239/59.23, allocations: 17.92 MB / 11.37 GB, free: 55.62 MB / 1.136 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.1774/59.4, allocations: 69.83 MB / 11.43 GB, free: 40.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02589/59.43, allocations: 9.701 MB / 11.44 GB, free: 40.73 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02187/59.45, allocations: 8.6 MB / 11.45 GB, free: 40.68 MB / 1.151 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.1288/59.58, allocations: 29.27 MB / 11.48 GB, free: 32.79 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0355/59.62, allocations: 8.262 MB / 11.49 GB, free: 32.67 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1261/59.74, allocations: 15.22 MB / 11.5 GB, free: 32.57 MB / 1.151 GB Notification: Performance of pre-optimization done (n=393): time 4.989e-05/59.74, allocations: 0 / 11.5 GB, free: 32.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=581): time 0.9403/60.68, allocations: 124.2 MB / 11.63 GB, free: 24.32 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/60.68, allocations: 109.9 kB / 11.63 GB, free: 24.25 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03752/60.72, allocations: 13.31 MB / 11.64 GB, free: 23.52 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.004037/60.72, allocations: 185.4 kB / 11.64 GB, free: 23.48 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01017/60.73, allocations: 6.013 MB / 11.64 GB, free: 22.51 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.005284/60.74, allocations: 1.955 MB / 11.65 GB, free: 21.51 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003058/60.74, allocations: 145 kB / 11.65 GB, free: 21.51 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0007389/60.74, allocations: 0.595 MB / 11.65 GB, free: 21.19 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02674/60.77, allocations: 8.419 MB / 11.66 GB, free: 21.15 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02966/60.8, allocations: 11.04 MB / 11.67 GB, free: 18.19 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03038/60.83, allocations: 9.331 MB / 11.68 GB, free: 17.95 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.602e-05/60.83, allocations: 13.12 kB / 11.68 GB, free: 17.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.1196/60.95, allocations: 28.34 MB / 11.7 GB, free: 8.883 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001417/60.95, allocations: 1.533 MB / 11.7 GB, free: 6.805 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/60.95, allocations: 54.5 kB / 11.7 GB, free: 6.801 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888/63.84, allocations: 175.7 MB / 11.88 GB, free: 100.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01957/63.86, allocations: 1.786 MB / 11.88 GB, free: 100.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08995/63.95, allocations: 27.38 MB / 11.9 GB, free: 95.39 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0317/63.98, allocations: 1.21 MB / 11.91 GB, free: 95.39 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005165/63.99, allocations: 0.8017 MB / 11.91 GB, free: 95.39 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/63.99, allocations: 4.562 kB / 11.91 GB, free: 95.39 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1053/64.09, allocations: 27.01 MB / 11.93 GB, free: 95.05 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002289/64.09, allocations: 49.88 kB / 11.93 GB, free: 95.05 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61/65.7, allocations: 171.6 MB / 12.1 GB, free: 64.95 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01675/65.72, allocations: 1.762 MB / 12.1 GB, free: 63.31 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.108/65.83, allocations: 31.75 MB / 12.13 GB, free: 39.62 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03085/65.86, allocations: 1.181 MB / 12.13 GB, free: 38.62 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004887/65.86, allocations: 0.7615 MB / 12.13 GB, free: 37.92 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (662): * Single equations (assignments): 648 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {40 56,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01616/65.88, allocations: 3.092 MB / 12.14 GB, free: 36.02 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007204/65.89, allocations: 1.205 MB / 12.14 GB, free: 35.46 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1695/66.06, allocations: 30.52 MB / 12.17 GB, free: 14.14 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001703/66.06, allocations: 83.98 kB / 12.17 GB, free: 14.06 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/66.06, allocations: 4 kB / 12.17 GB, free: 14.05 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1403/66.2, allocations: 24.93 MB / 12.19 GB, free: 12.48 MB / 1.198 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 postOpt removeSimpleEquations (simulation): time 1.562/67.76, allocations: 49.95 MB / 12.24 GB, free: 126.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000125/67.76, allocations: 7.625 kB / 12.24 GB, free: 126.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01176/67.77, allocations: 1.174 MB / 12.24 GB, free: 126.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4343/68.2, allocations: 50 MB / 12.29 GB, free: 126 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003055/68.21, allocations: 201.8 kB / 12.29 GB, free: 126 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06976/68.28, allocations: 15.48 MB / 12.31 GB, free: 120.9 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-05/68.28, allocations: 10.44 kB / 12.31 GB, free: 120.9 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.169/68.45, allocations: 31.98 MB / 12.34 GB, free: 119.8 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01356/68.46, allocations: 2.914 MB / 12.34 GB, free: 119.6 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006693/68.47, allocations: 131.7 kB / 12.34 GB, free: 119.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02289/68.49, allocations: 0.9327 MB / 12.34 GB, free: 119.5 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002942/68.49, allocations: 469.1 kB / 12.34 GB, free: 119.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002558/68.49, allocations: 288.5 kB / 12.34 GB, free: 119.5 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02753/68.52, allocations: 9.04 MB / 12.35 GB, free: 119.2 MB / 1.214 GB Notification: Performance of sort global known variables: time 7.52e-07/68.52, allocations: 2.078 kB / 12.35 GB, free: 119.2 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.06503/68.59, allocations: 6.493 MB / 12.36 GB, free: 119.2 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (490): * Single equations (assignments): 468 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * 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: 0 * Non-linear torn systems: 4 {7 80,38 56,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.013/68.6, allocations: 4.91 MB / 12.36 GB, free: 117.3 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1679/68.77, allocations: 35.09 MB / 12.4 GB, free: 116.6 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.929e-05/68.77, allocations: 6 kB / 12.4 GB, free: 116.6 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.03877/68.81, allocations: 9.843 MB / 12.41 GB, free: 116.5 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06155/68.87, allocations: 6.385 MB / 12.41 GB, free: 116.4 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.085/68.95, allocations: 29.9 MB / 12.44 GB, free: 105.7 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01712/68.97, allocations: 6.912 MB / 12.45 GB, free: 104.7 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.03074/69, allocations: 3.737 MB / 12.45 GB, free: 104.6 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007052/69.01, allocations: 0.9861 MB / 12.45 GB, free: 104.6 MB / 1.214 GB Notification: Performance of SimCode: time 1.894e-06/69.01, allocations: 0 / 12.45 GB, free: 104.6 MB / 1.214 GB Notification: Performance of Templates: time 2.094/71.1, allocations: 410.7 MB / 12.86 GB, free: 118 MB / 1.214 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)