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.612/1.612, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001008/0.001008, allocations: 176.8 kB / 361.4 MB, free: 6.816 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.473/1.473, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0007961/0.0007961, allocations: 96.73 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.796e-05, allocations: 4 kB / 0.8517 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.6631, allocations: 115.3 MB / 0.9644 GB, free: 78.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.512/5.175, allocations: 2.083 GB / 3.047 GB, free: 31.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/5.175, allocations: 94.44 kB / 3.047 GB, free: 31.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.324/7.499, allocations: 0.5982 GB / 3.645 GB, free: 180.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.156e-06/7.499, allocations: 0 / 3.645 GB, free: 180.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001122/7.499, allocations: 35.3 kB / 3.645 GB, free: 180.9 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.003325/7.503, allocations: 1.323 MB / 3.647 GB, free: 179.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/7.503, allocations: 12.03 kB / 3.647 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/7.505, allocations: 243.2 kB / 3.647 GB, free: 179.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/7.507, allocations: 1.041 MB / 3.648 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/7.507, allocations: 16 kB / 3.648 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/7.507, allocations: 40 kB / 3.648 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008421/7.508, allocations: 0.5375 MB / 3.649 GB, free: 177.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/7.509, allocations: 0.604 MB / 3.649 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/7.509, allocations: 3.984 kB / 3.649 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/7.509, allocations: 3.938 kB / 3.649 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/7.509, allocations: 12 kB / 3.649 GB, free: 177 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.003844/7.513, allocations: 2.597 MB / 3.652 GB, free: 174.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007151/7.514, allocations: 0.5108 MB / 3.652 GB, free: 173.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/7.514, allocations: 309.3 kB / 3.653 GB, free: 173.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003862/7.514, allocations: 294.8 kB / 3.653 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/7.514, allocations: 34.56 kB / 3.653 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009452/7.515, allocations: 207.5 kB / 3.653 GB, free: 172.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.577e-06/7.515, allocations: 0 / 3.653 GB, free: 172.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.001355/7.517, allocations: 0.6726 MB / 3.654 GB, free: 172.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/7.517, allocations: 140.4 kB / 3.654 GB, free: 172 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/7.518, allocations: 0.9579 MB / 3.655 GB, free: 171 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-05/7.518, allocations: 29.7 kB / 3.655 GB, free: 171 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/7.518, allocations: 454 kB / 3.655 GB, free: 170.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/7.518, allocations: 145.8 kB / 3.655 GB, free: 170.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/7.519, allocations: 0 / 3.655 GB, free: 170.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/7.519, allocations: 318 kB / 3.656 GB, free: 170.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/7.519, allocations: 236.8 kB / 3.656 GB, free: 169.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/7.519, allocations: 478.6 kB / 3.656 GB, free: 169.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/7.52, allocations: 290.6 kB / 3.657 GB, free: 169 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/7.52, allocations: 3.984 kB / 3.657 GB, free: 169 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009966/7.521, allocations: 0.6784 MB / 3.657 GB, free: 168.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/7.521, allocations: 94.91 kB / 3.657 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/7.521, allocations: 0 / 3.657 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/7.521, allocations: 8 kB / 3.657 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/7.522, allocations: 127.8 kB / 3.658 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/7.522, allocations: 4 kB / 3.658 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/7.523, allocations: 111.7 kB / 3.658 GB, free: 168 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/7.523, allocations: 31.97 kB / 3.658 GB, free: 167.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/7.523, allocations: 4 kB / 3.658 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008094/7.524, allocations: 0.5373 MB / 3.658 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/7.524, allocations: 0 / 3.658 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/7.524, allocations: 7.953 kB / 3.658 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/7.524, allocations: 127.8 kB / 3.658 GB, free: 167.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/7.524, allocations: 4 kB / 3.658 GB, free: 167.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/7.525, allocations: 99.88 kB / 3.658 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/7.526, allocations: 35.97 kB / 3.658 GB, free: 167.1 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.0001572/7.526, allocations: 109.2 kB / 3.659 GB, free: 167 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/7.526, allocations: 102.7 kB / 3.659 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/7.527, allocations: 0.7049 MB / 3.659 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/7.527, allocations: 11.95 kB / 3.659 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/7.527, allocations: 4 kB / 3.659 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/7.527, allocations: 3.984 kB / 3.659 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/7.53, allocations: 1.782 MB / 3.661 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/7.53, allocations: 4 kB / 3.661 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/7.53, allocations: 115.8 kB / 3.661 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/7.53, allocations: 8.281 kB / 3.661 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/7.53, allocations: 11.98 kB / 3.661 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/7.53, allocations: 4 kB / 3.661 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/7.53, allocations: 4 kB / 3.661 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/7.532, allocations: 1.193 MB / 3.662 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/7.532, allocations: 295.7 kB / 3.663 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/7.532, allocations: 11.94 kB / 3.663 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000964/7.533, allocations: 71.88 kB / 3.663 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/7.533, allocations: 51.83 kB / 3.663 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/7.533, allocations: 20 kB / 3.663 GB, free: 162.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008799/7.534, allocations: 0.7474 MB / 3.664 GB, free: 161.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.534, allocations: 4 kB / 3.664 GB, free: 161.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001735/7.536, allocations: 0.5458 MB / 3.664 GB, free: 161.2 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.002379/7.538, allocations: 1.883 MB / 3.666 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001279/7.54, allocations: 0.9101 MB / 3.667 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/7.54, allocations: 0 / 3.667 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003325/7.54, allocations: 279.7 kB / 3.667 GB, free: 158.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/7.542, allocations: 413.2 kB / 3.668 GB, free: 157.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/7.544, allocations: 1.25 MB / 3.669 GB, free: 156.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/7.545, allocations: 1.079 MB / 3.67 GB, free: 155.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00164/7.546, allocations: 382 kB / 3.67 GB, free: 155 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/7.547, allocations: 67.41 kB / 3.67 GB, free: 154.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/7.547, allocations: 0 / 3.67 GB, free: 154.9 MB / 0.948 GB Notification: Performance of Templates: time 0.03966/7.586, allocations: 28.78 MB / 3.698 GB, free: 126.4 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)