Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001149/0.001149, allocations: 184.9 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.852/1.852, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.0009196/0.0009195, allocations: 88.89 kB / 0.751 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005055/0.0005057, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.328, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.802/2.13, allocations: 465.2 MB / 1.443 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/2.131, allocations: 103.9 kB / 1.443 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 39.33/41.46, allocations: 8.723 GB / 10.17 GB, free: 81.77 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.036e-06/41.46, allocations: 0 / 10.17 GB, free: 81.77 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005798/41.47, allocations: 0.5154 MB / 10.17 GB, free: 81.62 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.1053/41.57, allocations: 21.42 MB / 10.19 GB, free: 73.49 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.538e-05/41.57, allocations: 7.812 kB / 10.19 GB, free: 73.49 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02036/41.59, allocations: 2.309 MB / 10.19 GB, free: 72.46 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09373/41.69, allocations: 23.53 MB / 10.21 GB, free: 69.51 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001512/41.69, allocations: 0.7117 MB / 10.21 GB, free: 69.49 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007762/41.69, allocations: 1.024 MB / 10.21 GB, free: 69.47 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0564/41.75, allocations: 16.87 MB / 10.23 GB, free: 67.48 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009729/41.75, allocations: 19.62 kB / 10.23 GB, free: 67.47 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006653/41.76, allocations: 361.7 kB / 10.23 GB, free: 67.47 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003349/41.76, allocations: 215.6 kB / 10.23 GB, free: 67.47 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04294/41.8, allocations: 19.86 MB / 10.25 GB, free: 62.57 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.1817/41.98, allocations: 79.56 MB / 10.33 GB, free: 8.371 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 1.484/43.47, allocations: 11.93 MB / 10.34 GB, free: 106.4 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.1028/43.57, allocations: 33.01 MB / 10.37 GB, free: 98.44 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02218/43.59, allocations: 9.313 MB / 10.38 GB, free: 98.27 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05075/43.64, allocations: 14.9 MB / 10.4 GB, free: 98.27 MB / 1.229 GB Notification: Performance of pre-optimization done (n=581): time 8.526e-05/43.64, allocations: 1.688 kB / 10.4 GB, free: 98.27 MB / 1.229 GB Notification: Performance of matching and sorting (n=811): time 0.892/44.54, allocations: 200.4 MB / 10.59 GB, free: 88.27 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008539/44.54, allocations: 2.534 MB / 10.59 GB, free: 85.26 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04639/44.58, allocations: 14.91 MB / 10.61 GB, free: 84.45 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005666/44.59, allocations: 268 kB / 10.61 GB, free: 84.42 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01358/44.6, allocations: 7.907 MB / 10.62 GB, free: 83.05 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007494/44.61, allocations: 2.81 MB / 10.62 GB, free: 81.62 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004631/44.61, allocations: 207.2 kB / 10.62 GB, free: 81.62 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001145/44.62, allocations: 0.7499 MB / 10.62 GB, free: 81.29 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02191/44.64, allocations: 10.37 MB / 10.63 GB, free: 81.23 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02686/44.66, allocations: 14.06 MB / 10.64 GB, free: 77.19 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02551/44.69, allocations: 11.67 MB / 10.66 GB, free: 76.86 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001655/44.69, allocations: 13.78 kB / 10.66 GB, free: 76.86 MB / 1.229 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 0.579/45.27, allocations: 130 MB / 10.78 GB, free: 12.85 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.307/46.58, allocations: 36.69 MB / 10.82 GB, free: 113.2 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009094/46.58, allocations: 117.4 kB / 10.82 GB, free: 113.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6203/47.2, allocations: 147.1 MB / 10.96 GB, free: 113.1 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01703/47.21, allocations: 2.698 MB / 10.96 GB, free: 113.1 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.158/47.37, allocations: 76.38 MB / 11.04 GB, free: 106 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0288/47.4, allocations: 1.556 MB / 11.04 GB, free: 106 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006827/47.41, allocations: 0.912 MB / 11.04 GB, free: 106 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/47.41, allocations: 2.5 kB / 11.04 GB, free: 106 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5793/47.99, allocations: 128.7 MB / 11.17 GB, free: 70.7 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007839/47.99, allocations: 113.5 kB / 11.17 GB, free: 70.59 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922/49.91, allocations: 147.4 MB / 11.31 GB, free: 161.2 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01573/49.93, allocations: 2.664 MB / 11.31 GB, free: 161.2 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1778/50.1, allocations: 80.7 MB / 11.39 GB, free: 156.7 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03031/50.14, allocations: 1.525 MB / 11.39 GB, free: 156.7 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007232/50.14, allocations: 0.8748 MB / 11.4 GB, free: 156.7 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.02269/50.17, allocations: 4.274 MB / 11.4 GB, free: 156.5 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01124/50.18, allocations: 1.554 MB / 11.4 GB, free: 156.5 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2191/50.4, allocations: 50.83 MB / 11.45 GB, free: 155.8 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003772/50.4, allocations: 98.78 kB / 11.45 GB, free: 155.8 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004534/50.4, allocations: 31.12 kB / 11.45 GB, free: 155.8 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1986/50.59, allocations: 44.8 MB / 11.49 GB, free: 155.1 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2672/50.86, allocations: 69.14 MB / 11.56 GB, free: 150.9 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001235/50.86, allocations: 9.016 kB / 11.56 GB, free: 150.9 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01144/50.87, allocations: 1.839 MB / 11.56 GB, free: 150.9 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1743/51.05, allocations: 42.26 MB / 11.61 GB, free: 142.9 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004087/51.05, allocations: 338.9 kB / 11.61 GB, free: 142.8 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06286/51.12, allocations: 31.6 MB / 11.64 GB, free: 123.6 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/51.12, allocations: 1.219 kB / 11.64 GB, free: 123.6 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2038/51.32, allocations: 59.05 MB / 11.69 GB, free: 92.02 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02023/51.34, allocations: 3.655 MB / 11.7 GB, free: 88.97 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01359/51.35, allocations: 276.5 kB / 11.7 GB, free: 88.73 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02558/51.38, allocations: 1.341 MB / 11.7 GB, free: 87.89 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004484/51.38, allocations: 0.59 MB / 11.7 GB, free: 87.53 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003407/51.39, allocations: 364.1 kB / 11.7 GB, free: 87.23 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.03478/51.42, allocations: 11.41 MB / 11.71 GB, free: 77.95 MB / 1.307 GB Notification: Performance of sort global known variables: time 5.82e-07/51.42, allocations: 0 / 11.71 GB, free: 77.95 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.07025/51.49, allocations: 8.805 MB / 11.72 GB, free: 69.44 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 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01655/51.51, allocations: 5.639 MB / 11.73 GB, free: 64.97 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.1033/51.61, allocations: 43.61 MB / 11.77 GB, free: 27.22 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-05/51.61, allocations: 10.97 kB / 11.77 GB, free: 27.21 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 1.177/52.79, allocations: 11.47 MB / 11.78 GB, free: 172.8 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05181/52.84, allocations: 7.776 MB / 11.79 GB, free: 172.7 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.106/52.95, allocations: 40.49 MB / 11.83 GB, free: 158.6 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03521/52.98, allocations: 9.4 MB / 11.84 GB, free: 157.5 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.03943/53.02, allocations: 5.524 MB / 11.84 GB, free: 157.4 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009856/53.03, allocations: 1.315 MB / 11.84 GB, free: 157.4 MB / 1.307 GB Notification: Performance of SimCode: time 1.543e-06/53.03, allocations: 3.219 kB / 11.84 GB, free: 157.4 MB / 1.307 GB Notification: Performance of Templates: time 2.987/56.02, allocations: 474.9 MB / 12.31 GB, free: 174.9 MB / 1.339 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)