Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.184/0.1848, allocations: 82.22 MB / 0.5934 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.5679/0.7527, allocations: 164.6 MB / 0.7541 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.7647, allocations: 8.059 MB / 0.762 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.7669, allocations: 36.16 kB / 0.762 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.7692, allocations: 0.771 MB / 0.7628 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005099/0.7743, allocations: 1.475 MB / 0.7642 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008227/0.7826, allocations: 2.506 MB / 0.7666 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004683/0.7873, allocations: 1.768 MB / 0.7684 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.7891, allocations: 1.149 MB / 0.7695 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.7923, allocations: 1.219 MB / 0.7707 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.7936, allocations: 0.8645 MB / 0.7715 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.7938, allocations: 84.09 kB / 0.7716 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.7959, allocations: 0.6627 MB / 0.7723 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004848/0.7964, allocations: 472.7 kB / 0.7727 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.7968, allocations: 311.4 kB / 0.773 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.7987, allocations: 1.978 MB / 0.7749 GB, free: 7.734 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.7987, allocations: 0 / 0.7749 GB, free: 7.734 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7988, allocations: 0 / 0.7749 GB, free: 7.734 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.157e-05/0.7988, allocations: 0 / 0.7749 GB, free: 7.734 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.004689/0.8035, allocations: 1.838 MB / 0.7767 GB, free: 6.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.8035, allocations: 10.44 kB / 0.7767 GB, free: 6.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.8046, allocations: 239.8 kB / 0.777 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.8063, allocations: 1.044 MB / 0.778 GB, free: 5.945 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.8066, allocations: 80.38 kB / 0.7781 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.8067, allocations: 90.56 kB / 0.7782 GB, free: 5.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/0.8103, allocations: 1.488 MB / 0.7796 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.8103, allocations: 3.984 kB / 0.7796 GB, free: 5.449 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.814e-05/0.8104, allocations: 36.28 kB / 0.7796 GB, free: 5.449 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.8105, allocations: 20.81 kB / 0.7797 GB, free: 5.449 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/0.8138, allocations: 1.366 MB / 0.781 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006175/0.82, allocations: 3.975 MB / 0.7849 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.823, allocations: 1.078 MB / 0.7859 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.823, allocations: 17.97 kB / 0.786 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.316e-05/0.8231, allocations: 48.75 kB / 0.786 GB, free: 2.691 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001139/0.8243, allocations: 258.4 kB / 0.7862 GB, free: 2.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=56): time 2.645e-06/0.8243, allocations: 0 / 0.7862 GB, free: 2.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=56): time 0.006079/0.8304, allocations: 2.041 MB / 0.7882 GB, free: 2.059 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.8305, allocations: 214 kB / 0.7884 GB, free: 1.809 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.8326, allocations: 1.478 MB / 0.7899 GB, free: 1.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.8328, allocations: 45.83 kB / 0.7899 GB, free: 1.398 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004706/0.8333, allocations: 0.5944 MB / 0.7905 GB, free: 1.176 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.8335, allocations: 196 kB / 0.7907 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.8336, allocations: 14.97 kB / 0.7907 GB, free: 1.035 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.8337, allocations: 333.2 kB / 0.791 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.8351, allocations: 0.5776 MB / 0.7916 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.8366, allocations: 0.7547 MB / 0.7923 GB, free: 320 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.838, allocations: 0.6315 MB / 0.7929 GB, free: 204 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.838, allocations: 2.594 kB / 0.7929 GB, free: 204 kB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003773/0.8418, allocations: 1.49 MB / 0.7944 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003691/0.8422, allocations: 0.5456 MB / 0.7949 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.8422, allocations: 4 kB / 0.7949 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.8422, allocations: 4 kB / 0.7949 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.8437, allocations: 265.8 kB / 0.7952 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.8437, allocations: 8 kB / 0.7952 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.8455, allocations: 153.5 kB / 0.7954 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-05/0.8456, allocations: 39.39 kB / 0.7954 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.8457, allocations: 7.938 kB / 0.7954 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00205/0.8477, allocations: 1.079 MB / 0.7965 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.8477, allocations: 0 / 0.7965 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.8478, allocations: 8 kB / 0.7965 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/0.8487, allocations: 197.8 kB / 0.7966 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.8487, allocations: 7.984 kB / 0.7967 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.8502, allocations: 102.4 kB / 0.7968 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/0.8503, allocations: 37.09 kB / 0.7968 GB, free: 13.65 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (84): * Single equations (assignments): 80 * 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.000823/0.8511, allocations: 403.2 kB / 0.7972 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.8514, allocations: 146.2 kB / 0.7973 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/0.8547, allocations: 1.361 MB / 0.7986 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.8548, allocations: 8 kB / 0.7986 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.8548, allocations: 0 / 0.7986 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.8548, allocations: 0 / 0.7986 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005841/0.8606, allocations: 2.67 MB / 0.8013 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.8607, allocations: 0 / 0.8013 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.8617, allocations: 215.8 kB / 0.8015 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.8618, allocations: 12 kB / 0.8015 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/0.8618, allocations: 23.94 kB / 0.8015 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.8618, allocations: 4 kB / 0.8015 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.8619, allocations: 4 kB / 0.8015 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004583/0.8664, allocations: 2.193 MB / 0.8036 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008102/0.8673, allocations: 363.2 kB / 0.804 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.8675, allocations: 12 kB / 0.804 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.8688, allocations: 147.7 kB / 0.8041 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.869, allocations: 60.38 kB / 0.8042 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-05/0.8691, allocations: 39.97 kB / 0.8042 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001613/0.8707, allocations: 1.024 MB / 0.8052 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8707, allocations: 0 / 0.8052 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001809/0.8725, allocations: 0.6149 MB / 0.8058 GB, free: 4.738 MB / 0.5606 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 (67): * Single equations (assignments): 67 * 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.0006587/0.8732, allocations: 244.7 kB / 0.8061 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004122/0.8773, allocations: 1.916 MB / 0.8079 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8774, allocations: 0.5 kB / 0.8079 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.8788, allocations: 0.593 MB / 0.8085 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/0.8818, allocations: 0.6457 MB / 0.8092 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009345/0.8912, allocations: 3.958 MB / 0.813 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000761/0.892, allocations: 1.223 MB / 0.8142 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001854/0.8938, allocations: 394.1 kB / 0.8146 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.8943, allocations: 135.3 kB / 0.8147 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/0.8943, allocations: 0 / 0.8147 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of Templates: time 0.04967/0.944, allocations: 28.45 MB / 0.8425 GB, free: 15.41 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) Environment - environmentSimulation: