Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.591/2.591, allocations: 287.9 MB / 302.9 MB, free: 8.309 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.001407/0.001407, allocations: 169.2 kB / 371.4 MB, free: 10.68 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 1.986/1.986, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001092/0.001092, allocations: 99.25 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004824, allocations: 12.56 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1578, allocations: 115.2 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.7663/0.9241, allocations: 164.8 MB / 1.14 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.9417, allocations: 8.408 MB / 1.148 GB, free: 11.63 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.9441, allocations: 39.91 kB / 1.148 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.9473, allocations: 0.7815 MB / 1.149 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007304/0.9546, allocations: 1.757 MB / 1.15 GB, free: 9.531 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01047/0.9651, allocations: 2.758 MB / 1.153 GB, free: 7.715 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004452/0.9696, allocations: 1.702 MB / 1.155 GB, free: 6.582 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/0.9722, allocations: 1.156 MB / 1.156 GB, free: 5.832 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/0.9756, allocations: 1.111 MB / 1.157 GB, free: 5.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.9777, allocations: 0.8478 MB / 1.158 GB, free: 4.625 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004932/0.9782, allocations: 78.62 kB / 1.158 GB, free: 4.625 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/0.9815, allocations: 0.8273 MB / 1.159 GB, free: 4.262 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000955/0.9825, allocations: 421.6 kB / 1.159 GB, free: 3.969 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006658/0.9832, allocations: 287.4 kB / 1.159 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003797/0.987, allocations: 1.943 MB / 1.161 GB, free: 2.414 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.191e-06/0.987, allocations: 0 / 1.161 GB, free: 2.414 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.111e-06/0.987, allocations: 0 / 1.161 GB, free: 2.414 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.355e-05/0.9871, allocations: 0 / 1.161 GB, free: 2.414 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006982/0.9941, allocations: 1.874 MB / 1.163 GB, free: 1.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.9942, allocations: 14.28 kB / 1.163 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.9958, allocations: 231.6 kB / 1.163 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003972/0.9998, allocations: 1.279 MB / 1.165 GB, free: 28 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/1, allocations: 68.16 kB / 1.165 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/1, allocations: 80.47 kB / 1.165 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/1.003, allocations: 0.9238 MB / 1.166 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/1.003, allocations: 7.891 kB / 1.166 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.003, allocations: 27.12 kB / 1.166 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/1.003, allocations: 18.38 kB / 1.166 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002761/1.006, allocations: 0.8544 MB / 1.166 GB, free: 14.95 MB / 0.7136 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.009308/1.015, allocations: 3.486 MB / 1.17 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/1.017, allocations: 0.7936 MB / 1.171 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.853e-05/1.018, allocations: 24.88 kB / 1.171 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/1.018, allocations: 45.31 kB / 1.171 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001754/1.019, allocations: 242.5 kB / 1.171 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 6.63e-06/1.02, allocations: 0 / 1.171 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.004509/1.024, allocations: 1.345 MB / 1.172 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/1.024, allocations: 213.6 kB / 1.172 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005767/1.03, allocations: 1.665 MB / 1.174 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004066/1.03, allocations: 45.08 kB / 1.174 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/1.032, allocations: 0.5498 MB / 1.175 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/1.032, allocations: 182.8 kB / 1.175 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/1.032, allocations: 12.88 kB / 1.175 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002267/1.032, allocations: 327.2 kB / 1.175 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/1.034, allocations: 386.3 kB / 1.176 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/1.037, allocations: 0.6978 MB / 1.176 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/1.039, allocations: 461.9 kB / 1.177 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/1.039, allocations: 3.953 kB / 1.177 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00562/1.045, allocations: 1.062 MB / 1.178 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.045, allocations: 99.41 kB / 1.178 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.563e-05/1.045, allocations: 6.766 kB / 1.178 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.045, allocations: 2.625 kB / 1.178 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/1.047, allocations: 163 kB / 1.178 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/1.048, allocations: 0 / 1.178 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/1.052, allocations: 155.2 kB / 1.178 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/1.052, allocations: 40.77 kB / 1.178 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.052, allocations: 2.5 kB / 1.178 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004704/1.057, allocations: 0.8955 MB / 1.179 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.131e-05/1.057, allocations: 14.88 kB / 1.179 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/1.057, allocations: 2.781 kB / 1.179 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/1.059, allocations: 152.4 kB / 1.179 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/1.059, allocations: 0 / 1.179 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004169/1.064, allocations: 165.9 kB / 1.179 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/1.064, allocations: 34.5 kB / 1.179 GB, free: 6.477 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001457/1.065, allocations: 388.3 kB / 1.18 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008445/1.066, allocations: 135.6 kB / 1.18 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005547/1.072, allocations: 1.048 MB / 1.181 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/1.072, allocations: 11.41 kB / 1.181 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.072, allocations: 0 / 1.181 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/1.072, allocations: 3.984 kB / 1.181 GB, free: 5.504 MB / 0.7136 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.01096/1.083, allocations: 2.485 MB / 1.183 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/1.083, allocations: 7.031 kB / 1.183 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/1.085, allocations: 138.9 kB / 1.184 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.051e-05/1.085, allocations: 7.719 kB / 1.184 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/1.085, allocations: 15.44 kB / 1.184 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.48e-05/1.085, allocations: 14.73 kB / 1.184 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.501e-06/1.085, allocations: 6.859 kB / 1.184 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00729/1.092, allocations: 1.687 MB / 1.185 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/1.094, allocations: 357.5 kB / 1.186 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007814/1.095, allocations: 15.44 kB / 1.186 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003629/1.099, allocations: 97.23 kB / 1.186 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003882/1.099, allocations: 53.11 kB / 1.186 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/1.1, allocations: 29.64 kB / 1.186 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005354/1.105, allocations: 1.19 MB / 1.187 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.605e-06/1.105, allocations: 0 / 1.187 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003991/1.109, allocations: 0.544 MB / 1.187 GB, free: 1.457 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/1.11, allocations: 277.8 kB / 1.188 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007035/1.117, allocations: 1.441 MB / 1.189 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/1.117, allocations: 6.312 kB / 1.189 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/1.12, allocations: 439.2 kB / 1.19 GB, free: 348 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007194/1.127, allocations: 0.5865 MB / 1.19 GB, free: 44 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005897/1.133, allocations: 2.531 MB / 1.193 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/1.134, allocations: 1.192 MB / 1.194 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002535/1.136, allocations: 385.6 kB / 1.194 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008153/1.137, allocations: 127.4 kB / 1.194 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of SimCode: time 1.801e-06/1.137, allocations: 0 / 1.194 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of Templates: time 0.06576/1.203, allocations: 27.05 MB / 1.221 GB, free: 0.957 MB / 0.7448 GB