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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 293 MB / 309 MB, free: 4.805 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.0009735/0.0009735, allocations: 178.6 kB / 378.7 MB, free: 1.031 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.896/1.896, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0008186/0.0008184, allocations: 97.23 kB / 0.7527 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004651, allocations: 16 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3102, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.885/6.196, allocations: 2.085 GB / 3.075 GB, free: 130.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/6.196, allocations: 92.47 kB / 3.075 GB, free: 130.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.686/8.882, allocations: 0.6044 GB / 3.68 GB, free: 164.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.344e-06/8.882, allocations: 1 kB / 3.68 GB, free: 164.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002772/8.882, allocations: 33.64 kB / 3.68 GB, free: 164.5 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.007835/8.89, allocations: 1.698 MB / 3.681 GB, free: 163.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.85e-05/8.89, allocations: 9.25 kB / 3.681 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/8.893, allocations: 243.3 kB / 3.682 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00379/8.897, allocations: 1.113 MB / 3.683 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.741e-05/8.897, allocations: 44.94 kB / 3.683 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/8.898, allocations: 61.69 kB / 3.683 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/8.9, allocations: 0.7213 MB / 3.684 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/8.9, allocations: 3.938 kB / 3.684 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/8.9, allocations: 19.09 kB / 3.684 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/8.9, allocations: 11.66 kB / 3.684 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/8.901, allocations: 0.6576 MB / 3.684 GB, free: 163.3 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.006663/8.908, allocations: 2.742 MB / 3.687 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/8.909, allocations: 0.5739 MB / 3.687 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007308/8.91, allocations: 363.8 kB / 3.688 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004633/8.911, allocations: 295.3 kB / 3.688 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/8.911, allocations: 38.44 kB / 3.688 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001516/8.912, allocations: 224.3 kB / 3.688 GB, free: 162.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 6.252e-06/8.912, allocations: 6.531 kB / 3.688 GB, free: 162.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.003126/8.915, allocations: 1.058 MB / 3.689 GB, free: 162 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/8.915, allocations: 137.4 kB / 3.689 GB, free: 161.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/8.918, allocations: 1.246 MB / 3.691 GB, free: 161.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/8.918, allocations: 39.45 kB / 3.691 GB, free: 161.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004674/8.919, allocations: 450.3 kB / 3.691 GB, free: 161.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/8.919, allocations: 152.3 kB / 3.691 GB, free: 161.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/8.919, allocations: 8.5 kB / 3.691 GB, free: 161.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/8.919, allocations: 320.7 kB / 3.692 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007276/8.92, allocations: 293.1 kB / 3.692 GB, free: 161.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/8.921, allocations: 0.533 MB / 3.692 GB, free: 160.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/8.923, allocations: 0.6291 MB / 3.693 GB, free: 160.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/8.923, allocations: 0 / 3.693 GB, free: 160.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002273/8.925, allocations: 0.7984 MB / 3.694 GB, free: 160.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/8.925, allocations: 95.05 kB / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/8.925, allocations: 9.5 kB / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/8.925, allocations: 0 / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/8.926, allocations: 126.9 kB / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/8.926, allocations: 2.875 kB / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/8.927, allocations: 117.6 kB / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/8.927, allocations: 34.91 kB / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/8.927, allocations: 3.938 kB / 3.694 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001483/8.929, allocations: 0.6671 MB / 3.695 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/8.929, allocations: 1.406 kB / 3.695 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.598e-06/8.929, allocations: 2.656 kB / 3.695 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/8.93, allocations: 129.5 kB / 3.695 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/8.93, allocations: 2.531 kB / 3.695 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/8.931, allocations: 113.3 kB / 3.695 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/8.931, allocations: 35.25 kB / 3.695 GB, free: 160.7 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.0008144/8.932, allocations: 336.4 kB / 3.695 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/8.932, allocations: 106.9 kB / 3.696 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/8.934, allocations: 0.8471 MB / 3.696 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/8.934, allocations: 6.375 kB / 3.696 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/8.934, allocations: 0 / 3.696 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/8.934, allocations: 3.844 kB / 3.696 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/8.938, allocations: 1.992 MB / 3.698 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/8.938, allocations: 0 / 3.698 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/8.938, allocations: 119.5 kB / 3.698 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/8.938, allocations: 3.781 kB / 3.698 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/8.938, allocations: 16.72 kB / 3.698 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/8.938, allocations: 11.17 kB / 3.698 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/8.938, allocations: 0 / 3.698 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/8.94, allocations: 1.29 MB / 3.7 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/8.941, allocations: 300.8 kB / 3.7 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/8.941, allocations: 17.64 kB / 3.7 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000953/8.942, allocations: 76.23 kB / 3.7 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/8.942, allocations: 49.91 kB / 3.7 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/8.942, allocations: 27.33 kB / 3.7 GB, free: 159.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001308/8.944, allocations: 0.8951 MB / 3.701 GB, free: 159.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/8.944, allocations: 0 / 3.701 GB, free: 159.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002162/8.946, allocations: 0.6032 MB / 3.702 GB, free: 159.4 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.002528/8.948, allocations: 1.682 MB / 3.703 GB, free: 158.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002034/8.95, allocations: 1.055 MB / 3.704 GB, free: 158.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/8.95, allocations: 2.344 kB / 3.704 GB, free: 158.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005675/8.951, allocations: 336.2 kB / 3.705 GB, free: 158.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/8.954, allocations: 479.7 kB / 3.705 GB, free: 158.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/8.957, allocations: 1.96 MB / 3.707 GB, free: 157.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/8.958, allocations: 1.053 MB / 3.708 GB, free: 157.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001609/8.96, allocations: 292 kB / 3.708 GB, free: 157.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/8.96, allocations: 95.86 kB / 3.708 GB, free: 157.2 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/8.96, allocations: 0 / 3.708 GB, free: 157.2 MB / 0.948 GB Notification: Performance of Templates: time 0.06342/9.024, allocations: 40.23 MB / 3.748 GB, free: 154.3 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)