Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.001168/0.001168, allocations: 177 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 0.6367 GB, free: 8.531 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.0009081/0.0009081, allocations: 93.94 kB / 0.751 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005104/0.0005104, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3425, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.423/6.766, allocations: 2.085 GB / 3.073 GB, free: 149.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003713/6.766, allocations: 96.59 kB / 3.073 GB, free: 149.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.8/9.566, allocations: 0.6057 GB / 3.679 GB, free: 161 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.146e-06/9.566, allocations: 0 / 3.679 GB, free: 161 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003025/9.566, allocations: 31.44 kB / 3.679 GB, free: 161 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.00894/9.575, allocations: 1.708 MB / 3.68 GB, free: 160.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/9.575, allocations: 8.75 kB / 3.68 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/9.579, allocations: 242.3 kB / 3.681 GB, free: 160.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004531/9.583, allocations: 1.068 MB / 3.682 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/9.583, allocations: 44.53 kB / 3.682 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000388/9.584, allocations: 61.44 kB / 3.682 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/9.586, allocations: 0.7121 MB / 3.683 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/9.586, allocations: 3.406 kB / 3.683 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.88e-05/9.586, allocations: 27.47 kB / 3.683 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/9.586, allocations: 12.3 kB / 3.683 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/9.588, allocations: 0.6507 MB / 3.683 GB, free: 159.8 MB / 0.948 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.006131/9.594, allocations: 2.746 MB / 3.686 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/9.595, allocations: 0.5763 MB / 3.686 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/9.595, allocations: 289.4 kB / 3.687 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/9.595, allocations: 39.28 kB / 3.687 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00125/9.597, allocations: 225 kB / 3.687 GB, free: 158.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 4.799e-06/9.597, allocations: 0 / 3.687 GB, free: 158.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.002667/9.599, allocations: 1.068 MB / 3.688 GB, free: 158.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/9.599, allocations: 136.6 kB / 3.688 GB, free: 158.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/9.602, allocations: 1.125 MB / 3.689 GB, free: 158.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/9.602, allocations: 41.92 kB / 3.689 GB, free: 158.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/9.602, allocations: 450.1 kB / 3.69 GB, free: 158.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/9.602, allocations: 153.6 kB / 3.69 GB, free: 158.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/9.602, allocations: 5.094 kB / 3.69 GB, free: 158.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/9.602, allocations: 320.7 kB / 3.69 GB, free: 157.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/9.603, allocations: 286.7 kB / 3.69 GB, free: 157.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/9.604, allocations: 0.5313 MB / 3.691 GB, free: 157.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/9.605, allocations: 341.5 kB / 3.691 GB, free: 157.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/9.605, allocations: 6.375 kB / 3.691 GB, free: 157.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002201/9.607, allocations: 0.795 MB / 3.692 GB, free: 157.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/9.607, allocations: 104.8 kB / 3.692 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/9.607, allocations: 3.672 kB / 3.692 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/9.607, allocations: 1.375 kB / 3.692 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/9.608, allocations: 131.8 kB / 3.692 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/9.608, allocations: 1.375 kB / 3.692 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/9.61, allocations: 114.9 kB / 3.692 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/9.61, allocations: 29.16 kB / 3.692 GB, free: 157.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/9.61, allocations: 4.125 kB / 3.692 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001615/9.612, allocations: 0.6675 MB / 3.693 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/9.612, allocations: 4.969 kB / 3.693 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/9.612, allocations: 2.25 kB / 3.693 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007066/9.612, allocations: 124.4 kB / 3.693 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/9.612, allocations: 4.656 kB / 3.693 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/9.614, allocations: 121.1 kB / 3.693 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/9.614, allocations: 33.48 kB / 3.693 GB, free: 157.3 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 () * 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.000886/9.615, allocations: 333.3 kB / 3.694 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/9.615, allocations: 103.9 kB / 3.694 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/9.617, allocations: 0.8501 MB / 3.695 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/9.618, allocations: 9.5 kB / 3.695 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/9.618, allocations: 0 / 3.695 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/9.618, allocations: 8.375 kB / 3.695 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003992/9.622, allocations: 1.996 MB / 3.697 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/9.622, allocations: 6.453 kB / 3.697 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/9.622, allocations: 117.1 kB / 3.697 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/9.622, allocations: 4.438 kB / 3.697 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/9.622, allocations: 21.69 kB / 3.697 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/9.622, allocations: 4.188 kB / 3.697 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/9.622, allocations: 6.438 kB / 3.697 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/9.625, allocations: 1.383 MB / 3.698 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000736/9.626, allocations: 301.3 kB / 3.698 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/9.626, allocations: 13.59 kB / 3.698 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/9.627, allocations: 92.3 kB / 3.698 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/9.627, allocations: 45.61 kB / 3.699 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/9.627, allocations: 21.31 kB / 3.699 GB, free: 156 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002146/9.63, allocations: 0.8954 MB / 3.699 GB, free: 155.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/9.63, allocations: 0 / 3.699 GB, free: 155.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003716/9.633, allocations: 0.6041 MB / 3.7 GB, free: 155.9 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 () * 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.00391/9.637, allocations: 1.676 MB / 3.702 GB, free: 155.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002795/9.64, allocations: 1.049 MB / 3.703 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/9.64, allocations: 1 kB / 3.703 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000801/9.641, allocations: 345.9 kB / 3.703 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/9.644, allocations: 479.5 kB / 3.703 GB, free: 155.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/9.648, allocations: 1.96 MB / 3.705 GB, free: 154.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/9.649, allocations: 1.069 MB / 3.706 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001887/9.651, allocations: 293.9 kB / 3.707 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/9.652, allocations: 98.94 kB / 3.707 GB, free: 153.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.665e-06/9.652, allocations: 0.8438 kB / 3.707 GB, free: 153.6 MB / 0.948 GB Notification: Performance of Templates: time 0.06748/9.719, allocations: 39.88 MB / 3.746 GB, free: 151.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)