Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 196.2 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.3 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4018, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.994/1.396, allocations: 198.3 MB / 1.262 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009655/1.406, allocations: 5.164 MB / 1.267 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/1.407, allocations: 35.12 kB / 1.267 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002023/1.409, allocations: 0.6049 MB / 1.268 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00608/1.416, allocations: 1.869 MB / 1.269 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00533/1.421, allocations: 1.637 MB / 1.271 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004657/1.426, allocations: 2.875 MB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/1.428, allocations: 1.438 MB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/1.431, allocations: 1.23 MB / 1.276 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/1.433, allocations: 1.147 MB / 1.277 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007191/1.434, allocations: 189.7 kB / 1.278 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004367/1.439, allocations: 1.382 MB / 1.279 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/1.44, allocations: 0.5385 MB / 1.28 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001871/1.441, allocations: 0.8438 MB / 1.28 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00549/1.447, allocations: 2.485 MB / 1.283 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.447, allocations: 0 / 1.283 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.023e-06/1.447, allocations: 1.562 kB / 1.283 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.962e-05/1.447, allocations: 0 / 1.283 GB, free: 5.195 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.008135/1.455, allocations: 2.13 MB / 1.285 GB, free: 20.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.455, allocations: 10.62 kB / 1.285 GB, free: 20.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/1.457, allocations: 226.3 kB / 1.285 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/1.459, allocations: 1.309 MB / 1.286 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/1.459, allocations: 70.66 kB / 1.286 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/1.46, allocations: 78.47 kB / 1.287 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/1.461, allocations: 0.8063 MB / 1.287 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.461, allocations: 0.875 kB / 1.287 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/1.461, allocations: 27.78 kB / 1.287 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/1.461, allocations: 23.53 kB / 1.287 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/1.463, allocations: 0.8383 MB / 1.288 GB, free: 19.7 MB / 1.014 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.00623/1.469, allocations: 3.475 MB / 1.292 GB, free: 18.72 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/1.471, allocations: 0.735 MB / 1.292 GB, free: 18.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007799/1.472, allocations: 440.9 kB / 1.293 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004984/1.472, allocations: 292.4 kB / 1.293 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/1.472, allocations: 37.31 kB / 1.293 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001232/1.473, allocations: 196 kB / 1.293 GB, free: 18.24 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 4.128e-06/1.473, allocations: 0 / 1.293 GB, free: 18.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=53): time 0.003197/1.477, allocations: 1.308 MB / 1.294 GB, free: 18.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/1.477, allocations: 58.88 kB / 1.295 GB, free: 18.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/1.48, allocations: 1.631 MB / 1.296 GB, free: 17.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/1.48, allocations: 48.48 kB / 1.296 GB, free: 17.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/1.48, allocations: 0.5323 MB / 1.297 GB, free: 17.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/1.48, allocations: 183.5 kB / 1.297 GB, free: 17.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/1.481, allocations: 151.5 kB / 1.297 GB, free: 17.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.481, allocations: 328.9 kB / 1.297 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007142/1.482, allocations: 357.4 kB / 1.298 GB, free: 17.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009353/1.483, allocations: 0.6179 MB / 1.298 GB, free: 17.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/1.484, allocations: 0.7704 MB / 1.299 GB, free: 17 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.484, allocations: 1 kB / 1.299 GB, free: 17 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002282/1.486, allocations: 0.9624 MB / 1.3 GB, free: 16.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.486, allocations: 5.25 kB / 1.3 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.486, allocations: 2.531 kB / 1.3 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.486, allocations: 6.531 kB / 1.3 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008805/1.487, allocations: 162.3 kB / 1.3 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.487, allocations: 2.438 kB / 1.3 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.489, allocations: 125 kB / 1.3 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.85e-05/1.49, allocations: 30.64 kB / 1.3 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001232/1.491, allocations: 0.5737 MB / 1.301 GB, free: 16.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009812/1.492, allocations: 0.622 MB / 1.301 GB, free: 16.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001491/1.493, allocations: 0.76 MB / 1.302 GB, free: 16.49 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/1.493, allocations: 0.5 kB / 1.302 GB, free: 16.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.002316/1.496, allocations: 0.9712 MB / 1.303 GB, free: 16.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.496, allocations: 8.344 kB / 1.303 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.496, allocations: 1.062 kB / 1.303 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/1.496, allocations: 3.094 kB / 1.303 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008498/1.496, allocations: 159.2 kB / 1.303 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/1.497, allocations: 9.281 kB / 1.303 GB, free: 16.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/1.499, allocations: 169.3 kB / 1.303 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.499, allocations: 30.45 kB / 1.304 GB, free: 16.36 MB / 1.014 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 (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003337/1.499, allocations: 217.3 kB / 1.304 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/1.5, allocations: 127.7 kB / 1.304 GB, free: 16.11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/1.503, allocations: 1.031 MB / 1.305 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.503, allocations: 6.875 kB / 1.305 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.503, allocations: 1.031 kB / 1.305 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.503, allocations: 6.938 kB / 1.305 GB, free: 16.04 MB / 1.014 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.005148/1.508, allocations: 2.467 MB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.508, allocations: 2.469 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008158/1.509, allocations: 130 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/1.509, allocations: 6.594 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.958e-05/1.509, allocations: 22.22 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/1.509, allocations: 4.812 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.509, allocations: 7.156 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/1.512, allocations: 1.522 MB / 1.309 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008733/1.513, allocations: 346.1 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004137/1.513, allocations: 17.58 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.515, allocations: 77.86 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.515, allocations: 50.22 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/1.515, allocations: 22.58 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002297/1.517, allocations: 1.188 MB / 1.311 GB, free: 14.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.91e-07/1.517, allocations: 0.9062 kB / 1.311 GB, free: 14.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002242/1.52, allocations: 0.4994 MB / 1.311 GB, free: 14.95 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.s[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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006734/1.52, allocations: 244.4 kB / 1.311 GB, free: 14.83 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003058/1.523, allocations: 1.309 MB / 1.313 GB, free: 14.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.523, allocations: 1.375 kB / 1.313 GB, free: 14.81 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007896/1.524, allocations: 426.1 kB / 1.313 GB, free: 14.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/1.527, allocations: 0.5138 MB / 1.313 GB, free: 14.74 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/1.531, allocations: 2.173 MB / 1.316 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.532, allocations: 1.154 MB / 1.317 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001868/1.534, allocations: 369.4 kB / 1.317 GB, free: 13.06 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006052/1.535, allocations: 121.2 kB / 1.317 GB, free: 13.05 MB / 1.014 GB Notification: Performance of SimCode: time 1.633e-06/1.535, allocations: 0 / 1.317 GB, free: 13.05 MB / 1.014 GB Notification: Performance of Templates: time 0.04702/1.582, allocations: 27.14 MB / 1.344 GB, free: 4.23 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)