Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001294/0.001295, allocations: 193.5 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 222 MB, free: 4.965 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.559/1.559, allocations: 251.6 MB / 0.5088 GB, free: 3.383 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.001543/0.001543, allocations: 67.91 kB / 0.6216 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6052/0.6068, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1953/0.8022, allocations: 187.9 MB / 0.9073 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6071/1.409, allocations: 7.948 MB / 0.9151 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/1.412, allocations: 33.09 kB / 0.9151 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/1.414, allocations: 465.6 kB / 0.9156 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005696/1.419, allocations: 1.451 MB / 0.917 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01025/1.429, allocations: 2.267 MB / 0.9192 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005272/1.435, allocations: 2.805 MB / 0.922 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/1.437, allocations: 0.9417 MB / 0.9229 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/1.439, allocations: 0.8336 MB / 0.9237 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/1.44, allocations: 0.8355 MB / 0.9245 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/1.44, allocations: 65.03 kB / 0.9246 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/1.444, allocations: 1.497 MB / 0.926 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004326/1.444, allocations: 358.1 kB / 0.9264 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007923/1.445, allocations: 0.575 MB / 0.9269 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00308/1.448, allocations: 2.126 MB / 0.929 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.448, allocations: 0 / 0.929 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.71e-07/1.448, allocations: 0 / 0.929 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.227e-05/1.448, allocations: 0 / 0.929 GB, free: 1.43 MB / 0.7169 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.004261/1.452, allocations: 1.76 MB / 0.9307 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.453, allocations: 10.31 kB / 0.9307 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009468/1.454, allocations: 183 kB / 0.9309 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/1.455, allocations: 1.05 MB / 0.9319 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/1.455, allocations: 62.02 kB / 0.932 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/1.455, allocations: 63.56 kB / 0.9321 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/1.457, allocations: 0.6811 MB / 0.9327 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.457, allocations: 0 / 0.9327 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.08e-05/1.457, allocations: 29.62 kB / 0.9327 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/1.457, allocations: 15.19 kB / 0.9328 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/1.458, allocations: 0.6128 MB / 0.9334 GB, free: 16.06 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.003849/1.462, allocations: 2.669 MB / 0.936 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.463, allocations: 0.5612 MB / 0.9365 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/1.464, allocations: 347.1 kB / 0.9368 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003935/1.464, allocations: 288.9 kB / 0.9371 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/1.464, allocations: 39.69 kB / 0.9372 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007492/1.465, allocations: 168.9 kB / 0.9373 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 3.406e-06/1.465, allocations: 0 / 0.9373 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002241/1.467, allocations: 1.026 MB / 0.9383 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.075e-05/1.467, allocations: 138.9 kB / 0.9385 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/1.469, allocations: 1.281 MB / 0.9397 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.258e-05/1.469, allocations: 41.86 kB / 0.9397 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/1.469, allocations: 447.2 kB / 0.9402 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/1.469, allocations: 155.2 kB / 0.9403 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/1.47, allocations: 121 kB / 0.9404 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.47, allocations: 329 kB / 0.9407 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/1.47, allocations: 291.1 kB / 0.941 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007605/1.471, allocations: 0.5128 MB / 0.9415 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/1.472, allocations: 0.6165 MB / 0.9421 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.472, allocations: 5.781 kB / 0.9421 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001457/1.474, allocations: 0.7837 MB / 0.9429 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.474, allocations: 5.5 kB / 0.9429 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.474, allocations: 0 / 0.9429 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.474, allocations: 2.656 kB / 0.9429 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006287/1.474, allocations: 118.4 kB / 0.943 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.474, allocations: 0 / 0.943 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/1.476, allocations: 108.9 kB / 0.9431 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/1.476, allocations: 22.7 kB / 0.9431 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008611/1.477, allocations: 490.5 kB / 0.9436 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007775/1.477, allocations: 0.5182 MB / 0.9441 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001113/1.479, allocations: 0.6115 MB / 0.9447 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.027e-06/1.479, allocations: 3.984 kB / 0.9447 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001529/1.48, allocations: 0.7738 MB / 0.9455 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.48, allocations: 8.875 kB / 0.9455 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.48, allocations: 6.688 kB / 0.9455 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/1.48, allocations: 2.125 kB / 0.9455 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/1.481, allocations: 114.1 kB / 0.9456 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/1.481, allocations: 3.281 kB / 0.9456 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.482, allocations: 140.4 kB / 0.9457 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/1.482, allocations: 23.58 kB / 0.9458 GB, free: 13.01 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002708/1.483, allocations: 211.8 kB / 0.946 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/1.483, allocations: 102.3 kB / 0.9461 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/1.485, allocations: 0.8053 MB / 0.9468 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.485, allocations: 5.5 kB / 0.9469 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.485, allocations: 4 kB / 0.9469 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.485, allocations: 3.047 kB / 0.9469 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/1.488, allocations: 1.952 MB / 0.9488 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.488, allocations: 288 / 0.9488 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/1.489, allocations: 113 kB / 0.9489 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/1.489, allocations: 5.188 kB / 0.9489 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.378e-05/1.489, allocations: 18.33 kB / 0.9489 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/1.489, allocations: 2.562 kB / 0.9489 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.489, allocations: 2.469 kB / 0.9489 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/1.492, allocations: 1.248 MB / 0.9501 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005805/1.492, allocations: 282.5 kB / 0.9504 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/1.492, allocations: 19.06 kB / 0.9504 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.494, allocations: 80.7 kB / 0.9505 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/1.494, allocations: 35.28 kB / 0.9505 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-05/1.494, allocations: 26.55 kB / 0.9505 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001808/1.496, allocations: 0.925 MB / 0.9514 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.535e-06/1.496, allocations: 0 / 0.9514 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002166/1.498, allocations: 453.9 kB / 0.9519 GB, free: 11.7 MB / 0.7325 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 (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.0008154/1.499, allocations: 272 kB / 0.9521 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002744/1.501, allocations: 1.022 MB / 0.9531 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.502, allocations: 2.969 kB / 0.9531 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007146/1.502, allocations: 344.1 kB / 0.9535 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/1.505, allocations: 476.9 kB / 0.9539 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/1.508, allocations: 2.019 MB / 0.9559 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008588/1.509, allocations: 1.054 MB / 0.9569 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001556/1.511, allocations: 296.4 kB / 0.9572 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/1.511, allocations: 102.2 kB / 0.9573 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of SimCode: time 1.031e-06/1.511, allocations: 0 / 0.9573 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of Templates: time 0.04335/1.555, allocations: 21.94 MB / 0.9787 GB, free: 1.148 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)