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.2135/0.2156, allocations: 80.83 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.7479/0.9636, allocations: 198.5 MB / 0.8645 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01439/0.978, allocations: 8.249 MB / 0.8726 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.9804, allocations: 43.69 kB / 0.8726 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.9831, allocations: 0.8 MB / 0.8734 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005306/0.9884, allocations: 1.535 MB / 0.8749 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009433/0.9979, allocations: 3.131 MB / 0.8779 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005239/1.003, allocations: 3.134 MB / 0.881 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002601/1.006, allocations: 1.471 MB / 0.8824 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004067/1.01, allocations: 1.394 MB / 0.8838 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002596/1.013, allocations: 1.21 MB / 0.885 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004903/1.013, allocations: 192 kB / 0.8852 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002838/1.016, allocations: 1.142 MB / 0.8863 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000833/1.017, allocations: 0.6077 MB / 0.8869 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/1.018, allocations: 0.9099 MB / 0.8878 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004972/1.023, allocations: 2.668 MB / 0.8904 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.023, allocations: 8 kB / 0.8904 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/1.023, allocations: 0 / 0.8904 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.545e-05/1.023, allocations: 0 / 0.8904 GB, free: 8.883 MB / 0.6544 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.005656/1.029, allocations: 2.157 MB / 0.8925 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 8.363e-05/1.029, allocations: 8.031 kB / 0.8925 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/1.03, allocations: 249.8 kB / 0.8927 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/1.033, allocations: 1.122 MB / 0.8938 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.471e-05/1.033, allocations: 69.98 kB / 0.8939 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/1.033, allocations: 84 kB / 0.894 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00389/1.037, allocations: 1.442 MB / 0.8954 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.037, allocations: 3.938 kB / 0.8954 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.835e-05/1.037, allocations: 36 kB / 0.8954 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/1.037, allocations: 20 kB / 0.8954 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/1.041, allocations: 1.296 MB / 0.8967 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007725/1.049, allocations: 3.958 MB / 0.9006 GB, free: 14.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/1.052, allocations: 1.028 MB / 0.9016 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007779/1.053, allocations: 453.1 kB / 0.902 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-05/1.053, allocations: 16.48 kB / 0.902 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/1.053, allocations: 51.06 kB / 0.9021 GB, free: 12.53 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001129/1.054, allocations: 207.1 kB / 0.9023 GB, free: 12.33 MB / 0.67 GB Notification: Performance of pre-optimization done (n=56): time 3.637e-06/1.054, allocations: 0 / 0.9023 GB, free: 12.33 MB / 0.67 GB Notification: Performance of matching and sorting (n=56): time 0.006615/1.06, allocations: 1.91 MB / 0.9041 GB, free: 10.41 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.061, allocations: 214.2 kB / 0.9043 GB, free: 10.15 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/1.063, allocations: 1.492 MB / 0.9058 GB, free: 8.648 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002031/1.063, allocations: 45.7 kB / 0.9058 GB, free: 8.598 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005149/1.064, allocations: 0.592 MB / 0.9064 GB, free: 8.004 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/1.064, allocations: 209 kB / 0.9066 GB, free: 7.797 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003421/1.064, allocations: 182.5 kB / 0.9068 GB, free: 7.613 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.064, allocations: 337.9 kB / 0.9071 GB, free: 7.277 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/1.066, allocations: 0.5473 MB / 0.9076 GB, free: 6.727 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/1.067, allocations: 0.726 MB / 0.9084 GB, free: 5.934 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00306/1.071, allocations: 1.147 MB / 0.9095 GB, free: 4.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.071, allocations: 0 / 0.9095 GB, free: 4.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004094/1.075, allocations: 1.442 MB / 0.9109 GB, free: 3.316 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.075, allocations: 4 kB / 0.9109 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/1.075, allocations: 4 kB / 0.9109 GB, free: 3.309 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/1.075, allocations: 7.938 kB / 0.9109 GB, free: 3.301 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.076, allocations: 243.7 kB / 0.9111 GB, free: 3.062 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/1.076, allocations: 4 kB / 0.9111 GB, free: 3.059 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/1.078, allocations: 107.9 kB / 0.9112 GB, free: 2.953 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.078, allocations: 51.88 kB / 0.9113 GB, free: 2.902 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001465/1.08, allocations: 0.6853 MB / 0.912 GB, free: 2.215 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001004/1.081, allocations: 0.6181 MB / 0.9126 GB, free: 1.531 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001932/1.083, allocations: 0.9396 MB / 0.9135 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.288e-06/1.083, allocations: 0 / 0.9135 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002989/1.086, allocations: 1.19 MB / 0.9146 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.086, allocations: 8 kB / 0.9147 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/1.086, allocations: 7.984 kB / 0.9147 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/1.086, allocations: 4 kB / 0.9147 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.087, allocations: 191.9 kB / 0.9148 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/1.087, allocations: 7.984 kB / 0.9149 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.088, allocations: 79.86 kB / 0.9149 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/1.088, allocations: 39.95 kB / 0.915 GB, free: 15.04 MB / 0.6856 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.0004881/1.089, allocations: 232 kB / 0.9152 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/1.089, allocations: 138.3 kB / 0.9153 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/1.093, allocations: 1.309 MB / 0.9166 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.093, allocations: 4 kB / 0.9166 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.093, allocations: 7.938 kB / 0.9166 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/1.093, allocations: 3.984 kB / 0.9166 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/1.098, allocations: 2.599 MB / 0.9192 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/1.098, allocations: 4 kB / 0.9192 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.099, allocations: 192 kB / 0.9193 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/1.099, allocations: 4 kB / 0.9193 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.949e-05/1.1, allocations: 27.98 kB / 0.9194 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/1.1, allocations: 7.984 kB / 0.9194 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.1, allocations: 4 kB / 0.9194 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/1.105, allocations: 1.977 MB / 0.9213 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.106, allocations: 351.3 kB / 0.9216 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/1.106, allocations: 16 kB / 0.9217 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.107, allocations: 107.9 kB / 0.9218 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/1.108, allocations: 48.38 kB / 0.9218 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.108, allocations: 43.91 kB / 0.9219 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001747/1.109, allocations: 1.047 MB / 0.9229 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/1.11, allocations: 0 / 0.9229 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001912/1.111, allocations: 0.6123 MB / 0.9235 GB, free: 6.16 MB / 0.6856 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.0006971/1.112, allocations: 246.5 kB / 0.9237 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004291/1.116, allocations: 1.85 MB / 0.9255 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.116, allocations: 4 kB / 0.9255 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/1.118, allocations: 0.554 MB / 0.9261 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003427/1.121, allocations: 0.6186 MB / 0.9267 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.132, allocations: 3.368 MB / 0.93 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009084/1.133, allocations: 1.199 MB / 0.9311 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002098/1.135, allocations: 382 kB / 0.9315 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005541/1.136, allocations: 135.3 kB / 0.9316 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of SimCode: time 1.042e-06/1.136, allocations: 0 / 0.9316 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of Templates: time 0.05963/1.195, allocations: 31.31 MB / 0.9622 GB, free: 14.6 MB / 0.7325 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (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)