Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.493/1.493, allocations: 285.4 MB / 298 MB, free: 6.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 176.9 kB / 366.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 0.6248 GB, free: 7.734 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009126/0.0009129, allocations: 96.19 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.234e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.694/0.694, allocations: 115.3 MB / 0.9709 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.687/5.381, allocations: 2.083 GB / 3.054 GB, free: 10.18 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/5.381, allocations: 100.3 kB / 3.054 GB, free: 10.13 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.377/7.759, allocations: 0.6052 GB / 3.66 GB, free: 148.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.667e-06/7.759, allocations: 0 / 3.66 GB, free: 148.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002381/7.759, allocations: 31.59 kB / 3.66 GB, free: 148.4 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.003914/7.763, allocations: 1.319 MB / 3.661 GB, free: 147 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/7.763, allocations: 12.03 kB / 3.661 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/7.766, allocations: 242.3 kB / 3.661 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/7.768, allocations: 1.04 MB / 3.662 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/7.768, allocations: 45 kB / 3.662 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/7.769, allocations: 67.92 kB / 3.662 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/7.77, allocations: 0.6556 MB / 3.663 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/7.77, allocations: 4 kB / 3.663 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/7.77, allocations: 27.98 kB / 3.663 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/7.77, allocations: 8 kB / 3.663 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008572/7.771, allocations: 0.5506 MB / 3.664 GB, free: 144.3 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.004587/7.775, allocations: 2.752 MB / 3.666 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008079/7.776, allocations: 0.5062 MB / 3.667 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/7.776, allocations: 316.8 kB / 3.667 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003597/7.777, allocations: 287.5 kB / 3.667 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.4e-05/7.777, allocations: 38.56 kB / 3.667 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001097/7.778, allocations: 227.4 kB / 3.668 GB, free: 140 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 5.981e-06/7.778, allocations: 0 / 3.668 GB, free: 140 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.001512/7.78, allocations: 0.6842 MB / 3.668 GB, free: 139.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/7.78, allocations: 140.5 kB / 3.668 GB, free: 139.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/7.781, allocations: 1.096 MB / 3.669 GB, free: 138 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.919e-05/7.781, allocations: 37.7 kB / 3.669 GB, free: 137.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/7.782, allocations: 462.8 kB / 3.67 GB, free: 137.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/7.782, allocations: 149.7 kB / 3.67 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/7.782, allocations: 8 kB / 3.67 GB, free: 137.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.54e-05/7.782, allocations: 325.9 kB / 3.67 GB, free: 137 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/7.782, allocations: 244.8 kB / 3.671 GB, free: 136.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/7.783, allocations: 475.6 kB / 3.671 GB, free: 136.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/7.783, allocations: 307 kB / 3.671 GB, free: 135.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/7.783, allocations: 0 / 3.671 GB, free: 135.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001159/7.784, allocations: 0.6978 MB / 3.672 GB, free: 135.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.095e-05/7.784, allocations: 99.39 kB / 3.672 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/7.784, allocations: 0 / 3.672 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/7.784, allocations: 4 kB / 3.672 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/7.785, allocations: 127.8 kB / 3.672 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/7.785, allocations: 8 kB / 3.672 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/7.786, allocations: 119.8 kB / 3.672 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.06e-05/7.787, allocations: 31.95 kB / 3.672 GB, free: 134.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/7.787, allocations: 4 kB / 3.672 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008542/7.787, allocations: 0.5724 MB / 3.673 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/7.787, allocations: 0 / 3.673 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/7.787, allocations: 0 / 3.673 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/7.788, allocations: 131.8 kB / 3.673 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/7.788, allocations: 0 / 3.673 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/7.789, allocations: 119.7 kB / 3.673 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/7.789, allocations: 35.97 kB / 3.673 GB, free: 134 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.0001638/7.79, allocations: 133.1 kB / 3.673 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/7.79, allocations: 102.7 kB / 3.673 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/7.791, allocations: 0.7407 MB / 3.674 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/7.791, allocations: 8 kB / 3.674 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/7.791, allocations: 4 kB / 3.674 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/7.791, allocations: 3.938 kB / 3.674 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/7.794, allocations: 1.906 MB / 3.676 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/7.794, allocations: 0 / 3.676 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/7.795, allocations: 119.8 kB / 3.676 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/7.795, allocations: 8.281 kB / 3.676 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/7.795, allocations: 12 kB / 3.676 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/7.795, allocations: 4 kB / 3.676 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/7.795, allocations: 4 kB / 3.676 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/7.796, allocations: 1.244 MB / 3.677 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006241/7.797, allocations: 307.5 kB / 3.678 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/7.797, allocations: 16 kB / 3.678 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/7.798, allocations: 75.97 kB / 3.678 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/7.799, allocations: 51.88 kB / 3.678 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/7.799, allocations: 20 kB / 3.678 GB, free: 129 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001462/7.8, allocations: 0.8638 MB / 3.679 GB, free: 128.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/7.8, allocations: 0 / 3.679 GB, free: 128.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003044/7.803, allocations: 0.597 MB / 3.679 GB, free: 127.5 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.003575/7.807, allocations: 1.677 MB / 3.681 GB, free: 125.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001547/7.808, allocations: 0.9436 MB / 3.682 GB, free: 124.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/7.808, allocations: 8 kB / 3.682 GB, free: 124.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004051/7.809, allocations: 287.7 kB / 3.682 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/7.811, allocations: 476.3 kB / 3.683 GB, free: 124.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/7.814, allocations: 1.295 MB / 3.684 GB, free: 122.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/7.814, allocations: 1.075 MB / 3.685 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001936/7.816, allocations: 415 kB / 3.685 GB, free: 121.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/7.816, allocations: 67.41 kB / 3.685 GB, free: 121.1 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/7.816, allocations: 0 / 3.685 GB, free: 121.1 MB / 0.948 GB Notification: Performance of Templates: time 0.05886/7.875, allocations: 45.82 MB / 3.73 GB, free: 75.45 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)