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/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.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") [/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.1828/0.1835, allocations: 82.22 MB / 0.5934 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5523/0.7358, allocations: 157.8 MB / 0.7474 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.7471, allocations: 6.89 MB / 0.7542 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.7487, allocations: 27.75 kB / 0.7542 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.7507, allocations: 0.6068 MB / 0.7548 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003907/0.7546, allocations: 1.193 MB / 0.7559 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006606/0.7612, allocations: 2.093 MB / 0.758 GB, free: 3.555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003531/0.7647, allocations: 1.444 MB / 0.7594 GB, free: 2.113 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.7662, allocations: 0.8773 MB / 0.7603 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.7683, allocations: 0.989 MB / 0.7612 GB, free: 236 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009461/0.7693, allocations: 0.6694 MB / 0.7619 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.7695, allocations: 64 kB / 0.7619 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.7711, allocations: 0.6084 MB / 0.7625 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005605/0.7717, allocations: 374.9 kB / 0.7629 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.772, allocations: 257.1 kB / 0.7631 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.7739, allocations: 1.594 MB / 0.7647 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.7739, allocations: 0 / 0.7647 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7739, allocations: 0 / 0.7647 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.7739, allocations: 0 / 0.7647 GB, free: 12.67 MB / 0.5606 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.003647/0.7776, allocations: 1.53 MB / 0.7662 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.7776, allocations: 16.02 kB / 0.7662 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008249/0.7785, allocations: 194.3 kB / 0.7664 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.7799, allocations: 0.8384 MB / 0.7672 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.7801, allocations: 65.98 kB / 0.7673 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.7802, allocations: 68 kB / 0.7673 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/0.7832, allocations: 1.186 MB / 0.7685 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.7832, allocations: 0 / 0.7685 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.7833, allocations: 32 kB / 0.7685 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.7834, allocations: 16 kB / 0.7685 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.7862, allocations: 1.069 MB / 0.7696 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005531/0.7918, allocations: 3.217 MB / 0.7727 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.7942, allocations: 0.867 MB / 0.7736 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.7942, allocations: 8.891 kB / 0.7736 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.7943, allocations: 43 kB / 0.7736 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007665/0.7951, allocations: 183.2 kB / 0.7738 GB, free: 3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 1.944e-06/0.7951, allocations: 0 / 0.7738 GB, free: 3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.00463/0.7997, allocations: 1.583 MB / 0.7753 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/0.7998, allocations: 140.9 kB / 0.7755 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.8015, allocations: 1.176 MB / 0.7766 GB, free: 48 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/0.8016, allocations: 37.7 kB / 0.7767 GB, free: 4 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.802, allocations: 485.1 kB / 0.7771 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.8021, allocations: 165.6 kB / 0.7773 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.8022, allocations: 12 kB / 0.7773 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.8023, allocations: 330 kB / 0.7776 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.8033, allocations: 448.8 kB / 0.778 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.8045, allocations: 0.5652 MB / 0.7786 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.8058, allocations: 494 kB / 0.7791 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.8058, allocations: 3.938 kB / 0.7791 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002512/0.8083, allocations: 1.157 MB / 0.7802 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002397/0.8086, allocations: 0.5309 MB / 0.7807 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.8086, allocations: 3.984 kB / 0.7807 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.8086, allocations: 4 kB / 0.7807 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.8097, allocations: 199.8 kB / 0.7809 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.8097, allocations: 4 kB / 0.7809 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.8109, allocations: 135.7 kB / 0.781 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.811, allocations: 31.95 kB / 0.7811 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.811, allocations: 4 kB / 0.7811 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001541/0.8125, allocations: 0.8213 MB / 0.7819 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.8126, allocations: 4 kB / 0.7819 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/0.8126, allocations: 4 kB / 0.7819 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007132/0.8133, allocations: 159.8 kB / 0.782 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.8133, allocations: 7.953 kB / 0.782 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009033/0.8142, allocations: 79.88 kB / 0.7821 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.8143, allocations: 27.97 kB / 0.7821 GB, free: 10.29 MB / 0.5762 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 (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.0006566/0.815, allocations: 361.6 kB / 0.7825 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.8151, allocations: 114.6 kB / 0.7826 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.8177, allocations: 1.076 MB / 0.7837 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.8177, allocations: 8 kB / 0.7837 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.8177, allocations: 3.953 kB / 0.7837 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.8177, allocations: 3.984 kB / 0.7837 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/0.8217, allocations: 2.187 MB / 0.7858 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.8217, allocations: 4.281 kB / 0.7858 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008418/0.8226, allocations: 163.8 kB / 0.786 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.8226, allocations: 8 kB / 0.786 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/0.8227, allocations: 19.98 kB / 0.786 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.8227, allocations: 11.92 kB / 0.786 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8227, allocations: 4 kB / 0.786 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00386/0.8266, allocations: 1.784 MB / 0.7877 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007196/0.8273, allocations: 311.5 kB / 0.788 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.8275, allocations: 20.06 kB / 0.7881 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.8287, allocations: 115.8 kB / 0.7882 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.8289, allocations: 44.36 kB / 0.7882 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/0.8289, allocations: 35.98 kB / 0.7883 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001193/0.8301, allocations: 0.8248 MB / 0.7891 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.5e-07/0.8301, allocations: 3.938 kB / 0.7891 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001528/0.8317, allocations: 0.5031 MB / 0.7896 GB, free: 2.48 MB / 0.5762 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 () * Number of clocked 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.0006404/0.8323, allocations: 228.7 kB / 0.7898 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003282/0.8356, allocations: 1.442 MB / 0.7912 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.8356, allocations: 4 kB / 0.7912 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.8367, allocations: 478.9 kB / 0.7916 GB, free: 336 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/0.8394, allocations: 0.5426 MB / 0.7922 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007794/0.8473, allocations: 3.113 MB / 0.7952 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006837/0.848, allocations: 1.109 MB / 0.7963 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001548/0.8495, allocations: 304.1 kB / 0.7966 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.8499, allocations: 107.4 kB / 0.7967 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/0.8499, allocations: 4 kB / 0.7967 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.03624/0.8862, allocations: 22.94 MB / 0.8191 GB, free: 4.371 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: