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.001041/0.001041, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009297/0.0009298, allocations: 177.3 kB / 15.94 MB, free: 228 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.797/1.797, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.715/1.715, allocations: 251.9 MB / 0.51 GB, free: 4.816 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.0006342/0.0006345, allocations: 16 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6912/0.6918, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1858/0.8777, allocations: 158.1 MB / 0.8824 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.8908, allocations: 7.267 MB / 0.8895 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.8924, allocations: 31.69 kB / 0.8895 GB, free: 5.613 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.8944, allocations: 0.6223 MB / 0.8901 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004535/0.8989, allocations: 1.471 MB / 0.8915 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006686/0.9056, allocations: 2.345 MB / 0.8938 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002866/0.9085, allocations: 1.323 MB / 0.8951 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.9099, allocations: 0.864 MB / 0.896 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.9116, allocations: 0.8527 MB / 0.8968 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009086/0.9125, allocations: 0.6382 MB / 0.8974 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.9126, allocations: 56 kB / 0.8975 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.9151, allocations: 0.7605 MB / 0.8982 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.9156, allocations: 315 kB / 0.8985 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.9158, allocations: 229.1 kB / 0.8987 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.9176, allocations: 1.504 MB / 0.9002 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9176, allocations: 0 / 0.9002 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9176, allocations: 0 / 0.9002 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.9176, allocations: 0 / 0.9002 GB, free: 10.65 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.003635/0.9212, allocations: 1.524 MB / 0.9017 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.9213, allocations: 12.03 kB / 0.9017 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008748/0.9222, allocations: 190.4 kB / 0.9019 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.9242, allocations: 1.011 MB / 0.9029 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.9243, allocations: 52.98 kB / 0.9029 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.9244, allocations: 59.94 kB / 0.903 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.9257, allocations: 0.691 MB / 0.9037 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.9257, allocations: 0 / 0.9037 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.9258, allocations: 20 kB / 0.9037 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.9258, allocations: 12 kB / 0.9037 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.927, allocations: 0.6363 MB / 0.9043 GB, free: 6.316 MB / 0.7169 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.00408/0.9311, allocations: 2.69 MB / 0.9069 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.9323, allocations: 0.5804 MB / 0.9075 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.613e-05/0.9324, allocations: 20.22 kB / 0.9075 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/0.9324, allocations: 42.5 kB / 0.9076 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006696/0.9331, allocations: 167.4 kB / 0.9077 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.9331, allocations: 0 / 0.9077 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43): time 0.002397/0.9355, allocations: 1.064 MB / 0.9088 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/0.9356, allocations: 132.5 kB / 0.9089 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.9377, allocations: 1.272 MB / 0.9101 GB, free: 148 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/0.9377, allocations: 41.7 kB / 0.9102 GB, free: 100 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.5386/1.476, allocations: 442 kB / 0.9106 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/1.477, allocations: 147 kB / 0.9107 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/1.477, allocations: 7.125 kB / 0.9107 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.665e-05/1.477, allocations: 324 kB / 0.911 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007727/1.478, allocations: 289.6 kB / 0.9113 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009032/1.479, allocations: 0.5167 MB / 0.9118 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/1.479, allocations: 341 kB / 0.9122 GB, free: 181 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.479, allocations: 0 / 0.9122 GB, free: 181 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002208/1.482, allocations: 0.7946 MB / 0.9129 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.388e-05/1.482, allocations: 94.66 kB / 0.913 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/1.482, allocations: 4.656 kB / 0.913 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/1.482, allocations: 1.781 kB / 0.913 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/1.482, allocations: 129.6 kB / 0.9131 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.482, allocations: 2.672 kB / 0.9132 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.484, allocations: 131 kB / 0.9133 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.557e-05/1.484, allocations: 21.12 kB / 0.9133 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.484, allocations: 3.906 kB / 0.9133 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001582/1.486, allocations: 0.6695 MB / 0.914 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.486, allocations: 2.391 kB / 0.914 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/1.486, allocations: 2.391 kB / 0.914 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/1.486, allocations: 124.3 kB / 0.9141 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/1.486, allocations: 2.406 kB / 0.9141 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/1.488, allocations: 133.6 kB / 0.9142 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/1.488, allocations: 24.72 kB / 0.9142 GB, free: 180.4 MB / 0.7169 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.0006282/1.489, allocations: 331.1 kB / 0.9145 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/1.489, allocations: 105.1 kB / 0.9146 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/1.491, allocations: 0.8366 MB / 0.9155 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.491, allocations: 7.688 kB / 0.9155 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.491, allocations: 0 / 0.9155 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/1.491, allocations: 3.453 kB / 0.9155 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004432/1.496, allocations: 1.977 MB / 0.9174 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.496, allocations: 2.125 kB / 0.9174 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006469/1.497, allocations: 112 kB / 0.9175 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/1.497, allocations: 5 kB / 0.9175 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/1.497, allocations: 19.89 kB / 0.9175 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/1.497, allocations: 9.141 kB / 0.9175 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.497, allocations: 4.281 kB / 0.9176 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/1.499, allocations: 1.385 MB / 0.9189 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005998/1.5, allocations: 297.9 kB / 0.9192 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/1.5, allocations: 11.12 kB / 0.9192 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.501, allocations: 79.16 kB / 0.9193 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.501, allocations: 41.75 kB / 0.9193 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/1.501, allocations: 21.53 kB / 0.9193 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002085/1.504, allocations: 0.9143 MB / 0.9202 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.6e-07/1.504, allocations: 0 / 0.9202 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002208/1.506, allocations: 450.4 kB / 0.9207 GB, free: 177.4 MB / 0.7169 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.0006588/1.506, allocations: 267.4 kB / 0.9209 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002318/1.509, allocations: 1.066 MB / 0.922 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.509, allocations: 1.375 kB / 0.922 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000717/1.51, allocations: 349.9 kB / 0.9223 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.512, allocations: 480.6 kB / 0.9227 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/1.515, allocations: 1.971 MB / 0.9247 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/1.516, allocations: 1.077 MB / 0.9257 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001218/1.517, allocations: 296.8 kB / 0.926 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/1.517, allocations: 97.78 kB / 0.9261 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of SimCode: time 9.31e-07/1.517, allocations: 0 / 0.9261 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.03036/1.548, allocations: 21.09 MB / 0.9467 GB, free: 155.2 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: