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.743/1.743, allocations: 288.4 MB / 304.3 MB, free: 8.031 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.001042/0.001042, allocations: 175.2 kB / 373 MB, free: 10.15 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.708/1.708, allocations: 205.4 MB / 0.6317 GB, free: 9.926 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.0007499/0.0007499, allocations: 92.17 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004254, allocations: 12.53 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2501, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.415/5.665, allocations: 2.085 GB / 3.066 GB, free: 230 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/5.665, allocations: 97.08 kB / 3.066 GB, free: 229.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.408/8.073, allocations: 0.7427 GB / 3.808 GB, free: 186.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.094e-06/8.073, allocations: 0 / 3.808 GB, free: 186.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001384/8.074, allocations: 38.16 kB / 3.808 GB, free: 186.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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.005577/8.079, allocations: 2.076 MB / 3.81 GB, free: 185.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/8.079, allocations: 10.53 kB / 3.81 GB, free: 185.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/8.082, allocations: 302 kB / 3.811 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/8.085, allocations: 1.438 MB / 3.812 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.183e-05/8.085, allocations: 55.25 kB / 3.812 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/8.085, allocations: 80.66 kB / 3.812 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/8.087, allocations: 0.9661 MB / 3.813 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/8.087, allocations: 3.938 kB / 3.813 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.602e-05/8.087, allocations: 23.78 kB / 3.813 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/8.087, allocations: 14.75 kB / 3.813 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/8.088, allocations: 0.8693 MB / 3.814 GB, free: 183.7 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.005669/8.094, allocations: 3.568 MB / 3.818 GB, free: 180.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/8.096, allocations: 0.7993 MB / 3.818 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006949/8.096, allocations: 463.3 kB / 3.819 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/8.097, allocations: 294.8 kB / 3.819 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/8.097, allocations: 38.66 kB / 3.819 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001542/8.098, allocations: 332.9 kB / 3.819 GB, free: 179.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 3.417e-06/8.098, allocations: 0 / 3.819 GB, free: 179.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.002655/8.101, allocations: 1.347 MB / 3.821 GB, free: 179.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/8.101, allocations: 213.4 kB / 3.821 GB, free: 178.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/8.103, allocations: 1.627 MB / 3.823 GB, free: 177.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.894e-05/8.103, allocations: 48.64 kB / 3.823 GB, free: 177.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/8.104, allocations: 0.5583 MB / 3.823 GB, free: 177.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/8.104, allocations: 190.2 kB / 3.823 GB, free: 177.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/8.104, allocations: 8 kB / 3.823 GB, free: 177.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.453e-05/8.104, allocations: 332.8 kB / 3.824 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006423/8.105, allocations: 382.2 kB / 3.824 GB, free: 176.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008832/8.105, allocations: 0.7102 MB / 3.825 GB, free: 176.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/8.107, allocations: 0.8319 MB / 3.826 GB, free: 175.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/8.107, allocations: 0 / 3.826 GB, free: 175.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001963/8.109, allocations: 1.055 MB / 3.827 GB, free: 175.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/8.109, allocations: 105.7 kB / 3.827 GB, free: 175.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/8.109, allocations: 7.859 kB / 3.827 GB, free: 175.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/8.109, allocations: 0 / 3.827 GB, free: 175.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/8.11, allocations: 159.9 kB / 3.827 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/8.11, allocations: 6.562 kB / 3.827 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/8.112, allocations: 141.5 kB / 3.827 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/8.112, allocations: 51.83 kB / 3.827 GB, free: 175 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/8.112, allocations: 7.828 kB / 3.827 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001642/8.114, allocations: 0.8962 MB / 3.828 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/8.114, allocations: 0 / 3.828 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/8.114, allocations: 3.281 kB / 3.828 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/8.114, allocations: 166.6 kB / 3.828 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/8.114, allocations: 0 / 3.828 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/8.116, allocations: 157.9 kB / 3.828 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-05/8.116, allocations: 42.05 kB / 3.828 GB, free: 174.4 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.0007642/8.117, allocations: 386.4 kB / 3.829 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/8.118, allocations: 137 kB / 3.829 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/8.12, allocations: 1.069 MB / 3.83 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/8.12, allocations: 6.188 kB / 3.83 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/8.12, allocations: 0.5469 kB / 3.83 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/8.12, allocations: 3.984 kB / 3.83 GB, free: 173.4 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.003807/8.123, allocations: 2.531 MB / 3.832 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/8.123, allocations: 0 / 3.832 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/8.124, allocations: 133.5 kB / 3.832 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/8.124, allocations: 5.938 kB / 3.832 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/8.124, allocations: 24.55 kB / 3.832 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/8.124, allocations: 9.5 kB / 3.832 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/8.124, allocations: 3.531 kB / 3.832 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/8.127, allocations: 1.57 MB / 3.834 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006414/8.127, allocations: 370.6 kB / 3.834 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/8.127, allocations: 22.97 kB / 3.834 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/8.129, allocations: 102.3 kB / 3.834 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/8.129, allocations: 49.62 kB / 3.834 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.57e-05/8.129, allocations: 26.61 kB / 3.835 GB, free: 170.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001753/8.131, allocations: 1.161 MB / 3.836 GB, free: 169.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/8.131, allocations: 3.938 kB / 3.836 GB, free: 169.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002342/8.133, allocations: 0.743 MB / 3.836 GB, free: 169.4 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.002504/8.136, allocations: 1.916 MB / 3.838 GB, free: 168.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002472/8.138, allocations: 1.426 MB / 3.84 GB, free: 167.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/8.138, allocations: 4 kB / 3.84 GB, free: 167.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000687/8.139, allocations: 426.7 kB / 3.84 GB, free: 167.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/8.142, allocations: 0.5939 MB / 3.841 GB, free: 166.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/8.146, allocations: 2.524 MB / 3.843 GB, free: 164 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/8.147, allocations: 1.169 MB / 3.844 GB, free: 162.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002198/8.149, allocations: 372.5 kB / 3.845 GB, free: 162.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/8.149, allocations: 127.4 kB / 3.845 GB, free: 162.3 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/8.149, allocations: 0 / 3.845 GB, free: 162.3 MB / 0.948 GB Notification: Performance of Templates: time 0.06294/8.212, allocations: 48.77 MB / 3.892 GB, free: 114.1 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)