Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.533/2.533, allocations: 287.5 MB / 303.2 MB, free: 8.266 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.001324/0.001324, allocations: 181.2 kB / 371.8 MB, free: 10.82 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.121/2.121, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009286/0.0009285, allocations: 93.17 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004807, allocations: 12.77 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2245, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.586/6.811, allocations: 2.084 GB / 3.063 GB, free: 235.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/6.811, allocations: 103.9 kB / 3.063 GB, free: 235.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.308/10.12, allocations: 0.6044 GB / 3.667 GB, free: 194.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.124e-06/10.12, allocations: 0 / 3.667 GB, free: 194.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000192/10.12, allocations: 31.12 kB / 3.667 GB, free: 194.6 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.007815/10.13, allocations: 1.699 MB / 3.669 GB, free: 194.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/10.13, allocations: 9.438 kB / 3.669 GB, free: 194.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/10.13, allocations: 246.9 kB / 3.669 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004065/10.14, allocations: 1.116 MB / 3.67 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.527e-05/10.14, allocations: 43.31 kB / 3.67 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/10.14, allocations: 60.69 kB / 3.67 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/10.14, allocations: 0.7218 MB / 3.671 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/10.14, allocations: 3.938 kB / 3.671 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.783e-05/10.14, allocations: 24.84 kB / 3.671 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/10.14, allocations: 11.97 kB / 3.671 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/10.14, allocations: 0.653 MB / 3.672 GB, free: 193.6 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.008039/10.15, allocations: 2.731 MB / 3.675 GB, free: 192.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/10.15, allocations: 0.5773 MB / 3.675 GB, free: 192.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/10.15, allocations: 364.4 kB / 3.675 GB, free: 192.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/10.15, allocations: 287.7 kB / 3.676 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/10.15, allocations: 44.25 kB / 3.676 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002354/10.16, allocations: 219.2 kB / 3.676 GB, free: 192.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 7.835e-06/10.16, allocations: 6.391 kB / 3.676 GB, free: 192.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.004685/10.16, allocations: 1.061 MB / 3.677 GB, free: 192.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/10.16, allocations: 137.5 kB / 3.677 GB, free: 192.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003867/10.16, allocations: 1.247 MB / 3.678 GB, free: 192.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003481/10.16, allocations: 43.11 kB / 3.678 GB, free: 192.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/10.16, allocations: 458.5 kB / 3.679 GB, free: 191.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/10.17, allocations: 150.4 kB / 3.679 GB, free: 191.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/10.17, allocations: 9.156 kB / 3.679 GB, free: 191.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/10.17, allocations: 324.1 kB / 3.679 GB, free: 191.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/10.17, allocations: 284.1 kB / 3.68 GB, free: 191.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/10.17, allocations: 0.5313 MB / 3.68 GB, free: 191.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/10.17, allocations: 0.6272 MB / 3.681 GB, free: 191.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/10.17, allocations: 3.625 kB / 3.681 GB, free: 191.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003005/10.17, allocations: 0.7935 MB / 3.681 GB, free: 191.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/10.17, allocations: 99.06 kB / 3.682 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/10.17, allocations: 2.484 kB / 3.682 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/10.17, allocations: 3.719 kB / 3.682 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/10.17, allocations: 132.1 kB / 3.682 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/10.17, allocations: 3.969 kB / 3.682 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/10.18, allocations: 115.4 kB / 3.682 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/10.18, allocations: 33.48 kB / 3.682 GB, free: 191.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/10.18, allocations: 3.844 kB / 3.682 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002396/10.18, allocations: 0.6688 MB / 3.682 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/10.18, allocations: 6.312 kB / 3.682 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.605e-06/10.18, allocations: 0.5156 kB / 3.682 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/10.18, allocations: 129.4 kB / 3.683 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/10.18, allocations: 4.719 kB / 3.683 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/10.18, allocations: 121.5 kB / 3.683 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/10.18, allocations: 29.59 kB / 3.683 GB, free: 191.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 () * 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.0008064/10.18, allocations: 330.7 kB / 3.683 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/10.18, allocations: 106.7 kB / 3.683 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/10.19, allocations: 0.8472 MB / 3.684 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/10.19, allocations: 6.594 kB / 3.684 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/10.19, allocations: 0 / 3.684 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/10.19, allocations: 2.484 kB / 3.684 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006207/10.19, allocations: 1.997 MB / 3.686 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/10.19, allocations: 2.688 kB / 3.686 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/10.2, allocations: 118.8 kB / 3.686 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/10.2, allocations: 2.938 kB / 3.686 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/10.2, allocations: 15.41 kB / 3.686 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/10.2, allocations: 9.547 kB / 3.686 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/10.2, allocations: 2.688 kB / 3.686 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003826/10.2, allocations: 1.278 MB / 3.687 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/10.2, allocations: 302.2 kB / 3.688 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/10.2, allocations: 13.42 kB / 3.688 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/10.2, allocations: 90.56 kB / 3.688 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/10.2, allocations: 45.17 kB / 3.688 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.364e-05/10.2, allocations: 24.16 kB / 3.688 GB, free: 190 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002534/10.21, allocations: 0.8936 MB / 3.689 GB, free: 189.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/10.21, allocations: 3.25 kB / 3.689 GB, free: 189.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003137/10.21, allocations: 0.5928 MB / 3.689 GB, free: 189.8 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.00339/10.21, allocations: 1.68 MB / 3.691 GB, free: 189.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003775/10.22, allocations: 1.053 MB / 3.692 GB, free: 189.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/10.22, allocations: 0 / 3.692 GB, free: 189.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/10.22, allocations: 346.6 kB / 3.692 GB, free: 189.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005386/10.22, allocations: 480.8 kB / 3.693 GB, free: 189.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004542/10.23, allocations: 1.961 MB / 3.695 GB, free: 188.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/10.23, allocations: 1.051 MB / 3.696 GB, free: 187.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002444/10.23, allocations: 293 kB / 3.696 GB, free: 187.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00066/10.23, allocations: 99.66 kB / 3.696 GB, free: 187.7 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/10.23, allocations: 0 / 3.696 GB, free: 187.7 MB / 0.948 GB Notification: Performance of Templates: time 0.09334/10.32, allocations: 39.97 MB / 3.735 GB, free: 187.1 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)