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.1901/0.1909, allocations: 82.23 MB / 0.5941 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.6791/0.87, allocations: 193.7 MB / 0.7833 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01665/0.8867, allocations: 8.61 MB / 0.7917 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.8895, allocations: 36.34 kB / 0.7917 GB, free: 1.652 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.8924, allocations: 0.6809 MB / 0.7924 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005423/0.8978, allocations: 1.44 MB / 0.7938 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008555/0.9064, allocations: 2.643 MB / 0.7964 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006798/0.9132, allocations: 4.009 MB / 0.8003 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.9158, allocations: 1.236 MB / 0.8015 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003744/0.9196, allocations: 1.185 MB / 0.8026 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.9224, allocations: 1.144 MB / 0.8037 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005053/0.9229, allocations: 79.12 kB / 0.8038 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.9261, allocations: 1.171 MB / 0.805 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008131/0.927, allocations: 0.5 MB / 0.8055 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.9286, allocations: 0.811 MB / 0.8062 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004625/0.9333, allocations: 2.585 MB / 0.8088 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.9333, allocations: 0 / 0.8088 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.375e-06/0.9333, allocations: 0 / 0.8088 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.838e-05/0.9334, allocations: 4 kB / 0.8088 GB, free: 6.332 MB / 0.5606 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.005769/0.9392, allocations: 1.835 MB / 0.8106 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.9392, allocations: 8.031 kB / 0.8106 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.9406, allocations: 242 kB / 0.8108 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.9427, allocations: 1.098 MB / 0.8119 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.943, allocations: 73.97 kB / 0.8119 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.9431, allocations: 91.94 kB / 0.812 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004294/0.9474, allocations: 1.508 MB / 0.8135 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.9475, allocations: 0 / 0.8135 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.9476, allocations: 40 kB / 0.8135 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.9476, allocations: 20 kB / 0.8136 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003994/0.9516, allocations: 1.366 MB / 0.8149 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008296/0.96, allocations: 3.958 MB / 0.8188 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003549/0.9636, allocations: 1.093 MB / 0.8198 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008986/0.9645, allocations: 471 kB / 0.8203 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-05/0.9646, allocations: 12.55 kB / 0.8203 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.9646, allocations: 43.12 kB / 0.8203 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001542/0.9662, allocations: 255.4 kB / 0.8206 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=56): time 3.647e-06/0.9662, allocations: 4 kB / 0.8206 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56): time 0.007427/0.9736, allocations: 2.047 MB / 0.8226 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.9738, allocations: 218.2 kB / 0.8228 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003701/0.9775, allocations: 1.488 MB / 0.8242 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002663/0.9778, allocations: 41.7 kB / 0.8243 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000732/0.9785, allocations: 0.5958 MB / 0.8249 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.9788, allocations: 193.1 kB / 0.825 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.979, allocations: 77.61 kB / 0.8251 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9792, allocations: 334 kB / 0.8254 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.9808, allocations: 0.5797 MB / 0.826 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.9827, allocations: 0.761 MB / 0.8267 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/0.9861, allocations: 1.213 MB / 0.8279 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.9861, allocations: 0 / 0.8279 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004706/0.9908, allocations: 1.501 MB / 0.8294 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.991, allocations: 130.6 kB / 0.8295 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/0.9911, allocations: 4 kB / 0.8295 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.679e-05/0.9911, allocations: 4 kB / 0.8295 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.9926, allocations: 267.6 kB / 0.8298 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/0.9926, allocations: 11.98 kB / 0.8298 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.9948, allocations: 155.8 kB / 0.8299 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.995, allocations: 39.95 kB / 0.83 GB, free: 36 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.995, allocations: 6.031 kB / 0.83 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002585/0.9976, allocations: 1.076 MB / 0.831 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.9977, allocations: 7.938 kB / 0.831 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.9977, allocations: 4 kB / 0.8311 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.9989, allocations: 199.7 kB / 0.8312 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.9989, allocations: 4 kB / 0.8312 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/1.001, allocations: 99.8 kB / 0.8313 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/1.001, allocations: 39.95 kB / 0.8314 GB, free: 14.61 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001234/1.002, allocations: 403 kB / 0.8318 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006889/1.003, allocations: 142.2 kB / 0.8319 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/1.007, allocations: 1.375 MB / 0.8332 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/1.007, allocations: 8 kB / 0.8333 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.007, allocations: 0 / 0.8333 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.007, allocations: 3.984 kB / 0.8333 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006645/1.014, allocations: 2.655 MB / 0.8358 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/1.014, allocations: 8 kB / 0.8359 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.015, allocations: 207.8 kB / 0.8361 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/1.015, allocations: 4 kB / 0.8361 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-05/1.015, allocations: 19.98 kB / 0.8361 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/1.015, allocations: 11.92 kB / 0.8361 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/1.015, allocations: 11.88 kB / 0.8361 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00543/1.02, allocations: 2.067 MB / 0.8381 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.022, allocations: 363.2 kB / 0.8385 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004843/1.022, allocations: 19.98 kB / 0.8385 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/1.024, allocations: 135.8 kB / 0.8386 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/1.024, allocations: 60.36 kB / 0.8387 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.024, allocations: 39.97 kB / 0.8387 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002315/1.027, allocations: 1.043 MB / 0.8397 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.7e-07/1.027, allocations: 0 / 0.8397 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002989/1.03, allocations: 0.6124 MB / 0.8403 GB, free: 5.27 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/1.031, allocations: 245.5 kB / 0.8406 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005057/1.036, allocations: 1.921 MB / 0.8424 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.036, allocations: 8.062 kB / 0.8424 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/1.038, allocations: 0.5814 MB / 0.843 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005429/1.043, allocations: 0.6702 MB / 0.8437 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.055, allocations: 4.086 MB / 0.8477 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/1.056, allocations: 1.199 MB / 0.8488 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002518/1.059, allocations: 382.1 kB / 0.8492 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006852/1.06, allocations: 131.3 kB / 0.8493 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of SimCode: time 1.213e-06/1.06, allocations: 0 / 0.8493 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Templates: time 0.0548/1.115, allocations: 29.32 MB / 0.8779 GB, free: 14.92 MB / 0.6387 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: