Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified6.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.385/4.385, allocations: 0.5623 GB / 0.5769 GB, free: 66.92 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002551/0.00255, allocations: 360.3 kB / 0.644 GB, free: 21.52 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.836/3.836, allocations: 410.7 MB / 1.112 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 186.5 kB / 1.225 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 11.66 kB / 1.348 GB, free: 321.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.202, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.927/1.129, allocations: 329.5 MB / 1.783 GB, free: 51.53 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1122/1.241, allocations: 72.15 MB / 1.853 GB, free: 5.027 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01538/1.257, allocations: 376.8 kB / 1.853 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01581/1.273, allocations: 4.448 MB / 1.858 GB, free: 1.129 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0511/1.324, allocations: 13.54 MB / 1.871 GB, free: 6.328 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.04353/1.367, allocations: 11.59 MB / 1.882 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0494/1.417, allocations: 32.64 MB / 1.914 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02408/1.441, allocations: 12.61 MB / 1.926 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0245/1.465, allocations: 9.717 MB / 1.936 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01904/1.484, allocations: 9.037 MB / 1.945 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.002962/1.487, allocations: 0.4961 MB / 1.945 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/1.5, allocations: 2.857 MB / 1.948 GB, free: 9.039 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.005393/1.506, allocations: 2.894 MB / 1.951 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.006126/1.512, allocations: 2.631 MB / 1.953 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02459/1.537, allocations: 14.41 MB / 1.967 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.037e-06/1.537, allocations: 4 kB / 1.967 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.296e-06/1.537, allocations: 0 / 1.967 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003678/1.537, allocations: 4 kB / 1.968 GB, free: 5.039 MB / 0.9167 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.03713/1.574, allocations: 13.8 MB / 1.981 GB, free: 7.105 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.574, allocations: 8.75 kB / 1.981 GB, free: 7.098 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/1.585, allocations: 2.223 MB / 1.983 GB, free: 4.855 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03276/1.618, allocations: 11.07 MB / 1.994 GB, free: 9.715 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002098/1.62, allocations: 0.7873 MB / 1.995 GB, free: 8.926 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001887/1.622, allocations: 0.6913 MB / 1.995 GB, free: 8.234 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02259/1.645, allocations: 8.942 MB / 2.004 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/1.645, allocations: 19.81 kB / 2.004 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001435/1.646, allocations: 264 kB / 2.004 GB, free: 14.69 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002999/1.647, allocations: 156 kB / 2.005 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02272/1.669, allocations: 7.42 MB / 2.012 GB, free: 7.105 MB / 0.9636 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.204/2.873, allocations: 50.43 MB / 2.061 GB, free: 359.7 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/2.888, allocations: 5.535 MB / 2.066 GB, free: 359.1 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01022/2.898, allocations: 3.997 MB / 2.07 GB, free: 357.9 MB / 0.9949 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.03956/2.937, allocations: 13.46 MB / 2.084 GB, free: 351.6 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0088/2.946, allocations: 3.732 MB / 2.087 GB, free: 350.4 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01032/2.957, allocations: 1.856 MB / 2.089 GB, free: 350.2 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=320): time 1.696e-05/2.957, allocations: 1.125 kB / 2.089 GB, free: 350.2 MB / 0.9949 GB Notification: Performance of matching and sorting (n=506): time 0.2266/3.183, allocations: 53.63 MB / 2.141 GB, free: 315.3 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/3.183, allocations: 107.4 kB / 2.141 GB, free: 315.2 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02107/3.205, allocations: 12.51 MB / 2.154 GB, free: 302.8 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.001731/3.206, allocations: 157.7 kB / 2.154 GB, free: 302.6 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006188/3.213, allocations: 6.167 MB / 2.16 GB, free: 296.7 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002174/3.215, allocations: 1.702 MB / 2.162 GB, free: 295 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008094/3.216, allocations: 147.9 kB / 2.162 GB, free: 294.9 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0003633/3.216, allocations: 0.6002 MB / 2.162 GB, free: 294.3 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01357/3.23, allocations: 5.151 MB / 2.167 GB, free: 289.1 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01533/3.245, allocations: 7.812 MB / 2.175 GB, free: 280.2 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01539/3.26, allocations: 5.875 MB / 2.181 GB, free: 274.3 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.325e-05/3.26, allocations: 16 kB / 2.181 GB, free: 274.2 MB / 0.9949 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.0505/3.311, allocations: 17.21 MB / 2.197 GB, free: 257 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008614/3.312, allocations: 1.936 MB / 2.199 GB, free: 254.2 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.873e-05/3.312, allocations: 60 kB / 2.199 GB, free: 254.1 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02052/3.332, allocations: 4.662 MB / 2.204 GB, free: 249.4 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01376/3.346, allocations: 2.036 MB / 2.206 GB, free: 247.4 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/3.361, allocations: 10.89 MB / 2.217 GB, free: 236.3 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01537/3.376, allocations: 1.216 MB / 2.218 GB, free: 235.1 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/3.378, allocations: 467.7 kB / 2.218 GB, free: 234.6 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/3.378, allocations: 4 kB / 2.218 GB, free: 234.6 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04355/3.422, allocations: 16.11 MB / 2.234 GB, free: 218.5 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/3.422, allocations: 63.94 kB / 2.234 GB, free: 218.4 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01636/3.438, allocations: 4.383 MB / 2.238 GB, free: 214 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01249/3.451, allocations: 2.02 MB / 2.24 GB, free: 212 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02757/3.478, allocations: 15.05 MB / 2.255 GB, free: 196.6 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01543/3.494, allocations: 1.201 MB / 2.256 GB, free: 195.4 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00181/3.496, allocations: 449.4 kB / 2.257 GB, free: 195 MB / 0.9949 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,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$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 (748): * Single equations (assignments): 735 * 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: 2 * 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: 2 {5 80,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.00759/3.503, allocations: 3.099 MB / 2.26 GB, free: 191.9 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002736/3.506, allocations: 1.192 MB / 2.261 GB, free: 190.6 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05495/3.561, allocations: 14.97 MB / 2.275 GB, free: 175.6 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.662e-05/3.561, allocations: 60 kB / 2.275 GB, free: 175.6 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/3.561, allocations: 4 kB / 2.275 GB, free: 175.6 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03569/3.597, allocations: 12.29 MB / 2.287 GB, free: 163.1 MB / 0.9949 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.06869/3.665, allocations: 26.34 MB / 2.313 GB, free: 136.6 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.999e-05/3.666, allocations: 8 kB / 2.313 GB, free: 136.6 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009042/3.675, allocations: 1.245 MB / 2.314 GB, free: 135.3 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01368/3.688, allocations: 3.26 MB / 2.318 GB, free: 132.1 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001167/3.69, allocations: 167.9 kB / 2.318 GB, free: 131.9 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/3.701, allocations: 9.585 MB / 2.327 GB, free: 122.1 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/3.701, allocations: 12.03 kB / 2.327 GB, free: 122.1 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05285/3.754, allocations: 20.22 MB / 2.347 GB, free: 101.6 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007312/3.761, allocations: 2.3 MB / 2.349 GB, free: 99.26 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002931/3.764, allocations: 108 kB / 2.349 GB, free: 99.15 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01309/3.777, allocations: 1.029 MB / 2.35 GB, free: 98.12 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001404/3.779, allocations: 395.9 kB / 2.351 GB, free: 97.73 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000826/3.78, allocations: 243.8 kB / 2.351 GB, free: 97.49 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.01747/3.797, allocations: 8.45 MB / 2.359 GB, free: 89.09 MB / 0.9949 GB Notification: Performance of sort global known variables: time 3.043e-06/3.797, allocations: 0 / 2.359 GB, free: 89.09 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.03274/3.83, allocations: 5.417 MB / 2.364 GB, free: 83.75 MB / 0.9949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,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 (441): * Single equations (assignments): 420 * 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: 3 * 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: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.003378/3.833, allocations: 1.259 MB / 2.366 GB, free: 82.66 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.0543/3.888, allocations: 19.95 MB / 2.385 GB, free: 62.64 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/3.888, allocations: 0 / 2.385 GB, free: 62.64 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.01584/3.903, allocations: 5.691 MB / 2.391 GB, free: 56.94 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0346/3.938, allocations: 6.057 MB / 2.397 GB, free: 51.01 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05297/3.991, allocations: 28.09 MB / 2.424 GB, free: 22.8 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01185/4.003, allocations: 7.064 MB / 2.431 GB, free: 15.69 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.02453/4.028, allocations: 3.845 MB / 2.435 GB, free: 11.84 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0046/4.032, allocations: 0.9052 MB / 2.435 GB, free: 10.93 MB / 0.9949 GB Notification: Performance of SimCode: time 2.076e-06/4.032, allocations: 0 / 2.435 GB, free: 10.93 MB / 0.9949 GB Notification: Performance of Templates: time 1.09/5.122, allocations: 249.3 MB / 2.679 GB, free: 159.9 MB / 0.9949 GB