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.8546/0.8546, allocations: 132.4 MB / 139.9 MB, free: 2.852 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.001354/0.001354, allocations: 184.6 kB / 171.8 MB, free: 4.918 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.651/1.651, 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.001691/0.001691, allocations: 115.4 kB / 444.8 MB, free: 14.18 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.1699/0.1699, allocations: 73.42 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.959/6.129, allocations: 2.142 GB / 2.808 GB, free: 29.05 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/6.129, allocations: 91.94 kB / 2.808 GB, free: 28.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.804/8.933, allocations: 0.5757 GB / 3.384 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.358e-06/8.933, allocations: 0 / 3.384 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001674/8.933, allocations: 34.19 kB / 3.384 GB, free: 104.2 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.005567/8.939, allocations: 1.403 MB / 3.385 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/8.939, allocations: 8.375 kB / 3.385 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/8.942, allocations: 246.7 kB / 3.386 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/8.944, allocations: 0.9212 MB / 3.386 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/8.944, allocations: 21.16 kB / 3.386 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/8.944, allocations: 41.31 kB / 3.387 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001225/8.945, allocations: 0.6929 MB / 3.387 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/8.947, allocations: 0.7777 MB / 3.388 GB, free: 103.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/8.947, allocations: 0 / 3.388 GB, free: 103.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/8.947, allocations: 0 / 3.388 GB, free: 103.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/8.947, allocations: 18 kB / 3.388 GB, free: 103.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005147/8.952, allocations: 2.882 MB / 3.391 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/8.953, allocations: 0.5331 MB / 3.391 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/8.953, allocations: 311.1 kB / 3.392 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/8.953, allocations: 13.64 kB / 3.392 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/8.953, allocations: 44.75 kB / 3.392 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001037/8.954, allocations: 214.3 kB / 3.392 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 4.238e-06/8.954, allocations: 0 / 3.392 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.002155/8.956, allocations: 0.8268 MB / 3.393 GB, free: 102.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/8.957, allocations: 139 kB / 3.393 GB, free: 102 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/8.958, allocations: 0.8246 MB / 3.394 GB, free: 101.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.585e-05/8.958, allocations: 25.7 kB / 3.394 GB, free: 101.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/8.958, allocations: 495.8 kB / 3.394 GB, free: 101.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/8.958, allocations: 161.4 kB / 3.394 GB, free: 101.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/8.958, allocations: 0 / 3.394 GB, free: 101.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.814e-05/8.958, allocations: 331.5 kB / 3.395 GB, free: 101.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/8.959, allocations: 299.1 kB / 3.395 GB, free: 101.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/8.959, allocations: 433.9 kB / 3.395 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/8.96, allocations: 350.6 kB / 3.396 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/8.96, allocations: 0 / 3.396 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001312/8.961, allocations: 0.8378 MB / 3.396 GB, free: 101 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001888/8.961, allocations: 0.5302 MB / 3.397 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/8.962, allocations: 3.406 kB / 3.397 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/8.962, allocations: 5.531 kB / 3.397 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/8.963, allocations: 212.6 kB / 3.397 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/8.963, allocations: 3.906 kB / 3.397 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/8.964, allocations: 114.9 kB / 3.397 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/8.964, allocations: 39.75 kB / 3.397 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/8.964, allocations: 7.906 kB / 3.397 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001053/8.965, allocations: 0.6588 MB / 3.398 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/8.965, allocations: 5.641 kB / 3.398 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/8.965, allocations: 3.75 kB / 3.398 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/8.966, allocations: 168 kB / 3.398 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/8.966, allocations: 7.266 kB / 3.398 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009012/8.967, allocations: 68.83 kB / 3.398 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/8.967, allocations: 34.48 kB / 3.398 GB, free: 100.5 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.0002595/8.967, allocations: 120 kB / 3.398 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/8.967, allocations: 99.38 kB / 3.398 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/8.969, allocations: 0.7663 MB / 3.399 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/8.969, allocations: 8.875 kB / 3.399 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/8.969, allocations: 3.953 kB / 3.399 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/8.969, allocations: 3.703 kB / 3.399 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/8.972, allocations: 1.776 MB / 3.401 GB, free: 99.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/8.972, allocations: 1.031 kB / 3.401 GB, free: 99.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/8.973, allocations: 173.8 kB / 3.401 GB, free: 99.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/8.973, allocations: 7.312 kB / 3.401 GB, free: 99.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/8.973, allocations: 10.62 kB / 3.401 GB, free: 99.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/8.973, allocations: 3.719 kB / 3.401 GB, free: 99.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/8.973, allocations: 3.812 kB / 3.401 GB, free: 99.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/8.975, allocations: 1.319 MB / 3.402 GB, free: 99.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/8.975, allocations: 290.9 kB / 3.403 GB, free: 99.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/8.976, allocations: 2.469 kB / 3.403 GB, free: 99.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/8.977, allocations: 106.3 kB / 3.403 GB, free: 99.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/8.977, allocations: 54.59 kB / 3.403 GB, free: 99.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.082e-05/8.977, allocations: 37.91 kB / 3.403 GB, free: 99.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009347/8.978, allocations: 0.6346 MB / 3.404 GB, free: 99.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.91e-07/8.978, allocations: 1.594 kB / 3.404 GB, free: 99.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002382/8.98, allocations: 0.6113 MB / 3.404 GB, free: 99.14 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.003501/8.984, allocations: 1.858 MB / 3.406 GB, free: 98.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002175/8.986, allocations: 1.105 MB / 3.407 GB, free: 98.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/8.986, allocations: 0 / 3.407 GB, free: 98.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004876/8.986, allocations: 319.6 kB / 3.407 GB, free: 98.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/8.989, allocations: 410.2 kB / 3.408 GB, free: 98.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/8.996, allocations: 2.159 MB / 3.41 GB, free: 98.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/8.997, allocations: 1.11 MB / 3.411 GB, free: 97.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001923/8.999, allocations: 352.1 kB / 3.411 GB, free: 97.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/8.999, allocations: 79.94 kB / 3.411 GB, free: 97.39 MB / 0.6198 GB Notification: Performance of SimCode: time 1.633e-06/8.999, allocations: 2.094 kB / 3.411 GB, free: 97.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.05082/9.05, allocations: 29.08 MB / 3.44 GB, free: 95.64 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)