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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7525/0.7525, allocations: 132.4 MB / 139.7 MB, free: 15.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001211/0.001211, allocations: 176.7 kB / 171.6 MB, free: 2 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.555/1.555, allocations: 170.5 MB / 373.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00181/0.00181, allocations: 118.2 kB / 444.4 MB, free: 9.395 MB / 346.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.4906/0.4906, allocations: 73.39 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.101/5.591, allocations: 2.143 GB / 2.809 GB, free: 51.18 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/5.592, allocations: 87.94 kB / 2.809 GB, free: 51.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.955/8.547, allocations: 0.7146 GB / 3.523 GB, free: 47.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003315/8.547, allocations: 40.27 kB / 3.523 GB, free: 47.66 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.007146/8.554, allocations: 1.672 MB / 3.525 GB, free: 45.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/8.554, allocations: 8.031 kB / 3.525 GB, free: 45.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/8.559, allocations: 465.7 kB / 3.525 GB, free: 45.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004603/8.563, allocations: 1.244 MB / 3.527 GB, free: 44.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-05/8.564, allocations: 31.94 kB / 3.527 GB, free: 44.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004504/8.564, allocations: 52 kB / 3.527 GB, free: 44.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002207/8.566, allocations: 0.8942 MB / 3.528 GB, free: 43.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/8.568, allocations: 0.9829 MB / 3.529 GB, free: 42.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/8.569, allocations: 3.938 kB / 3.529 GB, free: 42.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/8.569, allocations: 3.906 kB / 3.529 GB, free: 42.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/8.569, allocations: 20 kB / 3.529 GB, free: 42.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009371/8.578, allocations: 3.611 MB / 3.532 GB, free: 38.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/8.579, allocations: 0.66 MB / 3.533 GB, free: 37.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005932/8.58, allocations: 394.2 kB / 3.533 GB, free: 37.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-05/8.58, allocations: 20 kB / 3.533 GB, free: 37.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/8.58, allocations: 43.72 kB / 3.533 GB, free: 37.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=56): time 4.549e-06/8.58, allocations: 0 / 3.533 GB, free: 37.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56): time 0.003693/8.584, allocations: 1.127 MB / 3.534 GB, free: 36.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/8.584, allocations: 214.2 kB / 3.534 GB, free: 35.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/8.586, allocations: 1.062 MB / 3.536 GB, free: 34.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/8.587, allocations: 25.7 kB / 3.536 GB, free: 34.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/8.587, allocations: 400.5 kB / 3.536 GB, free: 34.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/8.587, allocations: 189.2 kB / 3.536 GB, free: 34.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/8.587, allocations: 0 / 3.536 GB, free: 34.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001029/8.587, allocations: 333.9 kB / 3.536 GB, free: 33.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006356/8.588, allocations: 421.4 kB / 3.537 GB, free: 33.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000756/8.589, allocations: 0.5858 MB / 3.537 GB, free: 32.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008777/8.59, allocations: 474.8 kB / 3.538 GB, free: 32.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/8.59, allocations: 4 kB / 3.538 GB, free: 32.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002254/8.592, allocations: 1.141 MB / 3.539 GB, free: 31.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001889/8.592, allocations: 0.5402 MB / 3.54 GB, free: 30.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/8.592, allocations: 4 kB / 3.54 GB, free: 30.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.414e-05/8.592, allocations: 4 kB / 3.54 GB, free: 30.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/8.594, allocations: 275.6 kB / 3.54 GB, free: 30.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/8.594, allocations: 4 kB / 3.54 GB, free: 30.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/8.596, allocations: 183.2 kB / 3.54 GB, free: 30.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/8.596, allocations: 51.94 kB / 3.54 GB, free: 30.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/8.596, allocations: 4 kB / 3.54 GB, free: 30.18 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001592/8.598, allocations: 0.918 MB / 3.541 GB, free: 29.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/8.598, allocations: 7.906 kB / 3.541 GB, free: 29.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/8.598, allocations: 4 kB / 3.541 GB, free: 29.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/8.599, allocations: 207.9 kB / 3.541 GB, free: 29.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/8.599, allocations: 4 kB / 3.541 GB, free: 29.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/8.601, allocations: 115.4 kB / 3.541 GB, free: 28.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/8.601, allocations: 47.95 kB / 3.541 GB, free: 28.88 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.000393/8.601, allocations: 117.7 kB / 3.541 GB, free: 28.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005855/8.602, allocations: 122.5 kB / 3.542 GB, free: 28.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/8.604, allocations: 1.054 MB / 3.543 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/8.604, allocations: 8 kB / 3.543 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/8.604, allocations: 0 / 3.543 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/8.604, allocations: 3.984 kB / 3.543 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/8.609, allocations: 2.218 MB / 3.545 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/8.609, allocations: 4 kB / 3.545 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/8.61, allocations: 208.1 kB / 3.545 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-05/8.61, allocations: 11.91 kB / 3.545 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.811e-05/8.61, allocations: 19.91 kB / 3.545 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/8.61, allocations: 4 kB / 3.545 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/8.61, allocations: 4 kB / 3.545 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002897/8.613, allocations: 1.679 MB / 3.547 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/8.614, allocations: 347.2 kB / 3.547 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005006/8.615, allocations: 8 kB / 3.547 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/8.617, allocations: 143.7 kB / 3.547 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/8.617, allocations: 48.42 kB / 3.547 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/8.617, allocations: 39.97 kB / 3.547 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001752/8.619, allocations: 0.804 MB / 3.548 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003622/8.623, allocations: 0.7484 MB / 3.549 GB, free: 21.14 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.004037/8.627, allocations: 2.146 MB / 3.551 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002769/8.63, allocations: 1.541 MB / 3.552 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/8.63, allocations: 0.8125 kB / 3.552 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006619/8.63, allocations: 425.6 kB / 3.553 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/8.634, allocations: 483.6 kB / 3.553 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/8.646, allocations: 3.005 MB / 3.556 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002194/8.648, allocations: 1.37 MB / 3.557 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of SimCode: time 1.954e-06/8.648, allocations: 0 / 3.557 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.5367/9.185, allocations: 41.58 MB / 3.598 GB, free: 152.5 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)