Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 293 MB / 309 MB, free: 4.785 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.001208/0.001208, allocations: 176.6 kB / 378.7 MB, free: 1.008 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.956/1.956, allocations: 205.4 MB / 0.6383 GB, free: 8.211 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008079/0.0008078, allocations: 96.3 kB / 0.7527 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004729, allocations: 15.98 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3023, allocations: 116.4 MB / 0.9904 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.859/6.162, allocations: 2.086 GB / 3.076 GB, free: 129.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/6.162, allocations: 101.1 kB / 3.076 GB, free: 129 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.85/9.012, allocations: 0.7427 GB / 3.819 GB, free: 101.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.387e-06/9.012, allocations: 0 / 3.819 GB, free: 101.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003078/9.013, allocations: 32 kB / 3.819 GB, free: 101.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.007333/9.02, allocations: 2.088 MB / 3.821 GB, free: 99.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/9.02, allocations: 8.031 kB / 3.821 GB, free: 99.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/9.023, allocations: 306.8 kB / 3.821 GB, free: 98.94 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/9.027, allocations: 1.434 MB / 3.823 GB, free: 97.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.569e-05/9.027, allocations: 57.69 kB / 3.823 GB, free: 97.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/9.028, allocations: 84.38 kB / 3.823 GB, free: 97.31 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/9.03, allocations: 0.9539 MB / 3.824 GB, free: 96.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/9.03, allocations: 3.938 kB / 3.824 GB, free: 96.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/9.03, allocations: 28 kB / 3.824 GB, free: 96.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/9.03, allocations: 12 kB / 3.824 GB, free: 96.28 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/9.032, allocations: 0.8718 MB / 3.825 GB, free: 95.41 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.00749/9.039, allocations: 3.569 MB / 3.828 GB, free: 91.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/9.041, allocations: 0.7925 MB / 3.829 GB, free: 90.87 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/9.042, allocations: 464.6 kB / 3.83 GB, free: 90.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003906/9.042, allocations: 295.7 kB / 3.83 GB, free: 90.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/9.042, allocations: 42.94 kB / 3.83 GB, free: 90.02 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001795/9.044, allocations: 335.2 kB / 3.83 GB, free: 89.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 7.594e-06/9.044, allocations: 0 / 3.83 GB, free: 89.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.003094/9.047, allocations: 1.337 MB / 3.832 GB, free: 88.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/9.047, allocations: 218.1 kB / 3.832 GB, free: 88.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/9.05, allocations: 1.632 MB / 3.833 GB, free: 86.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/9.05, allocations: 41.7 kB / 3.833 GB, free: 86.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/9.051, allocations: 0.5659 MB / 3.834 GB, free: 85.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/9.051, allocations: 181.9 kB / 3.834 GB, free: 85.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/9.051, allocations: 8 kB / 3.834 GB, free: 85.63 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.351e-05/9.051, allocations: 334 kB / 3.834 GB, free: 85.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000653/9.052, allocations: 380.9 kB / 3.835 GB, free: 84.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008848/9.052, allocations: 0.7197 MB / 3.835 GB, free: 84.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/9.054, allocations: 0.8275 MB / 3.836 GB, free: 83.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/9.054, allocations: 4 kB / 3.836 GB, free: 83.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002106/9.056, allocations: 1.056 MB / 3.837 GB, free: 82.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/9.056, allocations: 93.5 kB / 3.837 GB, free: 82.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/9.056, allocations: 7.984 kB / 3.837 GB, free: 82.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/9.056, allocations: 4 kB / 3.837 GB, free: 82.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/9.057, allocations: 167.7 kB / 3.838 GB, free: 81.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/9.057, allocations: 3.938 kB / 3.838 GB, free: 81.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/9.059, allocations: 151.8 kB / 3.838 GB, free: 81.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/9.059, allocations: 47.88 kB / 3.838 GB, free: 81.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/9.059, allocations: 4 kB / 3.838 GB, free: 81.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/9.06, allocations: 0.8954 MB / 3.839 GB, free: 80.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/9.061, allocations: 0 / 3.839 GB, free: 80.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/9.061, allocations: 7.984 kB / 3.839 GB, free: 80.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/9.061, allocations: 159.7 kB / 3.839 GB, free: 80.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/9.061, allocations: 8 kB / 3.839 GB, free: 80.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/9.063, allocations: 151.8 kB / 3.839 GB, free: 80.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/9.063, allocations: 39.95 kB / 3.839 GB, free: 80.45 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.0007818/9.064, allocations: 377 kB / 3.839 GB, free: 80.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000463/9.065, allocations: 142.2 kB / 3.839 GB, free: 79.93 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/9.067, allocations: 1.078 MB / 3.841 GB, free: 78.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/9.067, allocations: 4 kB / 3.841 GB, free: 78.83 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/9.067, allocations: 4 kB / 3.841 GB, free: 78.83 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/9.067, allocations: 3.984 kB / 3.841 GB, free: 78.82 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.00438/9.071, allocations: 2.527 MB / 3.843 GB, free: 76.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/9.071, allocations: 8 kB / 3.843 GB, free: 76.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006661/9.072, allocations: 131.8 kB / 3.843 GB, free: 76.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/9.072, allocations: 4 kB / 3.843 GB, free: 76.05 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/9.072, allocations: 31.92 kB / 3.843 GB, free: 76.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/9.072, allocations: 4 kB / 3.843 GB, free: 76.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/9.072, allocations: 8.188 kB / 3.843 GB, free: 76.01 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/9.074, allocations: 1.57 MB / 3.845 GB, free: 74.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008506/9.075, allocations: 367.2 kB / 3.845 GB, free: 74.01 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/9.076, allocations: 19.94 kB / 3.845 GB, free: 73.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/9.077, allocations: 107.7 kB / 3.845 GB, free: 73.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/9.077, allocations: 52.31 kB / 3.845 GB, free: 73.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/9.078, allocations: 23.98 kB / 3.845 GB, free: 73.81 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00216/9.08, allocations: 1.16 MB / 3.846 GB, free: 72.65 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/9.08, allocations: 0 / 3.846 GB, free: 72.65 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003432/9.083, allocations: 0.7414 MB / 3.847 GB, free: 71.91 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.003938/9.087, allocations: 1.917 MB / 3.849 GB, free: 69.92 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002901/9.09, allocations: 1.426 MB / 3.85 GB, free: 68.47 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/9.09, allocations: 0 / 3.85 GB, free: 68.47 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007218/9.091, allocations: 426.7 kB / 3.851 GB, free: 68.06 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004113/9.095, allocations: 0.591 MB / 3.851 GB, free: 67.47 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/9.099, allocations: 2.506 MB / 3.854 GB, free: 64.91 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/9.1, allocations: 1.169 MB / 3.855 GB, free: 63.71 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001881/9.102, allocations: 369.5 kB / 3.855 GB, free: 63.35 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/9.102, allocations: 131.4 kB / 3.855 GB, free: 63.22 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/9.102, allocations: 0 / 3.855 GB, free: 63.22 MB / 0.948 GB Notification: Performance of Templates: time 0.06437/9.167, allocations: 48.76 MB / 3.903 GB, free: 14.65 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)