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.55/1.55, allocations: 285.4 MB / 298 MB, free: 5.984 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.0009776/0.0009775, allocations: 176.8 kB / 366.4 MB, free: 2.09 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.276/1.276, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.0007936/0.0007935, allocations: 92.02 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.079e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6478, allocations: 115.3 MB / 0.9709 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.607/5.255, allocations: 2.085 GB / 3.055 GB, free: 54.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/5.255, allocations: 96.55 kB / 3.056 GB, free: 53.97 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.737/7.992, allocations: 0.7437 GB / 3.799 GB, free: 39.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.533e-06/7.992, allocations: 4 kB / 3.799 GB, free: 39.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002309/7.993, allocations: 39.98 kB / 3.799 GB, free: 39.83 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.004758/7.997, allocations: 1.59 MB / 3.801 GB, free: 38.19 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/7.997, allocations: 12.03 kB / 3.801 GB, free: 38.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/8.001, allocations: 305.8 kB / 3.801 GB, free: 37.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003726/8.004, allocations: 1.333 MB / 3.802 GB, free: 36.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.086e-05/8.004, allocations: 57.31 kB / 3.803 GB, free: 36.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003643/8.005, allocations: 76 kB / 3.803 GB, free: 36.36 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/8.007, allocations: 0.8989 MB / 3.803 GB, free: 35.43 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/8.007, allocations: 0 / 3.803 GB, free: 35.43 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/8.007, allocations: 27.95 kB / 3.803 GB, free: 35.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/8.007, allocations: 16 kB / 3.804 GB, free: 35.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/8.008, allocations: 0.7665 MB / 3.804 GB, free: 34.62 MB / 0.948 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.006877/8.015, allocations: 3.573 MB / 3.808 GB, free: 30.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/8.016, allocations: 0.724 MB / 3.808 GB, free: 30.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005252/8.017, allocations: 406 kB / 3.809 GB, free: 29.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003738/8.017, allocations: 291.7 kB / 3.809 GB, free: 29.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/8.017, allocations: 39 kB / 3.809 GB, free: 29.34 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001757/8.019, allocations: 339.2 kB / 3.809 GB, free: 29.01 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 6.392e-06/8.019, allocations: 0 / 3.809 GB, free: 29.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.002071/8.021, allocations: 0.8809 MB / 3.81 GB, free: 28.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/8.021, allocations: 214 kB / 3.811 GB, free: 27.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/8.023, allocations: 1.428 MB / 3.812 GB, free: 26.42 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/8.023, allocations: 45.7 kB / 3.812 GB, free: 26.37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/8.024, allocations: 0.564 MB / 3.813 GB, free: 25.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/8.024, allocations: 185.3 kB / 3.813 GB, free: 25.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/8.024, allocations: 8 kB / 3.813 GB, free: 25.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.1e-05/8.024, allocations: 337.8 kB / 3.813 GB, free: 25.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/8.024, allocations: 329 kB / 3.813 GB, free: 24.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/8.025, allocations: 0.663 MB / 3.814 GB, free: 24.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/8.026, allocations: 409.6 kB / 3.814 GB, free: 23.76 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/8.026, allocations: 4 kB / 3.814 GB, free: 23.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001492/8.027, allocations: 0.9463 MB / 3.815 GB, free: 22.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/8.027, allocations: 101.5 kB / 3.815 GB, free: 22.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/8.027, allocations: 3.984 kB / 3.815 GB, free: 22.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/8.027, allocations: 4 kB / 3.815 GB, free: 22.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/8.028, allocations: 167.7 kB / 3.816 GB, free: 22.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/8.028, allocations: 4 kB / 3.816 GB, free: 22.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/8.03, allocations: 155.6 kB / 3.816 GB, free: 22.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/8.03, allocations: 39.95 kB / 3.816 GB, free: 22.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/8.03, allocations: 6.656 kB / 3.816 GB, free: 22.32 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/8.031, allocations: 0.7901 MB / 3.817 GB, free: 21.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/8.031, allocations: 7.984 kB / 3.817 GB, free: 21.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/8.031, allocations: 0 / 3.817 GB, free: 21.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/8.032, allocations: 163.7 kB / 3.817 GB, free: 21.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/8.032, allocations: 4 kB / 3.817 GB, free: 21.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/8.034, allocations: 155.7 kB / 3.817 GB, free: 21.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/8.034, allocations: 43.94 kB / 3.817 GB, free: 21.16 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 () * 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.000216/8.034, allocations: 144.9 kB / 3.817 GB, free: 21.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/8.034, allocations: 138.3 kB / 3.817 GB, free: 20.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/8.036, allocations: 0.9612 MB / 3.818 GB, free: 19.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/8.036, allocations: 4 kB / 3.818 GB, free: 19.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/8.036, allocations: 8 kB / 3.818 GB, free: 19.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/8.036, allocations: 3.984 kB / 3.818 GB, free: 19.89 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.003126/8.039, allocations: 2.409 MB / 3.82 GB, free: 17.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/8.039, allocations: 4 kB / 3.82 GB, free: 17.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/8.04, allocations: 135.8 kB / 3.821 GB, free: 17.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/8.04, allocations: 12.28 kB / 3.821 GB, free: 17.23 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/8.04, allocations: 23.94 kB / 3.821 GB, free: 17.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/8.04, allocations: 4 kB / 3.821 GB, free: 17.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/8.04, allocations: 8 kB / 3.821 GB, free: 17.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/8.042, allocations: 1.545 MB / 3.822 GB, free: 15.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006189/8.042, allocations: 367.2 kB / 3.823 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/8.042, allocations: 16 kB / 3.823 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/8.044, allocations: 111.7 kB / 3.823 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/8.044, allocations: 48.27 kB / 3.823 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/8.044, allocations: 31.98 kB / 3.823 GB, free: 14.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001406/8.045, allocations: 1.116 MB / 3.824 GB, free: 13.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/8.045, allocations: 0 / 3.824 GB, free: 13.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002208/8.048, allocations: 0.7336 MB / 3.825 GB, free: 13.11 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 () * 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.002431/8.05, allocations: 1.909 MB / 3.826 GB, free: 11.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001843/8.052, allocations: 1.325 MB / 3.828 GB, free: 9.766 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/8.052, allocations: 4 kB / 3.828 GB, free: 9.762 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004629/8.052, allocations: 366.3 kB / 3.828 GB, free: 9.398 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/8.055, allocations: 0.5975 MB / 3.829 GB, free: 8.809 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/8.058, allocations: 1.696 MB / 3.83 GB, free: 7.055 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/8.059, allocations: 1.199 MB / 3.831 GB, free: 5.828 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002362/8.061, allocations: 0.5296 MB / 3.832 GB, free: 5.293 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/8.061, allocations: 91.39 kB / 3.832 GB, free: 5.203 MB / 0.948 GB Notification: Performance of SimCode: time 1.252e-06/8.061, allocations: 0 / 3.832 GB, free: 5.203 MB / 0.948 GB Notification: Performance of Templates: time 0.6137/8.675, allocations: 55.23 MB / 3.886 GB, free: 171.2 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)