Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.869/2.869, allocations: 287.3 MB / 302.3 MB, free: 8.363 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.001563/0.001563, allocations: 182.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.295/2.295, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001214/0.001214, allocations: 91.89 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004825, allocations: 14.97 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2569, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 1.003/1.26, allocations: 164.8 MB / 1.139 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0292/1.289, allocations: 8.412 MB / 1.147 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003227/1.293, allocations: 38.34 kB / 1.147 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005031/1.298, allocations: 0.7908 MB / 1.148 GB, free: 11.19 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009024/1.307, allocations: 1.749 MB / 1.15 GB, free: 9.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01347/1.32, allocations: 2.763 MB / 1.153 GB, free: 7.938 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005367/1.326, allocations: 1.7 MB / 1.154 GB, free: 6.805 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0031/1.329, allocations: 1.164 MB / 1.155 GB, free: 6.047 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/1.333, allocations: 1.104 MB / 1.156 GB, free: 5.383 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002606/1.336, allocations: 0.8485 MB / 1.157 GB, free: 4.848 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007345/1.336, allocations: 77.12 kB / 1.157 GB, free: 4.848 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/1.34, allocations: 0.8314 MB / 1.158 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00129/1.342, allocations: 421.6 kB / 1.159 GB, free: 4.188 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008041/1.343, allocations: 284 kB / 1.159 GB, free: 4.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004727/1.347, allocations: 1.938 MB / 1.161 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.347, allocations: 0 / 1.161 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.096e-06/1.347, allocations: 0.875 kB / 1.161 GB, free: 2.641 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.621e-05/1.347, allocations: 0 / 1.161 GB, free: 2.641 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.009497/1.357, allocations: 1.884 MB / 1.163 GB, free: 1.289 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.357, allocations: 8.531 kB / 1.163 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/1.359, allocations: 232.4 kB / 1.163 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005044/1.364, allocations: 1.282 MB / 1.164 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/1.365, allocations: 69.27 kB / 1.164 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/1.365, allocations: 79.94 kB / 1.164 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/1.368, allocations: 0.9196 MB / 1.165 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/1.368, allocations: 5.047 kB / 1.165 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/1.369, allocations: 26.34 kB / 1.165 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/1.369, allocations: 17.97 kB / 1.165 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003382/1.372, allocations: 0.8471 MB / 1.166 GB, free: 15.18 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.01162/1.384, allocations: 3.498 MB / 1.169 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/1.386, allocations: 0.795 MB / 1.17 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/1.387, allocations: 27.25 kB / 1.17 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.387, allocations: 37.34 kB / 1.17 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002407/1.389, allocations: 238.6 kB / 1.17 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 8.937e-06/1.389, allocations: 0 / 1.17 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.005797/1.395, allocations: 1.344 MB / 1.172 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/1.395, allocations: 214.3 kB / 1.172 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005044/1.4, allocations: 1.664 MB / 1.174 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003263/1.401, allocations: 46.11 kB / 1.174 GB, free: 10 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008658/1.401, allocations: 0.554 MB / 1.174 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003847/1.402, allocations: 188.7 kB / 1.174 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/1.402, allocations: 10.81 kB / 1.174 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.402, allocations: 327.3 kB / 1.175 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.404, allocations: 388 kB / 1.175 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/1.406, allocations: 0.6958 MB / 1.176 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/1.407, allocations: 465.9 kB / 1.176 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/1.407, allocations: 3.953 kB / 1.176 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0041/1.411, allocations: 1.051 MB / 1.177 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/1.412, allocations: 98.86 kB / 1.177 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/1.412, allocations: 5.719 kB / 1.177 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/1.412, allocations: 3.156 kB / 1.177 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/1.413, allocations: 162.8 kB / 1.177 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/1.413, allocations: 2.469 kB / 1.177 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00345/1.417, allocations: 160.5 kB / 1.178 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/1.417, allocations: 30.06 kB / 1.178 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.417, allocations: 5.312 kB / 1.178 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003153/1.42, allocations: 0.894 MB / 1.178 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/1.42, allocations: 10.66 kB / 1.178 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/1.42, allocations: 0 / 1.178 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.422, allocations: 168.6 kB / 1.179 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.422, allocations: 2.156 kB / 1.179 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/1.426, allocations: 161.8 kB / 1.179 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/1.426, allocations: 36.52 kB / 1.179 GB, free: 6.703 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.001003/1.427, allocations: 380 kB / 1.179 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006399/1.427, allocations: 134.5 kB / 1.179 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/1.431, allocations: 1.057 MB / 1.18 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/1.431, allocations: 7.625 kB / 1.18 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.431, allocations: 0 / 1.18 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/1.431, allocations: 7.984 kB / 1.18 GB, free: 5.727 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.007155/1.439, allocations: 2.488 MB / 1.183 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/1.439, allocations: 2.906 kB / 1.183 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/1.44, allocations: 136.4 kB / 1.183 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/1.44, allocations: 5.438 kB / 1.183 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.511e-05/1.44, allocations: 19.69 kB / 1.183 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.369e-05/1.44, allocations: 9.297 kB / 1.183 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.44, allocations: 10.33 kB / 1.183 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005173/1.445, allocations: 1.689 MB / 1.185 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/1.447, allocations: 350 kB / 1.185 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000637/1.448, allocations: 15.31 kB / 1.185 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/1.45, allocations: 101.4 kB / 1.185 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/1.451, allocations: 55.66 kB / 1.185 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.655e-05/1.451, allocations: 22.89 kB / 1.185 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003647/1.455, allocations: 1.19 MB / 1.186 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.11e-07/1.455, allocations: 6.969 kB / 1.186 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003171/1.458, allocations: 0.5472 MB / 1.187 GB, free: 1.68 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.00098/1.459, allocations: 274.3 kB / 1.187 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005027/1.464, allocations: 1.444 MB / 1.189 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.464, allocations: 2.969 kB / 1.189 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/1.465, allocations: 436.5 kB / 1.189 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005874/1.471, allocations: 0.5891 MB / 1.19 GB, free: 276 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/1.478, allocations: 2.522 MB / 1.192 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/1.479, allocations: 1.192 MB / 1.193 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003153/1.482, allocations: 381.6 kB / 1.194 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/1.484, allocations: 127.4 kB / 1.194 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of SimCode: time 9.52e-07/1.484, allocations: 0 / 1.194 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.0774/1.561, allocations: 27.04 MB / 1.22 GB, free: 1.262 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)