Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.362/1.362, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001208, allocations: 177.8 kB / 327.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.4 MB / 0.5785 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000724/0.000724, allocations: 86.34 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004468, allocations: 17.72 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2128, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.782/4.995, allocations: 2.203 GB / 3.104 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/4.995, allocations: 93.03 kB / 3.104 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.828/7.823, allocations: 0.719 GB / 3.823 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.789e-06/7.823, allocations: 3.656 kB / 3.823 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004656/7.823, allocations: 40.42 kB / 3.823 GB, free: 167.7 MB / 0.8855 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.01068/7.834, allocations: 2.076 MB / 3.825 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/7.834, allocations: 10.47 kB / 3.825 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003703/7.838, allocations: 307.3 kB / 3.825 GB, free: 167 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004778/7.843, allocations: 1.435 MB / 3.827 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/7.843, allocations: 62.88 kB / 3.827 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003911/7.843, allocations: 79.62 kB / 3.827 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/7.845, allocations: 0.957 MB / 3.828 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/7.846, allocations: 3.938 kB / 3.828 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/7.846, allocations: 25.53 kB / 3.828 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/7.846, allocations: 17.34 kB / 3.828 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/7.847, allocations: 0.8697 MB / 3.829 GB, free: 166.5 MB / 0.8855 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.006959/7.854, allocations: 3.553 MB / 3.832 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/7.856, allocations: 0.7939 MB / 3.833 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000709/7.856, allocations: 466 kB / 3.834 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003551/7.857, allocations: 298.7 kB / 3.834 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/7.857, allocations: 41.03 kB / 3.834 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001755/7.858, allocations: 331 kB / 3.834 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=52): time 6.793e-06/7.858, allocations: 2.75 kB / 3.834 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52): time 0.003263/7.862, allocations: 1.347 MB / 3.836 GB, free: 165 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/7.862, allocations: 212 kB / 3.836 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003462/7.865, allocations: 1.631 MB / 3.837 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/7.866, allocations: 43.3 kB / 3.837 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006593/7.866, allocations: 0.567 MB / 3.838 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/7.866, allocations: 179.9 kB / 3.838 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/7.867, allocations: 15.06 kB / 3.838 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001402/7.867, allocations: 324.5 kB / 3.838 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008265/7.868, allocations: 386.5 kB / 3.839 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/7.869, allocations: 0.7103 MB / 3.839 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/7.87, allocations: 0.8394 MB / 3.84 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/7.87, allocations: 0 / 3.84 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00246/7.873, allocations: 1.049 MB / 3.841 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-05/7.873, allocations: 97.34 kB / 3.841 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.419e-05/7.873, allocations: 10.97 kB / 3.841 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/7.873, allocations: 0 / 3.841 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/7.874, allocations: 168.7 kB / 3.842 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/7.874, allocations: 0 / 3.842 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/7.876, allocations: 149 kB / 3.842 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/7.876, allocations: 46.22 kB / 3.842 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/7.876, allocations: 5.562 kB / 3.842 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001564/7.878, allocations: 0.8945 MB / 3.843 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/7.878, allocations: 3.656 kB / 3.843 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/7.878, allocations: 3.594 kB / 3.843 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/7.879, allocations: 159.1 kB / 3.843 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/7.879, allocations: 6 kB / 3.843 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/7.881, allocations: 149.9 kB / 3.843 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/7.881, allocations: 43.59 kB / 3.843 GB, free: 163.5 MB / 0.8855 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.0007748/7.882, allocations: 382 kB / 3.843 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004802/7.882, allocations: 139.8 kB / 3.843 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/7.884, allocations: 1.068 MB / 3.845 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/7.884, allocations: 5.969 kB / 3.845 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/7.884, allocations: 0 / 3.845 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/7.884, allocations: 7.812 kB / 3.845 GB, free: 163.2 MB / 0.8855 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.004438/7.889, allocations: 2.52 MB / 3.847 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/7.889, allocations: 3.656 kB / 3.847 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/7.89, allocations: 138.2 kB / 3.847 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.709e-05/7.89, allocations: 11.22 kB / 3.847 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/7.89, allocations: 23.61 kB / 3.847 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/7.89, allocations: 4.5 kB / 3.847 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/7.89, allocations: 6.906 kB / 3.847 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/7.892, allocations: 1.574 MB / 3.849 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008637/7.893, allocations: 375 kB / 3.849 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004459/7.894, allocations: 19.22 kB / 3.849 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/7.895, allocations: 105.2 kB / 3.849 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/7.895, allocations: 50.69 kB / 3.849 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/7.895, allocations: 32.19 kB / 3.849 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002282/7.898, allocations: 1.16 MB / 3.85 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.91e-07/7.898, allocations: 0 / 3.85 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003123/7.901, allocations: 0.743 MB / 3.851 GB, free: 162.1 MB / 0.8855 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.003576/7.904, allocations: 1.908 MB / 3.853 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003619/7.908, allocations: 1.418 MB / 3.854 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/7.908, allocations: 1.656 kB / 3.854 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000868/7.909, allocations: 429.1 kB / 3.855 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/7.913, allocations: 0.6009 MB / 3.855 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/7.917, allocations: 2.513 MB / 3.858 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009289/7.918, allocations: 1.168 MB / 3.859 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002085/7.92, allocations: 371.4 kB / 3.859 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/7.921, allocations: 127 kB / 3.859 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of SimCode: time 9.61e-07/7.921, allocations: 0 / 3.859 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.07691/7.998, allocations: 48.71 MB / 3.907 GB, free: 158.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)