Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.589/0.589, allocations: 94.7 MB / 107.3 MB, free: 5.18 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001197/0.001197, allocations: 171.8 kB / 130.7 MB, free: 7.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.646/1.646, allocations: 170.5 MB / 324.5 MB, free: 4.062 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001653/0.001653, allocations: 112.5 kB / 386.6 MB, free: 16.22 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.598e-05/4.599e-05, allocations: 4 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.4941, allocations: 61.52 MB / 0.5054 GB, free: 49.41 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.738, allocations: 451.9 MB / 0.9467 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/1.738, allocations: 94.89 kB / 0.9468 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9448/2.683, allocations: 297 MB / 1.237 GB, free: 78.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.983e-06/2.683, allocations: 0 / 1.237 GB, free: 78.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001338/2.683, allocations: 35.91 kB / 1.237 GB, free: 78.47 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.00311/2.686, allocations: 1.365 MB / 1.238 GB, free: 77.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/2.686, allocations: 12.03 kB / 1.238 GB, free: 77.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000592/2.687, allocations: 168.3 kB / 1.238 GB, free: 76.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/2.689, allocations: 1.148 MB / 1.24 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/2.689, allocations: 58.98 kB / 1.24 GB, free: 75.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/2.689, allocations: 72 kB / 1.24 GB, free: 75.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/2.691, allocations: 0.9373 MB / 1.241 GB, free: 74.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/2.691, allocations: 4 kB / 1.241 GB, free: 74.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/2.691, allocations: 28 kB / 1.241 GB, free: 74.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/2.691, allocations: 16 kB / 1.241 GB, free: 74.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/2.692, allocations: 0.7196 MB / 1.241 GB, free: 73.83 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.004905/2.697, allocations: 4.036 MB / 1.245 GB, free: 69.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/2.698, allocations: 0.5841 MB / 1.246 GB, free: 69.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/2.699, allocations: 310.1 kB / 1.246 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/2.699, allocations: 180.3 kB / 1.246 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/2.699, allocations: 50.88 kB / 1.246 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008192/2.7, allocations: 193 kB / 1.247 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 3.086e-06/2.7, allocations: 0 / 1.247 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.002329/2.702, allocations: 0.9324 MB / 1.247 GB, free: 67.35 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/2.702, allocations: 295.2 kB / 1.248 GB, free: 66.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/2.704, allocations: 1.263 MB / 1.249 GB, free: 65.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.806e-05/2.704, allocations: 41.7 kB / 1.249 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/2.704, allocations: 0.5866 MB / 1.25 GB, free: 65.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/2.704, allocations: 175 kB / 1.25 GB, free: 64.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/2.704, allocations: 12 kB / 1.25 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.46e-05/2.704, allocations: 334 kB / 1.25 GB, free: 64.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/2.705, allocations: 309.5 kB / 1.25 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/2.706, allocations: 0.5687 MB / 1.251 GB, free: 63.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/2.706, allocations: 384.7 kB / 1.251 GB, free: 63.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/2.706, allocations: 0 / 1.251 GB, free: 63.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002447/2.708, allocations: 1.185 MB / 1.252 GB, free: 62.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004111/2.709, allocations: 1.529 MB / 1.254 GB, free: 60.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/2.709, allocations: 4 kB / 1.254 GB, free: 60.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/2.712, allocations: 0.5655 MB / 1.254 GB, free: 59.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/2.713, allocations: 159.8 kB / 1.255 GB, free: 59.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/2.714, allocations: 0.9137 MB / 1.256 GB, free: 58.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/2.715, allocations: 91.11 kB / 1.256 GB, free: 58.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/2.715, allocations: 55.95 kB / 1.256 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/2.715, allocations: 5.875 kB / 1.256 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/2.717, allocations: 0.802 MB / 1.256 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/2.717, allocations: 7.984 kB / 1.256 GB, free: 57.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.936e-06/2.717, allocations: 12.03 kB / 1.256 GB, free: 57.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007482/2.717, allocations: 187.7 kB / 1.257 GB, free: 57.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/2.717, allocations: 11.98 kB / 1.257 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/2.719, allocations: 83.88 kB / 1.257 GB, free: 57.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/2.719, allocations: 43.97 kB / 1.257 GB, free: 57.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 64 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.000208/2.719, allocations: 160.7 kB / 1.257 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/2.719, allocations: 126.4 kB / 1.257 GB, free: 57.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/2.721, allocations: 1.001 MB / 1.258 GB, free: 56.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/2.721, allocations: 4 kB / 1.258 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/2.721, allocations: 0 / 1.258 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/2.721, allocations: 3.984 kB / 1.258 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/2.724, allocations: 1.977 MB / 1.26 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/2.724, allocations: 0 / 1.26 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/2.725, allocations: 103.8 kB / 1.26 GB, free: 54.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002/2.727, allocations: 395.7 kB / 1.26 GB, free: 53.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/2.727, allocations: 27.98 kB / 1.26 GB, free: 53.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006187/2.727, allocations: 0.7833 MB / 1.261 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/2.727, allocations: 0 / 1.261 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/2.729, allocations: 1.303 MB / 1.263 GB, free: 51.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/2.729, allocations: 247.5 kB / 1.263 GB, free: 51.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/2.729, allocations: 20 kB / 1.263 GB, free: 51.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/2.73, allocations: 59.94 kB / 1.263 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/2.73, allocations: 44.48 kB / 1.263 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/2.731, allocations: 27.94 kB / 1.263 GB, free: 51.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001249/2.732, allocations: 0.9821 MB / 1.264 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/2.732, allocations: 0 / 1.264 GB, free: 50.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001947/2.734, allocations: 0.667 MB / 1.265 GB, free: 49.39 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009014/2.735, allocations: 450.1 kB / 1.265 GB, free: 48.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001927/2.737, allocations: 1.323 MB / 1.266 GB, free: 47.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/2.737, allocations: 0 / 1.266 GB, free: 47.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004941/2.737, allocations: 335.1 kB / 1.267 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/2.739, allocations: 483.4 kB / 1.267 GB, free: 46.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/2.742, allocations: 1.551 MB / 1.269 GB, free: 45.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/2.743, allocations: 1.151 MB / 1.27 GB, free: 44.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001636/2.744, allocations: 414 kB / 1.27 GB, free: 43.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/2.744, allocations: 83.34 kB / 1.27 GB, free: 43.57 MB / 0.5261 GB Notification: Performance of SimCode: time 1.293e-06/2.744, allocations: 0 / 1.27 GB, free: 43.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.04354/2.788, allocations: 28.66 MB / 1.298 GB, free: 15.04 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)