Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.634/1.634, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001146/0.001146, allocations: 180.9 kB / 361.4 MB, free: 6.863 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.697/1.697, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.000867/0.0008673, allocations: 94.44 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.251e-05/2.254e-05, allocations: 3.984 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6819/0.6819, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.775, allocations: 463.2 MB / 1.417 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/1.776, allocations: 99.33 kB / 1.417 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 26.4/28.18, allocations: 6.385 GB / 7.802 GB, free: 85.81 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.984e-06/28.18, allocations: 0 / 7.802 GB, free: 85.81 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003838/28.18, allocations: 0.5315 MB / 7.802 GB, free: 85.65 MB / 1.198 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.06253/28.24, allocations: 14.16 MB / 7.816 GB, free: 79.43 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/28.24, allocations: 8.188 kB / 7.816 GB, free: 79.43 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02014/28.26, allocations: 2.314 MB / 7.818 GB, free: 78.39 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07752/28.34, allocations: 23.32 MB / 7.841 GB, free: 75.46 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007379/28.34, allocations: 259.6 kB / 7.841 GB, free: 75.46 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0064/28.35, allocations: 0.5966 MB / 7.842 GB, free: 75.46 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03988/28.39, allocations: 19.91 MB / 7.862 GB, free: 75.41 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04457/28.43, allocations: 15.57 MB / 7.877 GB, free: 73.46 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006337/28.43, allocations: 10 kB / 7.877 GB, free: 73.45 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005137/28.44, allocations: 15.31 kB / 7.877 GB, free: 73.45 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002383/28.44, allocations: 214.2 kB / 7.877 GB, free: 73.45 MB / 1.198 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.1507/28.59, allocations: 77.16 MB / 7.952 GB, free: 32.9 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01854/28.61, allocations: 13.17 MB / 7.965 GB, free: 24.11 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01254/28.62, allocations: 9.814 MB / 7.975 GB, free: 15.31 MB / 1.198 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.08374/28.7, allocations: 33.58 MB / 8.008 GB, free: 4.082 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227/29.93, allocations: 9.426 MB / 8.017 GB, free: 116 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05134/29.98, allocations: 14.96 MB / 8.031 GB, free: 116 MB / 1.214 GB Notification: Performance of pre-optimization done (n=606): time 8.832e-05/29.98, allocations: 0 / 8.031 GB, free: 116 MB / 1.214 GB Notification: Performance of matching and sorting (n=608): time 0.6693/30.65, allocations: 140.4 MB / 8.168 GB, free: 112.5 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007223/30.65, allocations: 2.507 MB / 8.171 GB, free: 109.4 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03609/30.69, allocations: 13.83 MB / 8.184 GB, free: 108.7 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.005319/30.7, allocations: 47.7 kB / 8.184 GB, free: 108.7 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01172/30.71, allocations: 7.773 MB / 8.192 GB, free: 107.2 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006235/30.71, allocations: 2.07 MB / 8.194 GB, free: 106.2 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002713/30.72, allocations: 0 / 8.194 GB, free: 106.2 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0007856/30.72, allocations: 0.6805 MB / 8.195 GB, free: 105.8 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01416/30.73, allocations: 8.55 MB / 8.203 GB, free: 105.8 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01936/30.75, allocations: 12.05 MB / 8.215 GB, free: 101.8 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02158/30.77, allocations: 10.02 MB / 8.225 GB, free: 101.6 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/30.77, allocations: 14.06 kB / 8.225 GB, free: 101.6 MB / 1.214 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.6113/31.38, allocations: 125.3 MB / 8.347 GB, free: 85.65 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.007445/31.39, allocations: 32.83 MB / 8.379 GB, free: 51.16 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006397/31.39, allocations: 110.7 kB / 8.379 GB, free: 51.05 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871/33.26, allocations: 144.6 MB / 8.52 GB, free: 152.4 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01254/33.28, allocations: 2.029 MB / 8.522 GB, free: 152.4 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1515/33.43, allocations: 68.75 MB / 8.59 GB, free: 146.5 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02429/33.45, allocations: 0.9396 MB / 8.59 GB, free: 146.5 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00574/33.46, allocations: 0.8335 MB / 8.591 GB, free: 146.5 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/33.46, allocations: 6.594 kB / 8.591 GB, free: 146.5 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6101/34.07, allocations: 122.2 MB / 8.711 GB, free: 145.2 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006105/34.07, allocations: 117.7 kB / 8.711 GB, free: 145.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6258/34.69, allocations: 144.5 MB / 8.852 GB, free: 73.16 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009754/34.7, allocations: 2.005 MB / 8.854 GB, free: 71.3 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1394/34.84, allocations: 73.28 MB / 8.925 GB, free: 18.56 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02421/34.87, allocations: 0.9223 MB / 8.926 GB, free: 17.72 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005452/34.87, allocations: 0.7848 MB / 8.927 GB, free: 17 MB / 1.26 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (889): * Single equations (assignments): 811 * 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 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.009902/34.88, allocations: 341.4 kB / 8.927 GB, free: 16.81 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008445/34.89, allocations: 1.483 MB / 8.929 GB, free: 16.12 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.232/36.12, allocations: 44.45 MB / 8.972 GB, free: 147.7 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001807/36.12, allocations: 72.11 kB / 8.972 GB, free: 147.7 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001108/36.12, allocations: 32.92 kB / 8.972 GB, free: 147.7 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1829/36.31, allocations: 39.24 MB / 9.011 GB, free: 147.1 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2052/36.51, allocations: 59.4 MB / 9.069 GB, free: 143.1 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.488e-05/36.51, allocations: 5.375 kB / 9.069 GB, free: 143.1 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006332/36.52, allocations: 1.069 MB / 9.07 GB, free: 143.1 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1811/36.7, allocations: 41.82 MB / 9.11 GB, free: 143 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002379/36.7, allocations: 156.8 kB / 9.111 GB, free: 143 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05494/36.76, allocations: 28.79 MB / 9.139 GB, free: 137.1 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/36.76, allocations: 0 / 9.139 GB, free: 137.1 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1809/36.94, allocations: 50.04 MB / 9.188 GB, free: 135.8 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01278/36.95, allocations: 3.231 MB / 9.191 GB, free: 135.7 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008806/36.96, allocations: 82.62 kB / 9.191 GB, free: 135.7 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01641/36.98, allocations: 0.8051 MB / 9.192 GB, free: 135.6 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003019/36.98, allocations: 443.2 kB / 9.192 GB, free: 135.6 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001632/36.98, allocations: 267.2 kB / 9.192 GB, free: 135.6 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02344/37, allocations: 10.39 MB / 9.202 GB, free: 135.2 MB / 1.26 GB Notification: Performance of sort global known variables: time 9.41e-07/37, allocations: 1.125 kB / 9.202 GB, free: 135.2 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.05346/37.06, allocations: 7.845 MB / 9.21 GB, free: 135.2 MB / 1.26 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 (503): * Single equations (assignments): 481 * 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 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01061/37.07, allocations: 5.284 MB / 9.215 GB, free: 133.2 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.07615/37.14, allocations: 36.63 MB / 9.251 GB, free: 114.6 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-05/37.14, allocations: 14.62 kB / 9.251 GB, free: 114.6 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.02008/37.16, allocations: 8.757 MB / 9.26 GB, free: 110.1 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04671/37.21, allocations: 7.58 MB / 9.267 GB, free: 106.1 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06479/37.28, allocations: 26.2 MB / 9.293 GB, free: 86.7 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.016/37.29, allocations: 8.991 MB / 9.301 GB, free: 81.41 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.03971/37.33, allocations: 8.026 MB / 9.309 GB, free: 76.8 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004167/37.34, allocations: 0.8199 MB / 9.31 GB, free: 76.1 MB / 1.26 GB Notification: Performance of SimCode: time 1.392e-06/37.34, allocations: 0 / 9.31 GB, free: 76.1 MB / 1.26 GB Notification: Performance of Templates: time 2.791/40.13, allocations: 439.5 MB / 9.739 GB, free: 67.5 MB / 1.261 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)