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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8019/0.8019, allocations: 132.4 MB / 139.9 MB, free: 2.82 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002268/0.002268, allocations: 180.1 kB / 171.8 MB, free: 4.91 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.464/1.464, allocations: 170.6 MB / 374.2 MB, free: 172 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001854/0.001854, allocations: 106.8 kB / 444.8 MB, free: 14.16 MB / 314.7 MB [/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.1767/0.1768, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.8/5.977, allocations: 2.143 GB / 2.809 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/5.977, allocations: 96.5 kB / 2.809 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.04/9.017, allocations: 0.7065 GB / 3.516 GB, free: 36.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/9.017, allocations: 0 / 3.516 GB, free: 36.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.00032/9.017, allocations: 32 kB / 3.516 GB, free: 36.93 MB / 0.6198 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.006805/9.024, allocations: 1.651 MB / 3.518 GB, free: 35.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/9.024, allocations: 8.031 kB / 3.518 GB, free: 35.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00423/9.028, allocations: 313.8 kB / 3.518 GB, free: 34.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005534/9.034, allocations: 1.156 MB / 3.519 GB, free: 33.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/9.034, allocations: 28 kB / 3.519 GB, free: 33.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005429/9.035, allocations: 48 kB / 3.519 GB, free: 33.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001983/9.037, allocations: 0.9059 MB / 3.52 GB, free: 32.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/9.038, allocations: 0.983 MB / 3.521 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/9.038, allocations: 7.938 kB / 3.521 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/9.038, allocations: 0 / 3.521 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/9.038, allocations: 20 kB / 3.521 GB, free: 31.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007196/9.046, allocations: 3.597 MB / 3.524 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/9.047, allocations: 0.668 MB / 3.525 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/9.047, allocations: 402.3 kB / 3.525 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.806e-05/9.047, allocations: 20.53 kB / 3.525 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/9.047, allocations: 39.12 kB / 3.526 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001475/9.049, allocations: 323.2 kB / 3.526 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=56): time 5.21e-06/9.049, allocations: 0 / 3.526 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56): time 0.002669/9.051, allocations: 1.083 MB / 3.527 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/9.051, allocations: 222.3 kB / 3.527 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/9.053, allocations: 1.05 MB / 3.528 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.873e-05/9.053, allocations: 29.7 kB / 3.528 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/9.053, allocations: 0.5982 MB / 3.529 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/9.054, allocations: 185.1 kB / 3.529 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/9.054, allocations: 0 / 3.529 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001118/9.054, allocations: 333.9 kB / 3.529 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/9.054, allocations: 413.4 kB / 3.53 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000667/9.055, allocations: 0.5625 MB / 3.53 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/9.056, allocations: 469 kB / 3.531 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/9.056, allocations: 0 / 3.531 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001687/9.057, allocations: 1.115 MB / 3.532 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/9.058, allocations: 0.534 MB / 3.532 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/9.058, allocations: 8 kB / 3.532 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.669e-05/9.058, allocations: 8 kB / 3.532 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/9.059, allocations: 263.6 kB / 3.533 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/9.059, allocations: 4 kB / 3.533 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/9.061, allocations: 139.8 kB / 3.533 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/9.061, allocations: 51.94 kB / 3.533 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/9.061, allocations: 5.828 kB / 3.533 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001359/9.062, allocations: 0.8926 MB / 3.534 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/9.062, allocations: 4 kB / 3.534 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/9.062, allocations: 4 kB / 3.534 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008933/9.063, allocations: 207.9 kB / 3.534 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/9.063, allocations: 7.953 kB / 3.534 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/9.064, allocations: 91.69 kB / 3.534 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.083e-05/9.065, allocations: 43.95 kB / 3.534 GB, free: 18.01 MB / 0.6198 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 () * 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.0003441/9.065, allocations: 120.8 kB / 3.534 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/9.065, allocations: 122.5 kB / 3.534 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/9.067, allocations: 0.9908 MB / 3.535 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/9.067, allocations: 8 kB / 3.535 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/9.067, allocations: 3.953 kB / 3.535 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/9.067, allocations: 7.984 kB / 3.535 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/9.071, allocations: 2.162 MB / 3.537 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/9.071, allocations: 8.062 kB / 3.537 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/9.072, allocations: 203.7 kB / 3.537 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/9.072, allocations: 15.92 kB / 3.537 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/9.072, allocations: 15.92 kB / 3.537 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/9.072, allocations: 4 kB / 3.537 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/9.072, allocations: 3.938 kB / 3.537 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/9.074, allocations: 1.644 MB / 3.539 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00063/9.075, allocations: 339.4 kB / 3.539 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/9.075, allocations: 12 kB / 3.539 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/9.076, allocations: 131.8 kB / 3.54 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/9.076, allocations: 52.47 kB / 3.54 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.666e-05/9.076, allocations: 43.97 kB / 3.54 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00114/9.078, allocations: 0.8001 MB / 3.54 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/9.078, allocations: 0 / 3.54 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002843/9.08, allocations: 0.7329 MB / 3.541 GB, free: 10.41 MB / 0.6198 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 () * 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.003614/9.084, allocations: 2.128 MB / 3.543 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002439/9.087, allocations: 1.507 MB / 3.545 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/9.087, allocations: 192 / 3.545 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005391/9.087, allocations: 409.9 kB / 3.545 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/9.09, allocations: 0.493 MB / 3.546 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008109/9.098, allocations: 2.826 MB / 3.548 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/9.099, allocations: 1.224 MB / 3.55 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002613/9.102, allocations: 456.7 kB / 3.55 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/9.102, allocations: 95.31 kB / 3.55 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of SimCode: time 2.094e-06/9.102, allocations: 0 / 3.55 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of Templates: time 0.6057/9.708, allocations: 35.28 MB / 3.584 GB, free: 98.34 MB / 0.6355 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)