Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.312/2.312, allocations: 252.6 MB / 265.2 MB, free: 5.789 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 177.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 0.5753 GB, free: 10.49 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 90.64 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.442e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2011, allocations: 106.2 MB / 0.8949 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.901/2.102, allocations: 456.3 MB / 1.34 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/2.102, allocations: 93.03 kB / 1.341 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 47.32/49.42, allocations: 8.46 GB / 9.801 GB, free: 77.35 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.585e-06/49.42, allocations: 0 / 9.801 GB, free: 77.35 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004721/49.43, allocations: 0.5065 MB / 9.801 GB, free: 77.2 MB / 1.151 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.07249/49.5, allocations: 14.15 MB / 9.815 GB, free: 70.97 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/49.5, allocations: 10.06 kB / 9.815 GB, free: 70.97 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01986/49.52, allocations: 2.301 MB / 9.817 GB, free: 69.94 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1075/49.63, allocations: 23.23 MB / 9.84 GB, free: 66.99 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001339/49.63, allocations: 0.7125 MB / 9.841 GB, free: 66.97 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006613/49.64, allocations: 1.024 MB / 9.842 GB, free: 66.95 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05441/49.69, allocations: 16.55 MB / 9.858 GB, free: 64.96 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005987/49.69, allocations: 7.562 kB / 9.858 GB, free: 64.96 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004866/49.7, allocations: 359.6 kB / 9.858 GB, free: 64.96 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002618/49.7, allocations: 216.1 kB / 9.858 GB, free: 64.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04955/49.75, allocations: 19.4 MB / 9.877 GB, free: 64.84 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.2083/49.96, allocations: 79.18 MB / 9.955 GB, free: 11.16 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02756/49.98, allocations: 11.62 MB / 9.966 GB, free: 0.6953 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.161/51.14, allocations: 9.172 MB / 9.975 GB, free: 92.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.1238/51.27, allocations: 33.13 MB / 10.01 GB, free: 84.27 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02454/51.29, allocations: 9.074 MB / 10.02 GB, free: 84.09 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08168/51.37, allocations: 15.15 MB / 10.03 GB, free: 84.09 MB / 1.151 GB Notification: Performance of pre-optimization done (n=582): time 5.4e-05/51.37, allocations: 0 / 10.03 GB, free: 84.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=812): time 1.475/52.85, allocations: 168.9 MB / 10.2 GB, free: 74.89 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007861/52.85, allocations: 2.527 MB / 10.2 GB, free: 71.88 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04771/52.9, allocations: 14.74 MB / 10.21 GB, free: 71 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.005417/52.9, allocations: 264.4 kB / 10.21 GB, free: 70.96 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01496/52.92, allocations: 7.915 MB / 10.22 GB, free: 69.59 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.007017/52.92, allocations: 2.812 MB / 10.22 GB, free: 68.15 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005347/52.93, allocations: 208.3 kB / 10.22 GB, free: 68.15 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001413/52.93, allocations: 0.7521 MB / 10.22 GB, free: 67.82 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02717/52.96, allocations: 9.494 MB / 10.23 GB, free: 67.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03146/52.99, allocations: 13.18 MB / 10.25 GB, free: 63.79 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03046/53.02, allocations: 10.87 MB / 10.26 GB, free: 63.45 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/53.02, allocations: 15.44 kB / 10.26 GB, free: 63.45 MB / 1.151 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.273/54.29, allocations: 128.2 MB / 10.38 GB, free: 9.637 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.187/55.48, allocations: 36.69 MB / 10.42 GB, free: 95.16 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009414/55.48, allocations: 117.1 kB / 10.42 GB, free: 95.16 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484/56.97, allocations: 146.9 MB / 10.56 GB, free: 95.07 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02686/56.99, allocations: 2.576 MB / 10.56 GB, free: 95.07 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2906/57.28, allocations: 73.2 MB / 10.64 GB, free: 87.84 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03591/57.32, allocations: 1.437 MB / 10.64 GB, free: 87.78 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005994/57.33, allocations: 0.9255 MB / 10.64 GB, free: 87.77 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/57.33, allocations: 3.344 kB / 10.64 GB, free: 87.77 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.292/58.62, allocations: 126.9 MB / 10.76 GB, free: 39.23 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007064/58.62, allocations: 119.9 kB / 10.76 GB, free: 39.11 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56/61.18, allocations: 147.3 MB / 10.91 GB, free: 145.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02308/61.2, allocations: 2.548 MB / 10.91 GB, free: 145.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3106/61.51, allocations: 77 MB / 10.98 GB, free: 140.6 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03795/61.55, allocations: 1.41 MB / 10.99 GB, free: 140.6 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006102/61.56, allocations: 0.8765 MB / 10.99 GB, free: 140.6 MB / 1.229 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 () * 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.009756/61.57, allocations: 0.7143 MB / 10.99 GB, free: 140.5 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009281/61.58, allocations: 1.553 MB / 10.99 GB, free: 140.5 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3646/61.94, allocations: 49.15 MB / 11.04 GB, free: 139.8 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002229/61.94, allocations: 95.17 kB / 11.04 GB, free: 139.8 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001135/61.94, allocations: 31.81 kB / 11.04 GB, free: 139.8 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3703/62.31, allocations: 43.16 MB / 11.08 GB, free: 139.1 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4233/62.73, allocations: 67.52 MB / 11.14 GB, free: 134.8 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001317/62.73, allocations: 2.375 kB / 11.14 GB, free: 134.8 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01761/62.75, allocations: 1.721 MB / 11.15 GB, free: 134.8 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.349/63.1, allocations: 42.26 MB / 11.19 GB, free: 109.6 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0031/63.1, allocations: 342.3 kB / 11.19 GB, free: 109.4 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1053/63.21, allocations: 30.54 MB / 11.22 GB, free: 90.6 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-06/63.21, allocations: 6.891 kB / 11.22 GB, free: 90.6 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3588/63.57, allocations: 56.55 MB / 11.27 GB, free: 56.12 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01648/63.58, allocations: 3.627 MB / 11.28 GB, free: 53.35 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008171/63.59, allocations: 274.3 kB / 11.28 GB, free: 53.23 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02766/63.62, allocations: 1.215 MB / 11.28 GB, free: 52.24 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004459/63.62, allocations: 0.59 MB / 11.28 GB, free: 51.72 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002904/63.63, allocations: 348.2 kB / 11.28 GB, free: 51.44 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03097/63.66, allocations: 11.26 MB / 11.29 GB, free: 42.59 MB / 1.229 GB Notification: Performance of sort global known variables: time 7.61e-07/63.66, allocations: 0 / 11.29 GB, free: 42.59 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.06815/63.73, allocations: 8.784 MB / 11.3 GB, free: 34.04 MB / 1.229 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (717): * Single equations (assignments): 693 * 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.01481/63.74, allocations: 5.623 MB / 11.3 GB, free: 29.09 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 1.27/65.01, allocations: 41.47 MB / 11.34 GB, free: 152.6 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.7e-05/65.01, allocations: 12.44 kB / 11.34 GB, free: 152.6 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.03572/65.05, allocations: 10.61 MB / 11.35 GB, free: 152.3 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06689/65.11, allocations: 7.762 MB / 11.36 GB, free: 152.2 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09001/65.2, allocations: 29.35 MB / 11.39 GB, free: 146.6 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02189/65.23, allocations: 9.441 MB / 11.4 GB, free: 145.5 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.06155/65.29, allocations: 8.948 MB / 11.41 GB, free: 145.3 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006704/65.29, allocations: 0.9697 MB / 11.41 GB, free: 145.3 MB / 1.229 GB Notification: Performance of SimCode: time 1.844e-06/65.29, allocations: 0 / 11.41 GB, free: 145.3 MB / 1.229 GB Notification: Performance of Templates: time 3.527/68.82, allocations: 0.4963 GB / 11.91 GB, free: 139.3 MB / 1.245 GB