Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.822/1.822, allocations: 285.7 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.001376/0.001377, allocations: 180.9 kB / 361.4 MB, free: 6.844 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.772/1.772, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009471/0.0009467, allocations: 93.5 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.438e-05, allocations: 4 kB / 0.8517 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7448/0.7449, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/1.861, allocations: 463.3 MB / 1.417 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/1.861, allocations: 96.19 kB / 1.417 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 37.48/39.34, allocations: 8.658 GB / 10.07 GB, free: 94.18 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.367e-06/39.34, allocations: 0.7812 kB / 10.07 GB, free: 94.18 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.004856/39.34, allocations: 0.5127 MB / 10.08 GB, free: 94.08 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.06917/39.41, allocations: 14.15 MB / 10.09 GB, free: 88.28 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/39.41, allocations: 9.844 kB / 10.09 GB, free: 88.28 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/39.43, allocations: 2.308 MB / 10.09 GB, free: 87.27 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08485/39.52, allocations: 23.25 MB / 10.11 GB, free: 84.68 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007614/39.52, allocations: 258.6 kB / 10.11 GB, free: 84.68 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006183/39.52, allocations: 0.5849 MB / 10.11 GB, free: 84.68 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03948/39.56, allocations: 19.71 MB / 10.13 GB, free: 84.64 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04449/39.61, allocations: 15.43 MB / 10.15 GB, free: 82.82 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000685/39.61, allocations: 12.5 kB / 10.15 GB, free: 82.82 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005201/39.61, allocations: 17.8 kB / 10.15 GB, free: 82.82 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000254/39.61, allocations: 219.8 kB / 10.15 GB, free: 82.82 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.1582/39.77, allocations: 77.99 MB / 10.23 GB, free: 49.24 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01964/39.79, allocations: 12.39 MB / 10.24 GB, free: 48.82 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01847/39.81, allocations: 9.282 MB / 10.25 GB, free: 48.75 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.09289/39.9, allocations: 33 MB / 10.28 GB, free: 39.87 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01937/39.92, allocations: 8.963 MB / 10.29 GB, free: 39.71 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05/39.97, allocations: 14.96 MB / 10.3 GB, free: 39.06 MB / 1.198 GB Notification: Performance of pre-optimization done (n=582): time 7.781e-05/39.97, allocations: 0 / 10.3 GB, free: 39.06 MB / 1.198 GB Notification: Performance of matching and sorting (n=584): time 0.6509/40.62, allocations: 138.9 MB / 10.44 GB, free: 24.76 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006572/40.62, allocations: 2.51 MB / 10.44 GB, free: 21.68 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0375/40.66, allocations: 13.87 MB / 10.45 GB, free: 13.82 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.005325/40.67, allocations: 45.7 kB / 10.45 GB, free: 13.77 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0139/40.68, allocations: 7.906 MB / 10.46 GB, free: 7.289 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.005722/40.69, allocations: 1.993 MB / 10.46 GB, free: 5.445 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004323/40.69, allocations: 4 kB / 10.46 GB, free: 5.441 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.001141/40.69, allocations: 0.6708 MB / 10.46 GB, free: 4.871 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02615/40.72, allocations: 9.29 MB / 10.47 GB, free: 0 / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0224/40.74, allocations: 11.87 MB / 10.49 GB, free: 3.992 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.274/42.01, allocations: 10.72 MB / 10.5 GB, free: 101.9 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003277/42.01, allocations: 14.78 kB / 10.5 GB, free: 101.9 MB / 1.214 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.6258/42.64, allocations: 124.4 MB / 10.62 GB, free: 101.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.006058/42.65, allocations: 36.54 MB / 10.65 GB, free: 63.73 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004354/42.65, allocations: 114.1 kB / 10.65 GB, free: 63.73 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6122/43.26, allocations: 143.7 MB / 10.79 GB, free: 61.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0127/43.27, allocations: 2.128 MB / 10.8 GB, free: 60.67 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1409/43.41, allocations: 67.45 MB / 10.86 GB, free: 24.83 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02378/43.44, allocations: 0.9556 MB / 10.86 GB, free: 23.96 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005867/43.44, allocations: 0.8314 MB / 10.86 GB, free: 23.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/43.44, allocations: 4 kB / 10.86 GB, free: 23.19 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.619/45.06, allocations: 121.6 MB / 10.98 GB, free: 146.2 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005501/45.06, allocations: 117.2 kB / 10.98 GB, free: 146.2 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6306/45.69, allocations: 143.4 MB / 11.12 GB, free: 146.2 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0104/45.7, allocations: 2.105 MB / 11.12 GB, free: 146.2 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1543/45.86, allocations: 69.52 MB / 11.19 GB, free: 142.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02194/45.88, allocations: 0.9262 MB / 11.19 GB, free: 142.4 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005339/45.89, allocations: 0.7906 MB / 11.19 GB, free: 142.4 MB / 1.276 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.009079/45.89, allocations: 349.1 kB / 11.19 GB, free: 142.3 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007827/45.9, allocations: 1.476 MB / 11.2 GB, free: 142.3 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1903/46.09, allocations: 43.61 MB / 11.24 GB, free: 141.3 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001336/46.09, allocations: 67.75 kB / 11.24 GB, free: 141.3 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001047/46.09, allocations: 29.5 kB / 11.24 GB, free: 141.3 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1663/46.26, allocations: 38.46 MB / 11.28 GB, free: 138.3 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2092/46.47, allocations: 58.16 MB / 11.33 GB, free: 95.44 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.919e-05/46.47, allocations: 4 kB / 11.33 GB, free: 95.44 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006598/46.47, allocations: 1.133 MB / 11.33 GB, free: 94.4 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1788/46.65, allocations: 41.01 MB / 11.37 GB, free: 54.29 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002372/46.66, allocations: 155.1 kB / 11.37 GB, free: 54.18 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0535/46.71, allocations: 27.58 MB / 11.4 GB, free: 35.34 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/46.71, allocations: 0 / 11.4 GB, free: 35.34 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.199/47.91, allocations: 49.03 MB / 11.45 GB, free: 150.8 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01486/47.92, allocations: 3.179 MB / 11.45 GB, free: 150.7 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007222/47.93, allocations: 80.75 kB / 11.45 GB, free: 150.7 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0167/47.95, allocations: 0.8056 MB / 11.45 GB, free: 150.7 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002995/47.95, allocations: 430.1 kB / 11.45 GB, free: 150.7 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00165/47.95, allocations: 261.7 kB / 11.45 GB, free: 150.7 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02827/47.98, allocations: 10.4 MB / 11.46 GB, free: 150.3 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.623e-06/47.98, allocations: 3.281 kB / 11.46 GB, free: 150.3 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.06063/48.04, allocations: 7.884 MB / 11.47 GB, free: 150.3 MB / 1.276 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.01092/48.05, allocations: 5.291 MB / 11.48 GB, free: 148.4 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.07395/48.13, allocations: 36.11 MB / 11.51 GB, free: 145.3 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.198e-05/48.13, allocations: 11.94 kB / 11.51 GB, free: 145.3 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.01923/48.15, allocations: 8.485 MB / 11.52 GB, free: 145.1 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04703/48.19, allocations: 7.57 MB / 11.53 GB, free: 145 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06363/48.26, allocations: 26.14 MB / 11.55 GB, free: 139.5 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01694/48.27, allocations: 8.962 MB / 11.56 GB, free: 138.4 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.04227/48.32, allocations: 8.221 MB / 11.57 GB, free: 138.2 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004316/48.32, allocations: 0.8368 MB / 11.57 GB, free: 138.2 MB / 1.276 GB Notification: Performance of SimCode: time 1.833e-06/48.32, allocations: 0 / 11.57 GB, free: 138.2 MB / 1.276 GB Notification: Performance of Templates: time 2.738/51.06, allocations: 428.8 MB / 11.99 GB, free: 143.4 MB / 1.292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)