Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001283/0.001283, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009546/0.0009546, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.638/1.638, allocations: 252 MB / 0.5102 GB, free: 4.824 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005392/0.0005393, allocations: 12 kB / 0.6243 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5677/0.5682, allocations: 106.3 MB / 0.7281 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2143/0.7826, allocations: 181.1 MB / 0.905 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.643/1.426, allocations: 8.399 MB / 0.9132 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002908/1.429, allocations: 38.66 kB / 0.9132 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002095/1.431, allocations: 460.6 kB / 0.9137 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00575/1.437, allocations: 1.355 MB / 0.915 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009774/1.446, allocations: 2.39 MB / 0.9173 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007669/1.454, allocations: 3.096 MB / 0.9204 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003117/1.457, allocations: 1.139 MB / 0.9215 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/1.461, allocations: 1.052 MB / 0.9225 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003503/1.465, allocations: 1.03 MB / 0.9235 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005549/1.465, allocations: 77.53 kB / 0.9236 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/1.469, allocations: 0.9811 MB / 0.9245 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000708/1.47, allocations: 439 kB / 0.925 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/1.471, allocations: 285.1 kB / 0.9252 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00337/1.475, allocations: 1.985 MB / 0.9272 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/1.475, allocations: 7.75 kB / 0.9272 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.685e-06/1.475, allocations: 2.844 kB / 0.9272 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.989e-05/1.475, allocations: 0 / 0.9272 GB, free: 21.04 MB / 0.7325 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.004984/1.48, allocations: 1.886 MB / 0.929 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.48, allocations: 9.625 kB / 0.929 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/1.481, allocations: 238.5 kB / 0.9293 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/1.483, allocations: 1.287 MB / 0.9305 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/1.483, allocations: 64.05 kB / 0.9306 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/1.483, allocations: 81.27 kB / 0.9306 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/1.485, allocations: 0.9268 MB / 0.9316 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/1.485, allocations: 0 / 0.9316 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.888e-05/1.485, allocations: 24.38 kB / 0.9316 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/1.485, allocations: 14.44 kB / 0.9316 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/1.487, allocations: 0.8496 MB / 0.9324 GB, free: 19.55 MB / 0.7325 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.006246/1.493, allocations: 3.513 MB / 0.9358 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/1.495, allocations: 0.7747 MB / 0.9366 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007269/1.495, allocations: 465 kB / 0.937 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/1.496, allocations: 286.6 kB / 0.9373 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/1.496, allocations: 45.52 kB / 0.9374 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001171/1.497, allocations: 240.6 kB / 0.9376 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=52): time 5.541e-06/1.497, allocations: 6.906 kB / 0.9376 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=52): time 0.002671/1.5, allocations: 1.343 MB / 0.9389 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/1.5, allocations: 216.2 kB / 0.9391 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/1.503, allocations: 1.661 MB / 0.9407 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.183e-05/1.503, allocations: 45.92 kB / 0.9408 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/1.503, allocations: 0.5522 MB / 0.9413 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/1.503, allocations: 182.7 kB / 0.9415 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/1.503, allocations: 10.84 kB / 0.9415 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.504, allocations: 328.9 kB / 0.9418 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006474/1.504, allocations: 384.8 kB / 0.9422 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009421/1.505, allocations: 0.6969 MB / 0.9429 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/1.506, allocations: 470 kB / 0.9433 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.506, allocations: 0 / 0.9433 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001881/1.508, allocations: 1.051 MB / 0.9443 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.395e-05/1.508, allocations: 97.03 kB / 0.9444 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/1.508, allocations: 8.281 kB / 0.9444 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.508, allocations: 0 / 0.9444 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/1.509, allocations: 163.3 kB / 0.9446 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.509, allocations: 3.062 kB / 0.9446 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.511, allocations: 160.7 kB / 0.9448 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/1.511, allocations: 31.7 kB / 0.9448 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.295e-06/1.511, allocations: 3.562 kB / 0.9448 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001564/1.512, allocations: 0.8966 MB / 0.9457 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.512, allocations: 3.312 kB / 0.9457 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/1.512, allocations: 6.5 kB / 0.9457 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/1.513, allocations: 161 kB / 0.9458 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/1.513, allocations: 2.906 kB / 0.9458 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.515, allocations: 165.2 kB / 0.946 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/1.515, allocations: 30.31 kB / 0.946 GB, free: 16.29 MB / 0.7325 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.0008464/1.516, allocations: 385.7 kB / 0.9464 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/1.516, allocations: 133.7 kB / 0.9465 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/1.518, allocations: 1.061 MB / 0.9475 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.518, allocations: 10.11 kB / 0.9476 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.518, allocations: 0 / 0.9476 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.518, allocations: 3.094 kB / 0.9476 GB, free: 15.93 MB / 0.7325 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.003913/1.522, allocations: 2.487 MB / 0.95 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.522, allocations: 3.156 kB / 0.95 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006583/1.523, allocations: 136.7 kB / 0.9501 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.012e-05/1.523, allocations: 5.844 kB / 0.9501 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/1.523, allocations: 22.44 kB / 0.9502 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/1.523, allocations: 2.938 kB / 0.9502 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.523, allocations: 5.812 kB / 0.9502 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/1.525, allocations: 1.568 MB / 0.9517 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006563/1.526, allocations: 347.5 kB / 0.952 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/1.526, allocations: 21.84 kB / 0.952 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.527, allocations: 99.31 kB / 0.9521 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.527, allocations: 54.7 kB / 0.9522 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/1.527, allocations: 26.61 kB / 0.9522 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001866/1.529, allocations: 1.192 MB / 0.9534 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/1.529, allocations: 0 / 0.9534 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001931/1.531, allocations: 0.5414 MB / 0.9539 GB, free: 14.79 MB / 0.7325 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.0008228/1.532, allocations: 277.8 kB / 0.9542 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002919/1.535, allocations: 1.446 MB / 0.9556 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.535, allocations: 0 / 0.9556 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007673/1.536, allocations: 438.6 kB / 0.956 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/1.539, allocations: 0.5892 MB / 0.9566 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/1.544, allocations: 2.522 MB / 0.959 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008802/1.545, allocations: 1.17 MB / 0.9602 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001991/1.547, allocations: 379.6 kB / 0.9605 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/1.547, allocations: 128.9 kB / 0.9607 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of SimCode: time 1.163e-06/1.547, allocations: 2.906 kB / 0.9607 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of Templates: time 0.05349/1.601, allocations: 27.03 MB / 0.9871 GB, free: 14.98 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) Environment - environmentSimulation: