Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7925/0.7925, 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.00115/0.00115, allocations: 175.2 kB / 171.8 MB, free: 4.961 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.333/1.333, allocations: 170.6 MB / 374.2 MB, free: 176 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.001638/0.001638, allocations: 111.6 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.134/0.1341, allocations: 73.41 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.857/5.991, allocations: 2.142 GB / 2.808 GB, free: 29.18 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003665/5.992, allocations: 91.94 kB / 2.808 GB, free: 29.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.865/8.857, allocations: 0.5757 GB / 3.384 GB, free: 104.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.85e-06/8.857, allocations: 3.938 kB / 3.384 GB, free: 104.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002345/8.857, allocations: 28.33 kB / 3.384 GB, free: 104.6 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007505/8.865, allocations: 1.409 MB / 3.385 GB, free: 104 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.318e-05/8.865, allocations: 7.75 kB / 3.385 GB, free: 104 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003914/8.869, allocations: 252.7 kB / 3.386 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/8.872, allocations: 0.9231 MB / 3.386 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/8.873, allocations: 19.12 kB / 3.386 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004224/8.873, allocations: 41.47 kB / 3.387 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001942/8.875, allocations: 0.6958 MB / 3.387 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/8.877, allocations: 0.7719 MB / 3.388 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/8.877, allocations: 3.562 kB / 3.388 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/8.878, allocations: 5 kB / 3.388 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/8.878, allocations: 15.81 kB / 3.388 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008015/8.886, allocations: 2.871 MB / 3.391 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009802/8.887, allocations: 0.5374 MB / 3.391 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/8.887, allocations: 312.5 kB / 3.392 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-05/8.887, allocations: 7.438 kB / 3.392 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/8.887, allocations: 41.94 kB / 3.392 GB, free: 102.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001495/8.889, allocations: 217.4 kB / 3.392 GB, free: 102.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 8.035e-06/8.889, allocations: 0 / 3.392 GB, free: 102.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.002778/8.892, allocations: 0.831 MB / 3.393 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/8.892, allocations: 138.3 kB / 3.393 GB, free: 102.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/8.894, allocations: 0.8273 MB / 3.394 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/8.894, allocations: 29.45 kB / 3.394 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/8.894, allocations: 497.7 kB / 3.394 GB, free: 102 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/8.895, allocations: 161.5 kB / 3.394 GB, free: 101.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/8.895, allocations: 0 / 3.394 GB, free: 101.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001026/8.895, allocations: 330.5 kB / 3.395 GB, free: 101.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/8.895, allocations: 303.9 kB / 3.395 GB, free: 101.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/8.896, allocations: 429.6 kB / 3.395 GB, free: 101.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/8.896, allocations: 345.3 kB / 3.396 GB, free: 101.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/8.896, allocations: 0 / 3.396 GB, free: 101.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001664/8.898, allocations: 0.8393 MB / 3.396 GB, free: 101.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002039/8.898, allocations: 0.5317 MB / 3.397 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/8.898, allocations: 3.5 kB / 3.397 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/8.898, allocations: 2.812 kB / 3.397 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/8.9, allocations: 208.5 kB / 3.397 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/8.9, allocations: 7.688 kB / 3.397 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/8.901, allocations: 114.9 kB / 3.397 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/8.901, allocations: 35.55 kB / 3.397 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/8.901, allocations: 3.844 kB / 3.397 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001131/8.903, allocations: 0.6602 MB / 3.398 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/8.903, allocations: 3.906 kB / 3.398 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/8.903, allocations: 3.25 kB / 3.398 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/8.903, allocations: 167.1 kB / 3.398 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/8.903, allocations: 10.95 kB / 3.398 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/8.905, allocations: 74.33 kB / 3.398 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/8.905, allocations: 37.5 kB / 3.398 GB, free: 100.9 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 (68): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0003527/8.905, allocations: 119.5 kB / 3.398 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00042/8.906, allocations: 95.06 kB / 3.398 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/8.907, allocations: 0.7701 MB / 3.399 GB, free: 100.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/8.908, allocations: 9 kB / 3.399 GB, free: 100.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/8.908, allocations: 3.953 kB / 3.399 GB, free: 100.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/8.908, allocations: 3.516 kB / 3.399 GB, free: 100.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003479/8.911, allocations: 1.769 MB / 3.401 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/8.911, allocations: 3.906 kB / 3.401 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009297/8.912, allocations: 169.8 kB / 3.401 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/8.912, allocations: 3.938 kB / 3.401 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/8.912, allocations: 9.641 kB / 3.401 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/8.912, allocations: 6.625 kB / 3.401 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/8.912, allocations: 6.188 kB / 3.401 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/8.914, allocations: 1.32 MB / 3.402 GB, free: 99.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007675/8.915, allocations: 289.5 kB / 3.403 GB, free: 99.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/8.915, allocations: 5.781 kB / 3.403 GB, free: 99.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/8.917, allocations: 115 kB / 3.403 GB, free: 99.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/8.917, allocations: 43.53 kB / 3.403 GB, free: 99.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/8.917, allocations: 42.83 kB / 3.403 GB, free: 99.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001433/8.919, allocations: 0.6328 MB / 3.404 GB, free: 99.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.41e-07/8.919, allocations: 0 / 3.404 GB, free: 99.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003577/8.922, allocations: 0.6113 MB / 3.404 GB, free: 99.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.00482/8.927, allocations: 1.855 MB / 3.406 GB, free: 99.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002356/8.929, allocations: 1.106 MB / 3.407 GB, free: 98.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/8.929, allocations: 0 / 3.407 GB, free: 98.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005547/8.93, allocations: 320 kB / 3.407 GB, free: 98.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/8.933, allocations: 417.9 kB / 3.408 GB, free: 98.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007388/8.94, allocations: 2.161 MB / 3.41 GB, free: 98.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/8.941, allocations: 1.112 MB / 3.411 GB, free: 97.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002575/8.944, allocations: 346.9 kB / 3.411 GB, free: 97.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/8.944, allocations: 81.72 kB / 3.411 GB, free: 97.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.916e-06/8.945, allocations: 0 / 3.411 GB, free: 97.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.05299/8.998, allocations: 29.08 MB / 3.44 GB, free: 96.03 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)