Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.541/2.541, allocations: 287.4 MB / 303.2 MB, free: 8.281 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.001553/0.001553, allocations: 188 kB / 371.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.6305 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001647/0.001647, allocations: 91.72 kB / 0.7438 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004853, allocations: 19.12 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2134, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.985/2.198, allocations: 466.2 MB / 1.435 GB, free: 337.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003809/2.198, allocations: 106.9 kB / 1.435 GB, free: 337.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 57.38/59.58, allocations: 10.47 GB / 11.91 GB, free: 58.94 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.816e-06/59.58, allocations: 0 / 11.91 GB, free: 58.94 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.004148/59.58, allocations: 356.5 kB / 11.91 GB, free: 58.83 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.1002/59.68, allocations: 17.3 MB / 11.92 GB, free: 51.05 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/59.68, allocations: 7.875 kB / 11.92 GB, free: 51.05 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/59.7, allocations: 2.076 MB / 11.93 GB, free: 50.22 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07738/59.78, allocations: 18.7 MB / 11.94 GB, free: 34.62 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/59.78, allocations: 0.5315 MB / 11.94 GB, free: 34.09 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003756/59.78, allocations: 0.7035 MB / 11.95 GB, free: 33.39 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02971/59.81, allocations: 8.538 MB / 11.95 GB, free: 24.51 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002544/59.81, allocations: 26.69 kB / 11.95 GB, free: 24.49 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001844/59.82, allocations: 252 kB / 11.95 GB, free: 24.24 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/59.82, allocations: 152 kB / 11.95 GB, free: 24.09 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/59.84, allocations: 6.96 MB / 11.96 GB, free: 17.12 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 preOpt removeSimpleEquations (simulation): time 1.262/61.1, allocations: 50.54 MB / 12.01 GB, free: 69.82 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0163/61.12, allocations: 4.914 MB / 12.02 GB, free: 69.69 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01081/61.13, allocations: 3.75 MB / 12.02 GB, free: 69.64 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 evalFunc (simulation): time 0.05429/61.18, allocations: 13.56 MB / 12.03 GB, free: 66.82 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01165/61.2, allocations: 3.385 MB / 12.04 GB, free: 66.71 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01895/61.21, allocations: 2.385 MB / 12.04 GB, free: 66.71 MB / 1.214 GB Notification: Performance of pre-optimization done (n=326): time 2.955e-05/61.21, allocations: 2.25 kB / 12.04 GB, free: 66.71 MB / 1.214 GB Notification: Performance of matching and sorting (n=514): time 0.3391/61.55, allocations: 53.13 MB / 12.09 GB, free: 60.36 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/61.55, allocations: 109.3 kB / 12.09 GB, free: 60.29 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03965/61.59, allocations: 13.53 MB / 12.1 GB, free: 59.55 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002342/61.6, allocations: 178.2 kB / 12.1 GB, free: 59.52 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01069/61.61, allocations: 6.218 MB / 12.11 GB, free: 58.45 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.003361/61.61, allocations: 1.736 MB / 12.11 GB, free: 57.57 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001766/61.61, allocations: 141.3 kB / 12.11 GB, free: 57.57 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0006686/61.61, allocations: 0.5945 MB / 12.11 GB, free: 57.25 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01901/61.63, allocations: 4.694 MB / 12.12 GB, free: 57.23 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02182/61.65, allocations: 7.662 MB / 12.12 GB, free: 53.87 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03927/61.69, allocations: 11.4 MB / 12.13 GB, free: 51.55 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-05/61.69, allocations: 19.22 kB / 12.13 GB, free: 51.55 MB / 1.214 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.07351/61.77, allocations: 16.41 MB / 12.15 GB, free: 50.5 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001412/61.77, allocations: 1.931 MB / 12.15 GB, free: 48.18 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/61.77, allocations: 61 kB / 12.15 GB, free: 48.18 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02762/61.8, allocations: 4.783 MB / 12.16 GB, free: 48.09 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02061/61.82, allocations: 1.959 MB / 12.16 GB, free: 48.09 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02296/61.84, allocations: 12.97 MB / 12.17 GB, free: 41.33 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02456/61.86, allocations: 1.206 MB / 12.17 GB, free: 41.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002857/61.87, allocations: 491.7 kB / 12.17 GB, free: 41.3 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/61.87, allocations: 7.125 kB / 12.17 GB, free: 41.3 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06256/61.93, allocations: 15 MB / 12.19 GB, free: 40.93 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002464/61.93, allocations: 64.38 kB / 12.19 GB, free: 40.93 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02376/61.95, allocations: 4.553 MB / 12.19 GB, free: 40.81 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01771/61.97, allocations: 1.942 MB / 12.19 GB, free: 40.79 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04373/62.02, allocations: 17.33 MB / 12.21 GB, free: 35.14 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02347/62.04, allocations: 1.185 MB / 12.21 GB, free: 35.05 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002663/62.04, allocations: 451.8 kB / 12.21 GB, free: 35.05 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (742): * Single equations (assignments): 725 * 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: 6 * 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: 6 {1 4,1 2,1 2,1 2,7 78,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01191/62.05, allocations: 3.12 MB / 12.22 GB, free: 34.86 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004488/62.06, allocations: 1.199 MB / 12.22 GB, free: 34.19 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06273/62.12, allocations: 14.56 MB / 12.23 GB, free: 33.4 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001428/62.12, allocations: 65.81 kB / 12.23 GB, free: 33.4 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/62.12, allocations: 1.562 kB / 12.23 GB, free: 33.4 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05031/62.17, allocations: 11.9 MB / 12.24 GB, free: 32.66 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 postOpt removeSimpleEquations (simulation): time 0.09813/62.27, allocations: 26.62 MB / 12.27 GB, free: 30.45 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001037/62.27, allocations: 7.938 kB / 12.27 GB, free: 30.45 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01168/62.28, allocations: 1.157 MB / 12.27 GB, free: 30.43 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01919/62.3, allocations: 3.466 MB / 12.27 GB, free: 30.21 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001687/62.3, allocations: 172.2 kB / 12.27 GB, free: 30.21 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/62.32, allocations: 11.64 MB / 12.29 GB, free: 39.52 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/62.32, allocations: 13.33 kB / 12.29 GB, free: 39.52 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07064/62.39, allocations: 19.51 MB / 12.3 GB, free: 37.5 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01217/62.4, allocations: 2.549 MB / 12.31 GB, free: 36.72 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005333/62.41, allocations: 110.2 kB / 12.31 GB, free: 36.72 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01967/62.43, allocations: 0.9834 MB / 12.31 GB, free: 36.64 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001871/62.43, allocations: 397.7 kB / 12.31 GB, free: 36.62 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001004/62.43, allocations: 252.5 kB / 12.31 GB, free: 36.62 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02524/62.46, allocations: 9.173 MB / 12.32 GB, free: 36.27 MB / 1.229 GB Notification: Performance of sort global known variables: time 7.82e-07/62.46, allocations: 0 / 12.32 GB, free: 36.27 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05263/62.51, allocations: 5.977 MB / 12.32 GB, free: 36.27 MB / 1.229 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 (440): * Single equations (assignments): 415 * 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: 7 * 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: 7 {9 78,1 4,1 2,1 2,1 2,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01099/62.52, allocations: 4.923 MB / 12.33 GB, free: 34.04 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.07186/62.59, allocations: 18.73 MB / 12.35 GB, free: 33.29 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/62.59, allocations: 11.45 kB / 12.35 GB, free: 33.28 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.02167/62.61, allocations: 5.429 MB / 12.35 GB, free: 33.16 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07915/62.69, allocations: 5.964 MB / 12.36 GB, free: 32.81 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07575/62.77, allocations: 27.71 MB / 12.38 GB, free: 15.02 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01718/62.78, allocations: 6.821 MB / 12.39 GB, free: 10.68 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.03262/62.82, allocations: 3.869 MB / 12.4 GB, free: 7.895 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006948/62.82, allocations: 0.9456 MB / 12.4 GB, free: 7.121 MB / 1.229 GB Notification: Performance of SimCode: time 1.302e-06/62.82, allocations: 0 / 12.4 GB, free: 7.121 MB / 1.229 GB Notification: Performance of Templates: time 3.05/65.87, allocations: 278 MB / 12.67 GB, free: 105.9 MB / 1.261 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)