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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001223/0.001222, allocations: 185 kB / 377.1 MB, free: 1.504 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.987/1.987, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.001017/0.001017, allocations: 90.41 kB / 0.751 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004059, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3439, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.732/7.076, allocations: 2.086 GB / 3.074 GB, free: 95.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/7.077, allocations: 102.5 kB / 3.074 GB, free: 95.21 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.946/10.02, allocations: 0.7444 GB / 3.818 GB, free: 69.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.084e-06/10.02, allocations: 3.938 kB / 3.818 GB, free: 69.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001428/10.02, allocations: 35.98 kB / 3.819 GB, free: 69.19 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.00663/10.03, allocations: 2.088 MB / 3.821 GB, free: 67.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/10.03, allocations: 12.03 kB / 3.821 GB, free: 67.03 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/10.03, allocations: 306.8 kB / 3.821 GB, free: 66.73 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003277/10.04, allocations: 1.378 MB / 3.822 GB, free: 65.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/10.04, allocations: 57.31 kB / 3.822 GB, free: 65.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/10.04, allocations: 84 kB / 3.822 GB, free: 65.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/10.04, allocations: 0.9495 MB / 3.823 GB, free: 64.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/10.04, allocations: 0.8594 kB / 3.823 GB, free: 64.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/10.04, allocations: 24 kB / 3.823 GB, free: 64.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/10.04, allocations: 19.98 kB / 3.823 GB, free: 64.14 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/10.04, allocations: 0.8718 MB / 3.824 GB, free: 63.27 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.005645/10.04, allocations: 3.57 MB / 3.828 GB, free: 59.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/10.05, allocations: 0.7967 MB / 3.828 GB, free: 58.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003664/10.05, allocations: 295.7 kB / 3.829 GB, free: 58.37 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/10.05, allocations: 39.11 kB / 3.829 GB, free: 58.32 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001498/10.05, allocations: 339.1 kB / 3.829 GB, free: 57.99 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 4.258e-06/10.05, allocations: 4 kB / 3.829 GB, free: 57.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.00262/10.05, allocations: 1.345 MB / 3.83 GB, free: 56.63 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/10.05, allocations: 214 kB / 3.831 GB, free: 56.37 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/10.05, allocations: 1.48 MB / 3.832 GB, free: 54.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/10.05, allocations: 45.7 kB / 3.832 GB, free: 54.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/10.05, allocations: 0.5558 MB / 3.833 GB, free: 54.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/10.05, allocations: 177.4 kB / 3.833 GB, free: 54.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/10.05, allocations: 8 kB / 3.833 GB, free: 54.08 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.73e-05/10.05, allocations: 326 kB / 3.833 GB, free: 53.76 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/10.05, allocations: 388.9 kB / 3.833 GB, free: 53.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008084/10.06, allocations: 0.7034 MB / 3.834 GB, free: 52.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/10.06, allocations: 471.8 kB / 3.835 GB, free: 52.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/10.06, allocations: 0 / 3.835 GB, free: 52.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001806/10.06, allocations: 1.056 MB / 3.836 GB, free: 51.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/10.06, allocations: 101.5 kB / 3.836 GB, free: 50.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/10.06, allocations: 0 / 3.836 GB, free: 50.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/10.06, allocations: 4 kB / 3.836 GB, free: 50.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/10.06, allocations: 163.8 kB / 3.836 GB, free: 50.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/10.06, allocations: 4 kB / 3.836 GB, free: 50.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/10.06, allocations: 155.7 kB / 3.836 GB, free: 50.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.822e-05/10.06, allocations: 39.95 kB / 3.836 GB, free: 50.56 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/10.06, allocations: 4 kB / 3.836 GB, free: 50.56 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001572/10.06, allocations: 0.907 MB / 3.837 GB, free: 49.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/10.06, allocations: 3.984 kB / 3.837 GB, free: 49.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/10.06, allocations: 8 kB / 3.837 GB, free: 49.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007782/10.06, allocations: 159.8 kB / 3.837 GB, free: 49.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/10.06, allocations: 0 / 3.837 GB, free: 49.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/10.06, allocations: 151.8 kB / 3.837 GB, free: 49.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/10.06, allocations: 39.95 kB / 3.837 GB, free: 49.29 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.0008979/10.07, allocations: 384.9 kB / 3.838 GB, free: 48.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/10.07, allocations: 138.3 kB / 3.838 GB, free: 48.77 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/10.07, allocations: 1.075 MB / 3.839 GB, free: 47.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/10.07, allocations: 11.98 kB / 3.839 GB, free: 47.67 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/10.07, allocations: 3.938 kB / 3.839 GB, free: 47.66 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/10.07, allocations: 0 / 3.839 GB, free: 47.66 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.00352/10.07, allocations: 2.518 MB / 3.841 GB, free: 45.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/10.07, allocations: 4 kB / 3.841 GB, free: 45.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/10.07, allocations: 131.8 kB / 3.841 GB, free: 44.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/10.07, allocations: 11.94 kB / 3.842 GB, free: 44.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/10.07, allocations: 19.98 kB / 3.842 GB, free: 44.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/10.07, allocations: 11.89 kB / 3.842 GB, free: 44.87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/10.07, allocations: 8.109 kB / 3.842 GB, free: 44.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/10.07, allocations: 1.701 MB / 3.843 GB, free: 43.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006883/10.08, allocations: 371.1 kB / 3.844 GB, free: 42.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/10.08, allocations: 19.98 kB / 3.844 GB, free: 42.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/10.08, allocations: 91.89 kB / 3.844 GB, free: 42.56 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/10.08, allocations: 60.31 kB / 3.844 GB, free: 42.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/10.08, allocations: 27.98 kB / 3.844 GB, free: 42.47 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001643/10.08, allocations: 1.16 MB / 3.845 GB, free: 41.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/10.08, allocations: 0 / 3.845 GB, free: 41.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002432/10.08, allocations: 0.7453 MB / 3.846 GB, free: 40.56 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.002685/10.08, allocations: 1.905 MB / 3.847 GB, free: 38.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0024/10.09, allocations: 1.437 MB / 3.849 GB, free: 37.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/10.09, allocations: 4 kB / 3.849 GB, free: 37.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006515/10.09, allocations: 426.7 kB / 3.849 GB, free: 36.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/10.09, allocations: 0.5863 MB / 3.85 GB, free: 36.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/10.09, allocations: 2.509 MB / 3.852 GB, free: 33.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/10.09, allocations: 1.196 MB / 3.853 GB, free: 32.32 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001883/10.1, allocations: 369.5 kB / 3.854 GB, free: 31.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/10.1, allocations: 131.3 kB / 3.854 GB, free: 31.84 MB / 0.948 GB Notification: Performance of SimCode: time 1.252e-06/10.1, allocations: 3.938 kB / 3.854 GB, free: 31.83 MB / 0.948 GB Notification: Performance of Templates: time 0.6248/10.72, allocations: 48.31 MB / 3.901 GB, free: 141.5 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)