Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.75/1.75, allocations: 288.3 MB / 303.2 MB, free: 8.074 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.001457/0.001457, allocations: 187.6 kB / 371.9 MB, free: 10.26 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.698/1.698, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.001097/0.001097, allocations: 102.8 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005479/0.0005481, allocations: 11.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2291, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.125/5.355, allocations: 2.085 GB / 3.064 GB, free: 230.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/5.355, allocations: 103.9 kB / 3.064 GB, free: 230 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.795/8.15, allocations: 0.7444 GB / 3.809 GB, free: 185.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.894e-06/8.15, allocations: 3.25 kB / 3.809 GB, free: 185.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002538/8.15, allocations: 37.3 kB / 3.809 GB, free: 185.4 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.007918/8.158, allocations: 2.093 MB / 3.811 GB, free: 184.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/8.158, allocations: 9.344 kB / 3.811 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/8.162, allocations: 301.1 kB / 3.811 GB, free: 184.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/8.166, allocations: 1.377 MB / 3.812 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.381e-05/8.166, allocations: 57.09 kB / 3.812 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/8.166, allocations: 84.95 kB / 3.812 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/8.168, allocations: 0.9611 MB / 3.813 GB, free: 183 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/8.168, allocations: 0 / 3.813 GB, free: 183 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/8.169, allocations: 23.78 kB / 3.813 GB, free: 183 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/8.169, allocations: 22.78 kB / 3.813 GB, free: 183 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/8.17, allocations: 0.8673 MB / 3.814 GB, free: 182.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.007889/8.178, allocations: 3.569 MB / 3.818 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/8.18, allocations: 0.7999 MB / 3.819 GB, free: 179.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004135/8.18, allocations: 290.3 kB / 3.819 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/8.18, allocations: 38.91 kB / 3.819 GB, free: 179 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001938/8.182, allocations: 339.8 kB / 3.819 GB, free: 178.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 6.422e-06/8.182, allocations: 0 / 3.819 GB, free: 178.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.003462/8.186, allocations: 1.346 MB / 3.82 GB, free: 178.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/8.186, allocations: 223.5 kB / 3.821 GB, free: 178 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002981/8.189, allocations: 1.472 MB / 3.822 GB, free: 177.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001846/8.189, allocations: 49.92 kB / 3.822 GB, free: 177.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005262/8.19, allocations: 0.5526 MB / 3.823 GB, free: 176.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/8.19, allocations: 188.1 kB / 3.823 GB, free: 176.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/8.19, allocations: 11.88 kB / 3.823 GB, free: 176.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.099e-05/8.19, allocations: 321.6 kB / 3.823 GB, free: 176.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006937/8.191, allocations: 386.8 kB / 3.824 GB, free: 176 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009456/8.192, allocations: 0.7069 MB / 3.824 GB, free: 175.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007818/8.192, allocations: 465.8 kB / 3.825 GB, free: 175.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/8.192, allocations: 0 / 3.825 GB, free: 175.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002187/8.195, allocations: 1.055 MB / 3.826 GB, free: 174.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.159e-05/8.195, allocations: 97.86 kB / 3.826 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/8.195, allocations: 12.05 kB / 3.826 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/8.195, allocations: 0 / 3.826 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008749/8.196, allocations: 159.6 kB / 3.826 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/8.196, allocations: 3.875 kB / 3.826 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/8.198, allocations: 155.3 kB / 3.826 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/8.198, allocations: 39.89 kB / 3.826 GB, free: 174.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/8.198, allocations: 7.625 kB / 3.826 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001638/8.2, allocations: 0.8926 MB / 3.827 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/8.2, allocations: 7.734 kB / 3.827 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/8.2, allocations: 2.875 kB / 3.827 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008301/8.2, allocations: 161.3 kB / 3.827 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/8.2, allocations: 0 / 3.827 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/8.203, allocations: 159.4 kB / 3.827 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/8.203, allocations: 43.36 kB / 3.827 GB, free: 173.8 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0007785/8.204, allocations: 389.4 kB / 3.828 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005058/8.204, allocations: 131.2 kB / 3.828 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/8.207, allocations: 1.074 MB / 3.829 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/8.207, allocations: 7.094 kB / 3.829 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/8.207, allocations: 4 kB / 3.829 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/8.207, allocations: 6.875 kB / 3.829 GB, free: 172.9 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 postOpt removeSimpleEquations (simulation): time 0.004609/8.211, allocations: 2.528 MB / 3.831 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/8.211, allocations: 2.906 kB / 3.831 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007462/8.212, allocations: 140.4 kB / 3.832 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/8.212, allocations: 4.531 kB / 3.832 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/8.212, allocations: 26.39 kB / 3.832 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/8.212, allocations: 3.969 kB / 3.832 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/8.212, allocations: 3.188 kB / 3.832 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/8.215, allocations: 1.701 MB / 3.833 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/8.216, allocations: 366 kB / 3.834 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/8.216, allocations: 19.89 kB / 3.834 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/8.218, allocations: 103.5 kB / 3.834 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/8.218, allocations: 55.75 kB / 3.834 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.126e-05/8.218, allocations: 33.67 kB / 3.834 GB, free: 169.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002163/8.22, allocations: 1.153 MB / 3.835 GB, free: 168.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.2e-07/8.221, allocations: 0 / 3.835 GB, free: 168.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003131/8.224, allocations: 0.7405 MB / 3.836 GB, free: 168.7 MB / 0.948 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 (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.003192/8.227, allocations: 1.912 MB / 3.838 GB, free: 167.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002777/8.23, allocations: 1.429 MB / 3.839 GB, free: 167 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/8.23, allocations: 3.938 kB / 3.839 GB, free: 166.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007364/8.23, allocations: 422.3 kB / 3.839 GB, free: 166.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/8.234, allocations: 0.5983 MB / 3.84 GB, free: 166 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/8.238, allocations: 2.513 MB / 3.842 GB, free: 163.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008717/8.239, allocations: 1.196 MB / 3.844 GB, free: 162.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002249/8.241, allocations: 372.2 kB / 3.844 GB, free: 161.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007084/8.242, allocations: 131.3 kB / 3.844 GB, free: 161.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/8.242, allocations: 0 / 3.844 GB, free: 161.7 MB / 0.948 GB Notification: Performance of Templates: time 0.06678/8.309, allocations: 48.32 MB / 3.891 GB, free: 113.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)