Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.674/1.674, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 187.2 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008463/0.0008463, allocations: 104.1 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003881, allocations: 16 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.6858, allocations: 120.3 MB / 1.026 GB, free: 56.02 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.194/4.88, allocations: 1.908 GB / 2.935 GB, free: 287.1 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/4.88, allocations: 100.5 kB / 2.935 GB, free: 287.1 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.498/7.378, allocations: 0.7486 GB / 3.683 GB, free: 160.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.327e-06/7.378, allocations: 3.938 kB / 3.683 GB, free: 160.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002223/7.378, allocations: 35.45 kB / 3.683 GB, free: 160.5 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.007133/7.385, allocations: 2.008 MB / 3.685 GB, free: 159.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/7.385, allocations: 14.12 kB / 3.685 GB, free: 159.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/7.389, allocations: 293.7 kB / 3.686 GB, free: 159.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004043/7.393, allocations: 1.349 MB / 3.687 GB, free: 159.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-05/7.393, allocations: 56.23 kB / 3.687 GB, free: 159.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003201/7.393, allocations: 88.66 kB / 3.687 GB, free: 159.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/7.395, allocations: 0.8171 MB / 3.688 GB, free: 159.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/7.395, allocations: 6.656 kB / 3.688 GB, free: 159.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/7.395, allocations: 25.53 kB / 3.688 GB, free: 159.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/7.395, allocations: 32.94 kB / 3.688 GB, free: 159.3 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/7.397, allocations: 0.8729 MB / 3.689 GB, free: 159.2 MB / 0.9792 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.007031/7.404, allocations: 3.571 MB / 3.692 GB, free: 158.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/7.406, allocations: 0.823 MB / 3.693 GB, free: 158.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/7.406, allocations: 472.2 kB / 3.694 GB, free: 158.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003936/7.407, allocations: 293.3 kB / 3.694 GB, free: 157.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/7.407, allocations: 41.78 kB / 3.694 GB, free: 157.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001661/7.409, allocations: 331.7 kB / 3.694 GB, free: 157.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=55): time 8.396e-06/7.409, allocations: 3.172 kB / 3.694 GB, free: 157.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=55): time 0.003074/7.412, allocations: 1.367 MB / 3.696 GB, free: 157.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/7.412, allocations: 58.41 kB / 3.696 GB, free: 157.7 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/7.415, allocations: 1.59 MB / 3.697 GB, free: 157.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/7.415, allocations: 43.83 kB / 3.697 GB, free: 157.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/7.415, allocations: 0.5393 MB / 3.698 GB, free: 157.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/7.415, allocations: 186.3 kB / 3.698 GB, free: 157.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/7.415, allocations: 9.938 kB / 3.698 GB, free: 157.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/7.415, allocations: 324.8 kB / 3.698 GB, free: 157 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006467/7.416, allocations: 366.6 kB / 3.699 GB, free: 157 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008763/7.417, allocations: 0.6422 MB / 3.699 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/7.418, allocations: 0.799 MB / 3.7 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/7.418, allocations: 3.094 kB / 3.7 GB, free: 156.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001948/7.42, allocations: 1 MB / 3.701 GB, free: 156.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.957e-05/7.42, allocations: 100.2 kB / 3.701 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/7.42, allocations: 3.406 kB / 3.701 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/7.42, allocations: 0 / 3.701 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008562/7.421, allocations: 180.9 kB / 3.701 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/7.421, allocations: 2.719 kB / 3.701 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/7.423, allocations: 150.8 kB / 3.701 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/7.423, allocations: 35.05 kB / 3.701 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/7.423, allocations: 7.438 kB / 3.701 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001519/7.425, allocations: 0.8492 MB / 3.702 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/7.425, allocations: 9.875 kB / 3.702 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/7.425, allocations: 2.906 kB / 3.702 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008058/7.426, allocations: 180.6 kB / 3.702 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/7.426, allocations: 11.45 kB / 3.702 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/7.427, allocations: 143.8 kB / 3.703 GB, free: 156.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/7.428, allocations: 44.69 kB / 3.703 GB, free: 156.4 MB / 0.9792 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 (59): * Single equations (assignments): 59 * 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 prepare postOptimizeDAE: time 0.000682/7.428, allocations: 367.5 kB / 3.703 GB, free: 156.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/7.429, allocations: 134.7 kB / 3.703 GB, free: 156.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/7.431, allocations: 1.088 MB / 3.704 GB, free: 156.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/7.431, allocations: 6.062 kB / 3.704 GB, free: 156.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/7.431, allocations: 2.969 kB / 3.704 GB, free: 156.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/7.431, allocations: 5.391 kB / 3.704 GB, free: 156.1 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.004555/7.436, allocations: 2.593 MB / 3.707 GB, free: 155.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/7.436, allocations: 3.312 kB / 3.707 GB, free: 155.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/7.436, allocations: 138.4 kB / 3.707 GB, free: 155.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/7.436, allocations: 8.281 kB / 3.707 GB, free: 155.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/7.436, allocations: 21.92 kB / 3.707 GB, free: 155.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/7.436, allocations: 9.656 kB / 3.707 GB, free: 155.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/7.436, allocations: 10.69 kB / 3.707 GB, free: 155.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/7.439, allocations: 1.582 MB / 3.708 GB, free: 155.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007436/7.44, allocations: 381.1 kB / 3.709 GB, free: 155.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/7.44, allocations: 16.92 kB / 3.709 GB, free: 155.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/7.441, allocations: 102.4 kB / 3.709 GB, free: 155.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/7.442, allocations: 62.59 kB / 3.709 GB, free: 155.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.227e-05/7.442, allocations: 26.5 kB / 3.709 GB, free: 155.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001943/7.444, allocations: 1.137 MB / 3.71 GB, free: 155 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.11e-07/7.444, allocations: 3.281 kB / 3.71 GB, free: 155 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002653/7.446, allocations: 0.6832 MB / 3.711 GB, free: 155 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.s[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 (66): * Single equations (assignments): 66 * 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.002898/7.449, allocations: 1.867 MB / 3.713 GB, free: 154.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002509/7.452, allocations: 1.255 MB / 3.714 GB, free: 154.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/7.452, allocations: 0 / 3.714 GB, free: 154.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007641/7.452, allocations: 437.8 kB / 3.714 GB, free: 154.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003865/7.456, allocations: 0.5625 MB / 3.715 GB, free: 154.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/7.461, allocations: 2.452 MB / 3.717 GB, free: 153.3 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/7.462, allocations: 1.148 MB / 3.718 GB, free: 152.6 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002523/7.465, allocations: 375.2 kB / 3.719 GB, free: 152.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008621/7.466, allocations: 127.8 kB / 3.719 GB, free: 152.6 MB / 0.9792 GB Notification: Performance of SimCode: time 1.292e-06/7.466, allocations: 3.281 kB / 3.719 GB, free: 152.6 MB / 0.9792 GB Notification: Performance of Templates: time 0.08423/7.55, allocations: 47.01 MB / 3.765 GB, free: 151.1 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)