Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.775/1.775, allocations: 288.4 MB / 304.3 MB, free: 8.074 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.001062/0.001062, allocations: 186.7 kB / 372.9 MB, free: 10.14 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.65/1.65, allocations: 205.4 MB / 0.6317 GB, free: 9.871 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.0007754/0.0007755, allocations: 98.28 kB / 0.745 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004331, allocations: 10.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2304, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.599/1.829, allocations: 466.3 MB / 1.436 GB, free: 336.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/1.83, allocations: 103.1 kB / 1.436 GB, free: 336.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 39.79/41.62, allocations: 10.47 GB / 11.91 GB, free: 76.88 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.675e-06/41.62, allocations: 0 / 11.91 GB, free: 76.88 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.002727/41.62, allocations: 345.5 kB / 11.91 GB, free: 76.8 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.06408/41.69, allocations: 17.3 MB / 11.93 GB, free: 70.18 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/41.69, allocations: 6.906 kB / 11.93 GB, free: 70.18 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/41.7, allocations: 2.08 MB / 11.93 GB, free: 69.36 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05934/41.76, allocations: 18.69 MB / 11.95 GB, free: 62.98 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001105/41.76, allocations: 0.5272 MB / 11.95 GB, free: 62.74 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003826/41.76, allocations: 0.7089 MB / 11.95 GB, free: 62.37 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/41.79, allocations: 8.533 MB / 11.96 GB, free: 55.22 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002763/41.79, allocations: 19.75 kB / 11.96 GB, free: 55.2 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002065/41.79, allocations: 256 kB / 11.96 GB, free: 54.95 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/41.79, allocations: 155.7 kB / 11.96 GB, free: 54.8 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/41.81, allocations: 6.959 MB / 11.96 GB, free: 48.3 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 1.081/42.89, allocations: 50.54 MB / 12.01 GB, free: 84.13 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/42.9, allocations: 4.904 MB / 12.02 GB, free: 84.04 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007019/42.91, allocations: 3.752 MB / 12.02 GB, free: 84 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.03708/42.94, allocations: 13.56 MB / 12.03 GB, free: 81.27 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00589/42.95, allocations: 3.385 MB / 12.04 GB, free: 81.16 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01391/42.96, allocations: 2.382 MB / 12.04 GB, free: 81.16 MB / 1.214 GB Notification: Performance of pre-optimization done (n=326): time 3.054e-05/42.96, allocations: 0 / 12.04 GB, free: 81.16 MB / 1.214 GB Notification: Performance of matching and sorting (n=514): time 0.1885/43.15, allocations: 53.13 MB / 12.09 GB, free: 74.92 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.474e-05/43.15, allocations: 107.4 kB / 12.09 GB, free: 74.85 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03222/43.18, allocations: 13.53 MB / 12.1 GB, free: 74.11 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002112/43.19, allocations: 173 kB / 12.1 GB, free: 74.07 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009398/43.2, allocations: 6.225 MB / 12.11 GB, free: 73 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002848/43.2, allocations: 1.737 MB / 12.11 GB, free: 72.11 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009242/43.2, allocations: 143.1 kB / 12.11 GB, free: 72.11 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0004526/43.2, allocations: 0.6025 MB / 12.11 GB, free: 71.79 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01062/43.21, allocations: 4.695 MB / 12.12 GB, free: 71.78 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01388/43.23, allocations: 7.658 MB / 12.13 GB, free: 68.42 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02315/43.25, allocations: 11.4 MB / 12.14 GB, free: 66.09 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00015/43.25, allocations: 17.47 kB / 12.14 GB, free: 66.09 MB / 1.214 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.04747/43.3, allocations: 16.41 MB / 12.15 GB, free: 65.05 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001384/43.3, allocations: 1.938 MB / 12.15 GB, free: 62.73 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.535e-05/43.3, allocations: 62.58 kB / 12.15 GB, free: 62.73 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01572/43.31, allocations: 4.777 MB / 12.16 GB, free: 62.64 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/43.33, allocations: 1.964 MB / 12.16 GB, free: 62.64 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/43.34, allocations: 12.97 MB / 12.17 GB, free: 55.89 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01803/43.36, allocations: 1.211 MB / 12.17 GB, free: 55.85 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002628/43.36, allocations: 489.4 kB / 12.18 GB, free: 55.85 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/43.36, allocations: 5.719 kB / 12.18 GB, free: 55.85 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03539/43.4, allocations: 15 MB / 12.19 GB, free: 55.48 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002606/43.4, allocations: 62.16 kB / 12.19 GB, free: 55.48 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0138/43.41, allocations: 4.553 MB / 12.19 GB, free: 55.39 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01071/43.42, allocations: 1.951 MB / 12.2 GB, free: 55.39 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02517/43.45, allocations: 17.31 MB / 12.21 GB, free: 49.76 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01679/43.46, allocations: 1.176 MB / 12.21 GB, free: 49.68 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002543/43.46, allocations: 453.5 kB / 12.21 GB, free: 49.68 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.01061/43.48, allocations: 3.128 MB / 12.22 GB, free: 49.48 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003992/43.48, allocations: 1.202 MB / 12.22 GB, free: 48.81 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03671/43.52, allocations: 14.56 MB / 12.23 GB, free: 48.02 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001103/43.52, allocations: 64.97 kB / 12.23 GB, free: 48.02 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/43.52, allocations: 4.562 kB / 12.23 GB, free: 48.01 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02825/43.54, allocations: 11.9 MB / 12.24 GB, free: 47.27 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.06505/43.61, allocations: 26.6 MB / 12.27 GB, free: 45.07 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.815e-05/43.61, allocations: 5.75 kB / 12.27 GB, free: 45.07 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006611/43.62, allocations: 1.161 MB / 12.27 GB, free: 45.06 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/43.63, allocations: 3.458 MB / 12.28 GB, free: 44.86 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001561/43.63, allocations: 172.8 kB / 12.28 GB, free: 44.85 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/43.64, allocations: 11.65 MB / 12.29 GB, free: 38.15 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/43.64, allocations: 14.91 kB / 12.29 GB, free: 38.15 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04579/43.69, allocations: 19.5 MB / 12.31 GB, free: 36.14 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009448/43.7, allocations: 2.548 MB / 12.31 GB, free: 35.36 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004659/43.7, allocations: 111.2 kB / 12.31 GB, free: 35.36 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01312/43.71, allocations: 0.9751 MB / 12.31 GB, free: 35.28 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001623/43.71, allocations: 399.6 kB / 12.31 GB, free: 35.27 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007177/43.72, allocations: 253.2 kB / 12.31 GB, free: 35.27 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.01897/43.73, allocations: 9.169 MB / 12.32 GB, free: 34.91 MB / 1.214 GB Notification: Performance of sort global known variables: time 5.41e-07/43.73, allocations: 1.641 kB / 12.32 GB, free: 34.91 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.04821/43.78, allocations: 5.979 MB / 12.33 GB, free: 34.91 MB / 1.214 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.009013/43.79, allocations: 4.931 MB / 12.33 GB, free: 32.67 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.04743/43.84, allocations: 18.74 MB / 12.35 GB, free: 31.92 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/43.84, allocations: 3.062 kB / 12.35 GB, free: 31.92 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01308/43.85, allocations: 5.442 MB / 12.35 GB, free: 31.79 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05477/43.91, allocations: 5.966 MB / 12.36 GB, free: 31.42 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05838/43.97, allocations: 27.71 MB / 12.39 GB, free: 12.63 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01304/43.98, allocations: 6.818 MB / 12.39 GB, free: 8.289 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.02389/44, allocations: 3.872 MB / 12.4 GB, free: 5.504 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005769/44.01, allocations: 0.9496 MB / 12.4 GB, free: 4.723 MB / 1.214 GB Notification: Performance of SimCode: time 1.453e-06/44.01, allocations: 3.938 kB / 12.4 GB, free: 4.719 MB / 1.214 GB Notification: Performance of Templates: time 2.422/46.43, allocations: 281.5 MB / 12.67 GB, free: 116.3 MB / 1.261 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)