Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.62/1.62, allocations: 288.4 MB / 304.3 MB, free: 7.984 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.001304/0.001304, allocations: 186.4 kB / 373 MB, free: 10.16 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.687/1.687, allocations: 205.4 MB / 0.6317 GB, free: 9.934 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.0007433/0.0007433, allocations: 90.25 kB / 0.745 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 20 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.229, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.683/1.912, allocations: 464.4 MB / 1.434 GB, free: 336.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.912, allocations: 101.7 kB / 1.434 GB, free: 336.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 34.23/36.14, allocations: 8.674 GB / 10.11 GB, free: 85.46 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.384e-06/36.14, allocations: 0 / 10.11 GB, free: 85.46 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004231/36.15, allocations: 0.5153 MB / 10.11 GB, free: 85.35 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.09116/36.24, allocations: 21.24 MB / 10.13 GB, free: 77.55 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/36.24, allocations: 9.375 kB / 10.13 GB, free: 77.55 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01797/36.26, allocations: 2.313 MB / 10.13 GB, free: 76.52 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08775/36.34, allocations: 23.76 MB / 10.15 GB, free: 73.12 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001639/36.35, allocations: 0.7165 MB / 10.16 GB, free: 73.1 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007398/36.35, allocations: 1.02 MB / 10.16 GB, free: 73.08 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05706/36.41, allocations: 16.94 MB / 10.17 GB, free: 71.16 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008543/36.41, allocations: 22.81 kB / 10.17 GB, free: 71.16 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007045/36.42, allocations: 357.3 kB / 10.17 GB, free: 71.16 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004695/36.42, allocations: 210.5 kB / 10.17 GB, free: 71.16 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05109/36.47, allocations: 19.86 MB / 10.19 GB, free: 71.08 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.2021/36.67, allocations: 79.19 MB / 10.27 GB, free: 36.9 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03055/36.7, allocations: 11.95 MB / 10.28 GB, free: 36.44 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02594/36.73, allocations: 9.154 MB / 10.29 GB, free: 36.36 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.1085/36.84, allocations: 33.1 MB / 10.32 GB, free: 20.26 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02232/36.86, allocations: 9.324 MB / 10.33 GB, free: 16.94 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05363/36.91, allocations: 15.12 MB / 10.35 GB, free: 15.41 MB / 1.214 GB Notification: Performance of pre-optimization done (n=582): time 9.64e-05/36.91, allocations: 0 / 10.35 GB, free: 15.41 MB / 1.214 GB Notification: Performance of matching and sorting (n=812): time 2.269/39.18, allocations: 210.3 MB / 10.55 GB, free: 104.2 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009818/39.18, allocations: 2.531 MB / 10.56 GB, free: 101.2 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05226/39.24, allocations: 16.51 MB / 10.57 GB, free: 100.3 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005547/39.24, allocations: 266 kB / 10.57 GB, free: 100.2 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.0148/39.26, allocations: 7.857 MB / 10.58 GB, free: 98.87 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.008355/39.26, allocations: 2.82 MB / 10.58 GB, free: 97.43 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006259/39.27, allocations: 207.3 kB / 10.58 GB, free: 97.43 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.00179/39.27, allocations: 0.7483 MB / 10.58 GB, free: 97.11 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02652/39.3, allocations: 10.48 MB / 10.59 GB, free: 97.05 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02837/39.33, allocations: 14.22 MB / 10.61 GB, free: 93.02 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05275/39.38, allocations: 23.22 MB / 10.63 GB, free: 90.73 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001889/39.38, allocations: 12.53 kB / 10.63 GB, free: 90.73 MB / 1.229 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.6219/40, allocations: 131.2 MB / 10.76 GB, free: 66.64 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001412/40, allocations: 1.726 MB / 10.76 GB, free: 64.38 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005078/40, allocations: 111.9 kB / 10.76 GB, free: 64.27 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748/41.75, allocations: 148.4 MB / 10.9 GB, free: 127.6 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01596/41.77, allocations: 2.798 MB / 10.91 GB, free: 127.6 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1066/41.87, allocations: 55 MB / 10.96 GB, free: 120.5 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02495/41.9, allocations: 1.557 MB / 10.96 GB, free: 120.5 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005437/41.91, allocations: 0.923 MB / 10.96 GB, free: 120.5 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/41.91, allocations: 6.812 kB / 10.96 GB, free: 120.5 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6198/42.52, allocations: 129.4 MB / 11.09 GB, free: 118.9 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005545/42.53, allocations: 118.9 kB / 11.09 GB, free: 118.9 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.619/43.14, allocations: 148.3 MB / 11.23 GB, free: 45.63 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01365/43.16, allocations: 2.757 MB / 11.24 GB, free: 43.06 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1196/43.28, allocations: 58.87 MB / 11.29 GB, free: 15.26 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02493/43.3, allocations: 1.531 MB / 11.3 GB, free: 13.98 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005494/43.31, allocations: 0.8774 MB / 11.3 GB, free: 13.19 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 982 * 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.02033/43.33, allocations: 4.278 MB / 11.3 GB, free: 10.56 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01002/43.34, allocations: 1.552 MB / 11.3 GB, free: 9.836 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.245/44.58, allocations: 51.87 MB / 11.35 GB, free: 157.1 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002162/44.58, allocations: 91.66 kB / 11.35 GB, free: 157.1 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002275/44.58, allocations: 33.16 kB / 11.35 GB, free: 157.1 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1864/44.77, allocations: 45.81 MB / 11.4 GB, free: 156.4 MB / 1.292 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.2406/45.01, allocations: 70.5 MB / 11.47 GB, free: 152.3 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001134/45.01, allocations: 2.25 kB / 11.47 GB, free: 152.3 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01003/45.02, allocations: 1.815 MB / 11.47 GB, free: 152.3 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1893/45.21, allocations: 43.47 MB / 11.51 GB, free: 152.2 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002911/45.21, allocations: 344.2 kB / 11.51 GB, free: 152.2 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04408/45.26, allocations: 26.05 MB / 11.54 GB, free: 145.1 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/45.26, allocations: 7.625 kB / 11.54 GB, free: 145.1 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2115/45.47, allocations: 59.98 MB / 11.6 GB, free: 144.2 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01434/45.48, allocations: 3.654 MB / 11.6 GB, free: 144.1 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008459/45.49, allocations: 278.6 kB / 11.6 GB, free: 144.1 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02063/45.51, allocations: 1.333 MB / 11.6 GB, free: 144 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003638/45.52, allocations: 0.5852 MB / 11.6 GB, free: 144 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002119/45.52, allocations: 362.5 kB / 11.6 GB, free: 144 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02669/45.55, allocations: 11.2 MB / 11.61 GB, free: 143.5 MB / 1.292 GB Notification: Performance of sort global known variables: time 7.62e-07/45.55, allocations: 0 / 11.61 GB, free: 143.5 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.05443/45.6, allocations: 8.334 MB / 11.62 GB, free: 140.9 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 (713): * Single equations (assignments): 689 * 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: 4 * 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: 3 {14 103,14 90,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01103/45.61, allocations: 5.507 MB / 11.63 GB, free: 136.7 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.09901/45.71, allocations: 44.04 MB / 11.67 GB, free: 113.1 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.089e-05/45.71, allocations: 10.31 kB / 11.67 GB, free: 113.1 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02567/45.74, allocations: 11.7 MB / 11.68 GB, free: 107.2 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05784/45.79, allocations: 7.809 MB / 11.69 GB, free: 103.2 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.078/45.87, allocations: 40.66 MB / 11.73 GB, free: 71.74 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01771/45.89, allocations: 9.083 MB / 11.74 GB, free: 66.02 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.02918/45.92, allocations: 5.521 MB / 11.74 GB, free: 62.16 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007607/45.93, allocations: 1.306 MB / 11.74 GB, free: 61.09 MB / 1.292 GB Notification: Performance of SimCode: time 1.693e-06/45.93, allocations: 0 / 11.74 GB, free: 61.09 MB / 1.292 GB Notification: Performance of Templates: time 2.535/48.46, allocations: 441.3 MB / 12.17 GB, free: 50.3 MB / 1.292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)