Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.516/2.516, allocations: 285 MB / 292.5 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 180.8 kB / 360.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.2 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009991/0.0009991, allocations: 91.62 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.23e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7863, allocations: 115.3 MB / 0.9634 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.719/6.505, allocations: 2.083 GB / 3.046 GB, free: 36.29 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/6.505, allocations: 87.7 kB / 3.046 GB, free: 36.24 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.346/9.851, allocations: 0.5982 GB / 3.644 GB, free: 186 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/9.851, allocations: 0 / 3.644 GB, free: 186 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001264/9.852, allocations: 24 kB / 3.644 GB, free: 186 MB / 0.948 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.003672/9.855, allocations: 1.33 MB / 3.646 GB, free: 184.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/9.855, allocations: 15.97 kB / 3.646 GB, free: 184.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004002/9.859, allocations: 239.9 kB / 3.646 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/9.862, allocations: 1.051 MB / 3.647 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/9.862, allocations: 16 kB / 3.647 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/9.862, allocations: 36 kB / 3.647 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001336/9.864, allocations: 0.5376 MB / 3.648 GB, free: 182.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/9.865, allocations: 0.5923 MB / 3.648 GB, free: 182.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/9.865, allocations: 8 kB / 3.648 GB, free: 182.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/9.865, allocations: 0 / 3.648 GB, free: 182.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/9.865, allocations: 15.98 kB / 3.648 GB, free: 182.1 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.005904/9.871, allocations: 2.598 MB / 3.651 GB, free: 179.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/9.872, allocations: 0.5073 MB / 3.651 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000579/9.873, allocations: 302 kB / 3.651 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/9.873, allocations: 299.1 kB / 3.652 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/9.873, allocations: 42.5 kB / 3.652 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001701/9.875, allocations: 207.4 kB / 3.652 GB, free: 178 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.667e-06/9.875, allocations: 0 / 3.652 GB, free: 178 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.002003/9.877, allocations: 0.668 MB / 3.653 GB, free: 177.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/9.877, allocations: 140.5 kB / 3.653 GB, free: 177.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/9.879, allocations: 0.9618 MB / 3.654 GB, free: 176.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-05/9.879, allocations: 25.7 kB / 3.654 GB, free: 176.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/9.88, allocations: 451.7 kB / 3.654 GB, free: 175.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/9.88, allocations: 149.7 kB / 3.654 GB, free: 175.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/9.88, allocations: 3.938 kB / 3.654 GB, free: 175.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/9.88, allocations: 321.9 kB / 3.655 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/9.88, allocations: 240.8 kB / 3.655 GB, free: 175 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007069/9.881, allocations: 470.7 kB / 3.655 GB, free: 174.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007219/9.882, allocations: 298.1 kB / 3.656 GB, free: 174.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/9.882, allocations: 0 / 3.656 GB, free: 174.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001673/9.884, allocations: 0.6744 MB / 3.656 GB, free: 173.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/9.884, allocations: 104.1 kB / 3.656 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/9.884, allocations: 0 / 3.656 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/9.884, allocations: 0 / 3.656 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/9.885, allocations: 123.8 kB / 3.656 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/9.885, allocations: 7.984 kB / 3.656 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/9.887, allocations: 115.7 kB / 3.657 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/9.887, allocations: 27.97 kB / 3.657 GB, free: 173.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/9.887, allocations: 7.953 kB / 3.657 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001331/9.889, allocations: 0.5373 MB / 3.657 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/9.889, allocations: 0 / 3.657 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/9.889, allocations: 4 kB / 3.657 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/9.89, allocations: 119.8 kB / 3.657 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/9.89, allocations: 11.98 kB / 3.657 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/9.892, allocations: 103.8 kB / 3.657 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.052e-05/9.892, allocations: 31.95 kB / 3.657 GB, free: 172.2 MB / 0.948 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 () * 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.0001943/9.892, allocations: 121 kB / 3.658 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/9.892, allocations: 98.73 kB / 3.658 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/9.894, allocations: 0.701 MB / 3.658 GB, free: 171.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/9.894, allocations: 8 kB / 3.658 GB, free: 171.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/9.894, allocations: 4 kB / 3.658 GB, free: 171.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/9.894, allocations: 3.984 kB / 3.658 GB, free: 171.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/9.898, allocations: 1.79 MB / 3.66 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/9.898, allocations: 3.062 kB / 3.66 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/9.899, allocations: 115.8 kB / 3.66 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/9.899, allocations: 7.984 kB / 3.66 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/9.899, allocations: 12.28 kB / 3.66 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/9.899, allocations: 11.94 kB / 3.66 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/9.899, allocations: 0 / 3.66 GB, free: 169.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/9.901, allocations: 1.193 MB / 3.661 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/9.902, allocations: 291.8 kB / 3.662 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/9.902, allocations: 7.953 kB / 3.662 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/9.904, allocations: 79.86 kB / 3.662 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/9.904, allocations: 47.84 kB / 3.662 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.952e-05/9.904, allocations: 23.98 kB / 3.662 GB, free: 167.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001375/9.906, allocations: 0.7474 MB / 3.663 GB, free: 166.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/9.906, allocations: 0 / 3.663 GB, free: 166.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002163/9.908, allocations: 0.542 MB / 3.663 GB, free: 166.3 MB / 0.948 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 () * 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.002875/9.911, allocations: 1.875 MB / 3.665 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001971/9.913, allocations: 0.9101 MB / 3.666 GB, free: 163.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/9.913, allocations: 4 kB / 3.666 GB, free: 163.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005836/9.913, allocations: 272.5 kB / 3.666 GB, free: 163.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/9.917, allocations: 415.7 kB / 3.666 GB, free: 162.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/9.92, allocations: 1.262 MB / 3.668 GB, free: 161.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/9.921, allocations: 1.075 MB / 3.669 GB, free: 160.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002903/9.924, allocations: 386 kB / 3.669 GB, free: 160.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/9.924, allocations: 63.41 kB / 3.669 GB, free: 160 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/9.924, allocations: 4 kB / 3.669 GB, free: 160 MB / 0.948 GB Notification: Performance of Templates: time 0.06763/9.992, allocations: 28.79 MB / 3.697 GB, free: 131.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)