Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.702/2.702, allocations: 287.5 MB / 302.4 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00234/0.00234, allocations: 183 kB / 371 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 94.86 kB / 0.743 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004897, allocations: 15.75 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2135, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.115/2.328, allocations: 463.9 MB / 1.431 GB, free: 272.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004078/2.329, allocations: 104.3 kB / 1.431 GB, free: 272.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 49.26/51.59, allocations: 8.722 GB / 10.15 GB, free: 83.4 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.916e-06/51.59, allocations: 0 / 10.15 GB, free: 83.4 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004885/51.59, allocations: 0.5156 MB / 10.15 GB, free: 83.29 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.1165/51.71, allocations: 21.43 MB / 10.18 GB, free: 75.36 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/51.71, allocations: 9.25 kB / 10.18 GB, free: 75.36 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01922/51.73, allocations: 2.313 MB / 10.18 GB, free: 74.33 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1093/51.84, allocations: 23.52 MB / 10.2 GB, free: 71.45 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00144/51.84, allocations: 0.7214 MB / 10.2 GB, free: 71.42 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007067/51.84, allocations: 1.02 MB / 10.2 GB, free: 71.4 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06268/51.91, allocations: 16.87 MB / 10.22 GB, free: 69.41 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007722/51.91, allocations: 15.53 kB / 10.22 GB, free: 69.41 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005804/51.91, allocations: 358.6 kB / 10.22 GB, free: 69.41 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003188/51.91, allocations: 219.1 kB / 10.22 GB, free: 69.4 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05506/51.97, allocations: 19.85 MB / 10.24 GB, free: 69.28 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.2025/52.17, allocations: 79.39 MB / 10.32 GB, free: 30.04 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03033/52.2, allocations: 11.94 MB / 10.33 GB, free: 24.56 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.1016/52.3, allocations: 33 MB / 10.36 GB, free: 4.27 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03998/52.34, allocations: 10.16 MB / 10.37 GB, free: 15.47 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08301/52.43, allocations: 14.9 MB / 10.38 GB, free: 5.02 MB / 1.229 GB Notification: Performance of pre-optimization done (n=581): time 4.19e-05/52.43, allocations: 0 / 10.38 GB, free: 5.02 MB / 1.229 GB Notification: Performance of matching and sorting (n=811): time 2.99/55.42, allocations: 200.5 MB / 10.58 GB, free: 96.41 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007959/55.42, allocations: 2.529 MB / 10.58 GB, free: 93.4 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04854/55.47, allocations: 14.9 MB / 10.6 GB, free: 92.59 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.00599/55.47, allocations: 265.2 kB / 10.6 GB, free: 92.56 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01527/55.49, allocations: 7.912 MB / 10.61 GB, free: 91.18 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007307/55.49, allocations: 2.813 MB / 10.61 GB, free: 89.75 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005268/55.5, allocations: 212.5 kB / 10.61 GB, free: 89.75 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001334/55.5, allocations: 0.7481 MB / 10.61 GB, free: 89.43 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03481/55.54, allocations: 10.36 MB / 10.62 GB, free: 89.37 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0397/55.58, allocations: 14.05 MB / 10.63 GB, free: 85.33 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04044/55.62, allocations: 11.67 MB / 10.64 GB, free: 85.01 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/55.62, allocations: 14.41 kB / 10.64 GB, free: 85.01 MB / 1.229 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 1.264/56.88, allocations: 130 MB / 10.77 GB, free: 49.75 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007106/56.89, allocations: 36.69 MB / 10.81 GB, free: 12.15 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000635/56.89, allocations: 114.7 kB / 10.81 GB, free: 12.04 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614/59.5, allocations: 147.9 MB / 10.95 GB, free: 125.2 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02762/59.53, allocations: 2.693 MB / 10.95 GB, free: 125.2 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2995/59.83, allocations: 76.82 MB / 11.03 GB, free: 118.2 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03665/59.87, allocations: 1.551 MB / 11.03 GB, free: 118.2 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006013/59.87, allocations: 0.9168 MB / 11.03 GB, free: 118.2 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/59.87, allocations: 8.422 kB / 11.03 GB, free: 118.2 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.291/61.16, allocations: 128.6 MB / 11.16 GB, free: 115.7 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007975/61.16, allocations: 125.4 kB / 11.16 GB, free: 115.6 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407/62.57, allocations: 147.7 MB / 11.3 GB, free: 2.301 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02498/62.6, allocations: 2.663 MB / 11.3 GB, free: 15.81 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577/64.17, allocations: 81.05 MB / 11.38 GB, free: 153.2 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03485/64.21, allocations: 1.528 MB / 11.39 GB, free: 153.2 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006052/64.21, allocations: 0.874 MB / 11.39 GB, free: 153.2 MB / 1.292 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.02017/64.23, allocations: 4.272 MB / 11.39 GB, free: 153 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008937/64.24, allocations: 1.551 MB / 11.39 GB, free: 153 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3759/64.62, allocations: 50.85 MB / 11.44 GB, free: 152.3 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001929/64.62, allocations: 95.03 kB / 11.44 GB, free: 152.3 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001981/64.62, allocations: 26.84 kB / 11.44 GB, free: 152.3 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3673/64.99, allocations: 44.81 MB / 11.49 GB, free: 151.6 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4217/65.41, allocations: 69.14 MB / 11.55 GB, free: 147.4 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001629/65.41, allocations: 0 / 11.55 GB, free: 147.4 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0244/65.43, allocations: 1.844 MB / 11.55 GB, free: 147.4 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3534/65.79, allocations: 42.79 MB / 11.6 GB, free: 147.3 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00317/65.79, allocations: 346.7 kB / 11.6 GB, free: 147.3 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.112/65.9, allocations: 31.84 MB / 11.63 GB, free: 140.2 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/65.9, allocations: 9.938 kB / 11.63 GB, free: 140.2 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3775/66.28, allocations: 59.07 MB / 11.69 GB, free: 112.8 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01693/66.3, allocations: 3.654 MB / 11.69 GB, free: 110.6 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008691/66.31, allocations: 275.2 kB / 11.69 GB, free: 110.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02833/66.33, allocations: 1.346 MB / 11.69 GB, free: 109.8 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004825/66.34, allocations: 0.591 MB / 11.69 GB, free: 109.5 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003089/66.34, allocations: 358.4 kB / 11.69 GB, free: 109.3 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.0325/66.37, allocations: 11.42 MB / 11.7 GB, free: 103.4 MB / 1.292 GB Notification: Performance of sort global known variables: time 5.51e-07/66.37, allocations: 0 / 11.7 GB, free: 103.4 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.0713/66.45, allocations: 8.81 MB / 11.71 GB, free: 95.72 MB / 1.292 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 {39 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01456/66.46, allocations: 5.635 MB / 11.72 GB, free: 91.47 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1626/66.62, allocations: 44.81 MB / 11.76 GB, free: 56.01 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.241e-05/66.62, allocations: 10.31 kB / 11.76 GB, free: 56 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.04571/66.67, allocations: 12.03 MB / 11.77 GB, free: 45.81 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06699/66.74, allocations: 7.756 MB / 11.78 GB, free: 40.36 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.433/69.17, allocations: 41.07 MB / 11.82 GB, free: 134.9 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02762/69.2, allocations: 9.404 MB / 11.83 GB, free: 133.8 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.04395/69.24, allocations: 5.519 MB / 11.83 GB, free: 133.6 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01024/69.25, allocations: 1.315 MB / 11.84 GB, free: 133.6 MB / 1.292 GB Notification: Performance of SimCode: time 1.373e-06/69.25, allocations: 0 / 11.84 GB, free: 133.6 MB / 1.292 GB Notification: Performance of Templates: time 2.376/71.63, allocations: 471.5 MB / 12.3 GB, free: 189.7 MB / 1.339 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)