Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 171.6 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007579/0.000758, allocations: 82.41 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 8.531 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.212, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.672/0.8841, allocations: 194.1 MB / 1.091 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01574/0.8999, allocations: 9.065 MB / 1.1 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.9024, allocations: 42.28 kB / 1.1 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.9043, allocations: 0.575 MB / 1.1 GB, free: 1.324 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005225/0.9095, allocations: 1.726 MB / 1.102 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008888/0.9184, allocations: 2.75 MB / 1.105 GB, free: 1.113 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004989/0.9234, allocations: 3.58 MB / 1.108 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002632/0.9261, allocations: 1.242 MB / 1.11 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.9293, allocations: 1.073 MB / 1.111 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/0.9319, allocations: 1.078 MB / 1.112 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007845/0.9327, allocations: 78.16 kB / 1.112 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004236/0.937, allocations: 1.618 MB / 1.113 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.9381, allocations: 451.9 kB / 1.114 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.9396, allocations: 0.7601 MB / 1.114 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.9422, allocations: 2.013 MB / 1.116 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.9422, allocations: 0 / 1.116 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9422, allocations: 2.969 kB / 1.116 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.9422, allocations: 0 / 1.116 GB, free: 0.7148 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.00469/0.9469, allocations: 1.875 MB / 1.118 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.947, allocations: 9.625 kB / 1.118 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009503/0.9479, allocations: 236.9 kB / 1.119 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.9501, allocations: 1.334 MB / 1.12 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.9503, allocations: 71.05 kB / 1.12 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.9504, allocations: 80.56 kB / 1.12 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.952, allocations: 0.9247 MB / 1.121 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.9521, allocations: 0 / 1.121 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.593e-05/0.9521, allocations: 31.8 kB / 1.121 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.9522, allocations: 14.59 kB / 1.121 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.9537, allocations: 0.8559 MB / 1.122 GB, free: 15.16 MB / 0.7136 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.005746/0.9595, allocations: 3.511 MB / 1.125 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.9612, allocations: 0.7791 MB / 1.126 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009813/0.9622, allocations: 459.4 kB / 1.126 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005559/0.9627, allocations: 295.1 kB / 1.127 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.822e-05/0.9628, allocations: 41.88 kB / 1.127 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001296/0.9641, allocations: 242.2 kB / 1.127 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 3.446e-06/0.9641, allocations: 0 / 1.127 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.003265/0.9674, allocations: 1.351 MB / 1.128 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001814/0.9676, allocations: 222.4 kB / 1.128 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003992/0.9716, allocations: 1.673 MB / 1.13 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.9718, allocations: 40.67 kB / 1.13 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005359/0.9723, allocations: 0.5632 MB / 1.131 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.9725, allocations: 182.9 kB / 1.131 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.9725, allocations: 10.38 kB / 1.131 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.9727, allocations: 332.4 kB / 1.131 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008298/0.9736, allocations: 396.4 kB / 1.132 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.9747, allocations: 0.7054 MB / 1.132 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.9762, allocations: 0.84 MB / 1.133 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9762, allocations: 0 / 1.133 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002099/0.9783, allocations: 1.074 MB / 1.134 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/0.9784, allocations: 107.8 kB / 1.134 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.9784, allocations: 2.938 kB / 1.134 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.9784, allocations: 2.5 kB / 1.134 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008368/0.9793, allocations: 159.8 kB / 1.134 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.9793, allocations: 0 / 1.134 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.981, allocations: 159.1 kB / 1.135 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/0.9811, allocations: 32.53 kB / 1.135 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.852e-06/0.9811, allocations: 7.531 kB / 1.135 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001628/0.9828, allocations: 0.8968 MB / 1.135 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.9828, allocations: 3.719 kB / 1.135 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.9828, allocations: 6.953 kB / 1.135 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/0.9836, allocations: 154.4 kB / 1.136 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.9836, allocations: 8.094 kB / 1.136 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.9852, allocations: 176.6 kB / 1.136 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.9853, allocations: 29.78 kB / 1.136 GB, free: 11.14 MB / 0.7136 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007193/0.986, allocations: 381.7 kB / 1.136 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.9863, allocations: 134.5 kB / 1.136 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.9885, allocations: 1.054 MB / 1.137 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.9886, allocations: 5.906 kB / 1.137 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.9886, allocations: 7.25 kB / 1.137 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.9886, allocations: 0 / 1.137 GB, free: 10.59 MB / 0.7136 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.003795/0.9924, allocations: 2.49 MB / 1.14 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.9924, allocations: 4.562 kB / 1.14 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/0.9931, allocations: 134.8 kB / 1.14 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.9932, allocations: 6.031 kB / 1.14 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/0.9932, allocations: 21.61 kB / 1.14 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.9932, allocations: 9.344 kB / 1.14 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.9932, allocations: 3.094 kB / 1.14 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.9957, allocations: 1.573 MB / 1.141 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/0.9963, allocations: 345.8 kB / 1.142 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.9965, allocations: 19.64 kB / 1.142 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.9977, allocations: 105.4 kB / 1.142 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.9979, allocations: 51.16 kB / 1.142 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.9979, allocations: 24.73 kB / 1.142 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001799/0.9997, allocations: 1.201 MB / 1.143 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9998, allocations: 0 / 1.143 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001556/1.001, allocations: 0.5503 MB / 1.144 GB, free: 8.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.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 (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006155/1.002, allocations: 262.2 kB / 1.144 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00277/1.005, allocations: 1.454 MB / 1.145 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.005, allocations: 2.906 kB / 1.145 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007887/1.006, allocations: 438.9 kB / 1.146 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/1.009, allocations: 0.5992 MB / 1.146 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/1.012, allocations: 2.705 MB / 1.149 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007156/1.013, allocations: 1.164 MB / 1.15 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/1.014, allocations: 125.5 kB / 1.15 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/1.014, allocations: 2.688 kB / 1.15 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of Templates: time 0.0362/1.05, allocations: 22.38 MB / 1.172 GB, free: 1.543 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)