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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001164, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004654, allocations: 14.78 kB / 0.6735 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2413, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.662/0.9034, allocations: 164.8 MB / 0.948 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.919, allocations: 8.404 MB / 0.9562 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.9217, allocations: 44.34 kB / 0.9563 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.9245, allocations: 0.7828 MB / 0.957 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006949/0.9314, allocations: 1.757 MB / 0.9588 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009681/0.9411, allocations: 2.757 MB / 0.9615 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005278/0.9464, allocations: 1.688 MB / 0.9631 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003307/0.9497, allocations: 1.16 MB / 0.9642 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003925/0.9537, allocations: 1.105 MB / 0.9653 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.9565, allocations: 0.8611 MB / 0.9662 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008657/0.9573, allocations: 77 kB / 0.9662 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003994/0.9613, allocations: 0.8264 MB / 0.967 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.9626, allocations: 420.3 kB / 0.9674 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.9639, allocations: 286.8 kB / 0.9677 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004245/0.9681, allocations: 1.934 MB / 0.9696 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.9682, allocations: 0 / 0.9696 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.647e-06/0.9682, allocations: 0 / 0.9696 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.74e-05/0.9682, allocations: 6.844 kB / 0.9696 GB, free: 4.781 MB / 0.7169 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.006021/0.9743, allocations: 1.88 MB / 0.9714 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.9743, allocations: 8.75 kB / 0.9714 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.9755, allocations: 228.7 kB / 0.9717 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.9781, allocations: 1.285 MB / 0.9729 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.9783, allocations: 70.03 kB / 0.973 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.9785, allocations: 77.22 kB / 0.9731 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.9804, allocations: 0.9268 MB / 0.974 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.9805, allocations: 0 / 0.974 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/0.9805, allocations: 31.3 kB / 0.974 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.9806, allocations: 14.31 kB / 0.974 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.9824, allocations: 0.8421 MB / 0.9748 GB, free: 19.04 MB / 0.7325 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.006923/0.9894, allocations: 3.502 MB / 0.9783 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.9908, allocations: 0.7945 MB / 0.979 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.555e-05/0.9909, allocations: 29.88 kB / 0.9791 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.9909, allocations: 42.56 kB / 0.9791 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001102/0.992, allocations: 232.5 kB / 0.9793 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=52): time 3.166e-06/0.9921, allocations: 0 / 0.9793 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=52): time 0.002717/0.9948, allocations: 1.35 MB / 0.9806 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.9949, allocations: 214.6 kB / 0.9808 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.9975, allocations: 1.664 MB / 0.9825 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.9977, allocations: 41.92 kB / 0.9825 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.9981, allocations: 0.5582 MB / 0.9831 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.9983, allocations: 187 kB / 0.9832 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.9983, allocations: 15.17 kB / 0.9832 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.9985, allocations: 329.6 kB / 0.9836 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006915/0.9992, allocations: 385.2 kB / 0.9839 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009438/1, allocations: 0.6948 MB / 0.9846 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007768/1.001, allocations: 463.8 kB / 0.985 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.001, allocations: 0 / 0.985 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001994/1.003, allocations: 1.058 MB / 0.9861 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/1.003, allocations: 99.62 kB / 0.9862 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/1.003, allocations: 0 / 0.9862 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/1.003, allocations: 1.938 kB / 0.9862 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/1.004, allocations: 162.3 kB / 0.9863 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.004, allocations: 2.938 kB / 0.9863 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/1.006, allocations: 165.5 kB / 0.9865 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-05/1.006, allocations: 39.08 kB / 0.9865 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/1.006, allocations: 4.875 kB / 0.9865 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00164/1.007, allocations: 0.8925 MB / 0.9874 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.008, allocations: 2.75 kB / 0.9874 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/1.008, allocations: 9.125 kB / 0.9874 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/1.008, allocations: 162.4 kB / 0.9876 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/1.008, allocations: 3.156 kB / 0.9876 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/1.01, allocations: 165.4 kB / 0.9877 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/1.01, allocations: 33.75 kB / 0.9878 GB, free: 13.98 MB / 0.7325 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.000771/1.011, allocations: 377.4 kB / 0.9881 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/1.011, allocations: 136.8 kB / 0.9883 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/1.013, allocations: 1.052 MB / 0.9893 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/1.013, allocations: 9.391 kB / 0.9893 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.013, allocations: 6.766 kB / 0.9893 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/1.013, allocations: 0 / 0.9893 GB, free: 13.42 MB / 0.7325 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.003927/1.017, allocations: 2.491 MB / 0.9917 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.017, allocations: 3.312 kB / 0.9917 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/1.018, allocations: 130.5 kB / 0.9919 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/1.018, allocations: 8.562 kB / 0.9919 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/1.018, allocations: 21.92 kB / 0.9919 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/1.018, allocations: 8.25 kB / 0.9919 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.018, allocations: 3.094 kB / 0.9919 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/1.02, allocations: 1.696 MB / 0.9936 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007542/1.021, allocations: 345.4 kB / 0.9939 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/1.021, allocations: 21.8 kB / 0.9939 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.023, allocations: 104.5 kB / 0.994 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.023, allocations: 46.09 kB / 0.9941 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/1.023, allocations: 24.14 kB / 0.9941 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001787/1.025, allocations: 1.191 MB / 0.9952 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.025, allocations: 3.938 kB / 0.9952 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001812/1.026, allocations: 0.556 MB / 0.9958 GB, free: 11.07 MB / 0.7325 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.0006521/1.027, allocations: 277 kB / 0.996 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002549/1.03, allocations: 1.444 MB / 0.9975 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.03, allocations: 0 / 0.9975 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007446/1.03, allocations: 436 kB / 0.9979 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.033, allocations: 0.5827 MB / 0.9984 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/1.037, allocations: 2.527 MB / 1.001 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/1.038, allocations: 1.196 MB / 1.002 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00178/1.04, allocations: 382.5 kB / 1.002 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/1.04, allocations: 131.3 kB / 1.003 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of SimCode: time 1.002e-06/1.04, allocations: 0 / 1.003 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of Templates: time 0.04585/1.086, allocations: 27.04 MB / 1.029 GB, free: 0.8984 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: