Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.703/2.703, allocations: 287.9 MB / 302.9 MB, free: 8.246 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.001398/0.001398, allocations: 176.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 2.007/2.007, allocations: 205.4 MB / 0.6301 GB, free: 10.43 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.001065/0.001064, allocations: 104.2 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.000467, allocations: 11.91 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1607, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7465/0.9072, allocations: 157.9 MB / 1.133 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01345/0.9207, allocations: 7.196 MB / 1.14 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.9225, allocations: 31.22 kB / 1.14 GB, free: 15.36 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.9249, allocations: 0.6269 MB / 1.141 GB, free: 15.25 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005647/0.9306, allocations: 1.436 MB / 1.142 GB, free: 15.1 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008497/0.9392, allocations: 2.319 MB / 1.144 GB, free: 14.46 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003188/0.9424, allocations: 1.321 MB / 1.146 GB, free: 13.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.9442, allocations: 0.8724 MB / 1.146 GB, free: 13.35 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.9467, allocations: 0.8522 MB / 1.147 GB, free: 12.83 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.9482, allocations: 0.6346 MB / 1.148 GB, free: 12.43 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.9485, allocations: 60.47 kB / 1.148 GB, free: 12.43 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.9513, allocations: 0.7609 MB / 1.149 GB, free: 12.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007228/0.9521, allocations: 318.4 kB / 1.149 GB, free: 11.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004908/0.9526, allocations: 225.2 kB / 1.149 GB, free: 11.74 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003084/0.9557, allocations: 1.508 MB / 1.151 GB, free: 10.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.819e-06/0.9557, allocations: 0 / 1.151 GB, free: 10.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.729e-06/0.9557, allocations: 0 / 1.151 GB, free: 10.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.322e-05/0.9558, allocations: 0 / 1.151 GB, free: 10.69 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.005243/0.961, allocations: 1.531 MB / 1.152 GB, free: 9.555 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.9611, allocations: 9.344 kB / 1.152 GB, free: 9.555 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.9625, allocations: 185.6 kB / 1.152 GB, free: 9.465 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/0.9654, allocations: 1.007 MB / 1.153 GB, free: 8.711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.9656, allocations: 54.98 kB / 1.153 GB, free: 8.688 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.9658, allocations: 61.97 kB / 1.153 GB, free: 8.668 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.9677, allocations: 0.6981 MB / 1.154 GB, free: 8.238 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.9678, allocations: 0 / 1.154 GB, free: 8.238 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.726e-05/0.9679, allocations: 21.31 kB / 1.154 GB, free: 8.223 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.9679, allocations: 11.34 kB / 1.154 GB, free: 8.223 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.9699, allocations: 0.6329 MB / 1.155 GB, free: 7.93 MB / 0.698 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.006777/0.9767, allocations: 2.685 MB / 1.157 GB, free: 5.824 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.9785, allocations: 0.587 MB / 1.158 GB, free: 5.523 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.866e-05/0.9786, allocations: 22.31 kB / 1.158 GB, free: 5.512 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.9787, allocations: 42.45 kB / 1.158 GB, free: 5.465 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001329/0.98, allocations: 160 kB / 1.158 GB, free: 5.391 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 4.137e-06/0.98, allocations: 0 / 1.158 GB, free: 5.391 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.003726/0.9838, allocations: 1.065 MB / 1.159 GB, free: 4.867 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.9839, allocations: 137.3 kB / 1.159 GB, free: 4.707 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.9871, allocations: 1.274 MB / 1.161 GB, free: 4.012 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/0.9873, allocations: 40.61 kB / 1.161 GB, free: 3.973 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005745/0.9879, allocations: 455.1 kB / 1.161 GB, free: 3.582 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.9882, allocations: 154.8 kB / 1.161 GB, free: 3.445 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.9882, allocations: 6.594 kB / 1.161 GB, free: 3.441 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.9884, allocations: 325.9 kB / 1.162 GB, free: 3.121 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008958/0.9893, allocations: 286.8 kB / 1.162 GB, free: 2.988 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.9906, allocations: 0.5148 MB / 1.162 GB, free: 2.582 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009939/0.9916, allocations: 345.2 kB / 1.163 GB, free: 2.414 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.435e-06/0.9916, allocations: 0 / 1.163 GB, free: 2.414 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002566/0.9942, allocations: 0.7931 MB / 1.163 GB, free: 2.016 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/0.9943, allocations: 104.7 kB / 1.164 GB, free: 1.914 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.9943, allocations: 1.188 kB / 1.164 GB, free: 1.914 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.9944, allocations: 2.188 kB / 1.164 GB, free: 1.914 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009666/0.9953, allocations: 117.2 kB / 1.164 GB, free: 1.883 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.9954, allocations: 1.625 kB / 1.164 GB, free: 1.883 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.9972, allocations: 141.8 kB / 1.164 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.9973, allocations: 19.23 kB / 1.164 GB, free: 1.812 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.9973, allocations: 2.406 kB / 1.164 GB, free: 1.812 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001947/0.9993, allocations: 0.6682 MB / 1.164 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.9993, allocations: 2.625 kB / 1.164 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.668e-06/0.9993, allocations: 2.344 kB / 1.164 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008418/1, allocations: 126.8 kB / 1.165 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/1, allocations: 2.812 kB / 1.165 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.002, allocations: 116 kB / 1.165 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.002, allocations: 25.09 kB / 1.165 GB, free: 1.391 MB / 0.698 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0007074/1.003, allocations: 333.9 kB / 1.165 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/1.003, allocations: 103.6 kB / 1.165 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/1.006, allocations: 0.8394 MB / 1.166 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.006, allocations: 9.391 kB / 1.166 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.164e-06/1.006, allocations: 7.938 kB / 1.166 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/1.006, allocations: 3.984 kB / 1.166 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/1.011, allocations: 1.97 MB / 1.168 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.596e-06/1.011, allocations: 2.375 kB / 1.168 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/1.011, allocations: 121.8 kB / 1.168 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/1.012, allocations: 4.875 kB / 1.168 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/1.012, allocations: 20.52 kB / 1.168 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.073e-06/1.012, allocations: 2.375 kB / 1.168 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.893e-06/1.012, allocations: 4.875 kB / 1.168 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003279/1.015, allocations: 1.387 MB / 1.169 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009059/1.016, allocations: 296.4 kB / 1.17 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/1.016, allocations: 13.06 kB / 1.17 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.017, allocations: 81.36 kB / 1.17 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/1.018, allocations: 46.08 kB / 1.17 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/1.018, allocations: 23.92 kB / 1.17 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002096/1.02, allocations: 0.9129 MB / 1.171 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.04e-06/1.02, allocations: 0 / 1.171 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002012/1.022, allocations: 454.8 kB / 1.171 GB, free: 13.31 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.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 (52): * Single equations (assignments): 52 * 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.0007713/1.023, allocations: 251.4 kB / 1.171 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002919/1.026, allocations: 1.064 MB / 1.172 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/1.026, allocations: 4 kB / 1.172 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009488/1.027, allocations: 346.4 kB / 1.173 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003078/1.03, allocations: 485.1 kB / 1.173 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/1.034, allocations: 1.978 MB / 1.175 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/1.035, allocations: 1.075 MB / 1.176 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001901/1.037, allocations: 297.4 kB / 1.176 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/1.037, allocations: 101.5 kB / 1.177 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of SimCode: time 1.904e-06/1.037, allocations: 0 / 1.177 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of Templates: time 0.05133/1.089, allocations: 21.12 MB / 1.197 GB, free: 9.094 MB / 0.7292 GB