Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") [/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.1914/0.1921, allocations: 82.22 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5471/0.7393, allocations: 176.5 MB / 0.7657 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009192/0.7486, allocations: 6.038 MB / 0.7716 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.7502, allocations: 33.47 kB / 0.7716 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.7526, allocations: 0.707 MB / 0.7723 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006089/0.7587, allocations: 1.715 MB / 0.774 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.7626, allocations: 1.099 MB / 0.7751 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003899/0.7665, allocations: 1.818 MB / 0.7769 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.7683, allocations: 0.9366 MB / 0.7778 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.7724, allocations: 1.53 MB / 0.7793 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.7739, allocations: 0.781 MB / 0.78 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.774, allocations: 60.06 kB / 0.7801 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.776, allocations: 0.8144 MB / 0.7809 GB, free: 6.633 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004356/0.7764, allocations: 421.3 kB / 0.7813 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.7768, allocations: 325.5 kB / 0.7816 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.7787, allocations: 1.795 MB / 0.7833 GB, free: 5.371 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.7787, allocations: 0 / 0.7833 GB, free: 5.371 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7787, allocations: 0 / 0.7833 GB, free: 5.371 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.7787, allocations: 0 / 0.7833 GB, free: 5.371 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004456/0.7832, allocations: 1.709 MB / 0.785 GB, free: 4.238 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.7833, allocations: 10.22 kB / 0.785 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/0.786, allocations: 0.5628 MB / 0.7856 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.7875, allocations: 0.9084 MB / 0.7865 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006012/0.7881, allocations: 220.3 kB / 0.7867 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.7883, allocations: 105.3 kB / 0.7868 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003178/0.7915, allocations: 1.596 MB / 0.7883 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.7915, allocations: 1.75 kB / 0.7883 GB, free: 3.016 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.7916, allocations: 52.47 kB / 0.7884 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.625e-05/0.7917, allocations: 61.22 kB / 0.7884 GB, free: 2.992 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.7958, allocations: 1.911 MB / 0.7903 GB, free: 2.609 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007325/0.8031, allocations: 5.028 MB / 0.7952 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.8063, allocations: 1.219 MB / 0.7964 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/0.807, allocations: 283.8 kB / 0.7967 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.807, allocations: 43.81 kB / 0.7967 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.715e-06/0.807, allocations: 0 / 0.7967 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.005275/0.8123, allocations: 2.087 MB / 0.7988 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.8124, allocations: 59.94 kB / 0.7988 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.8136, allocations: 0.9546 MB / 0.7997 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.8137, allocations: 49.69 kB / 0.7998 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.8142, allocations: 0.5192 MB / 0.8003 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.8144, allocations: 276 kB / 0.8006 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.154e-05/0.8145, allocations: 20 kB / 0.8006 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8146, allocations: 345.8 kB / 0.8009 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.8161, allocations: 0.6304 MB / 0.8015 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.8178, allocations: 0.8296 MB / 0.8023 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.8194, allocations: 0.7034 MB / 0.803 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8194, allocations: 0 / 0.803 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004223/0.8237, allocations: 1.626 MB / 0.8046 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005162/0.8242, allocations: 1.08 MB / 0.8057 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.8242, allocations: 5.312 kB / 0.8057 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.8243, allocations: 12 kB / 0.8057 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003707/0.828, allocations: 0.7335 MB / 0.8064 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/0.8328, allocations: 3.394 MB / 0.8097 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.8347, allocations: 266.7 kB / 0.81 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/0.8348, allocations: 35.98 kB / 0.81 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.8348, allocations: 4 kB / 0.81 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003218/0.838, allocations: 1.446 MB / 0.8114 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.838, allocations: 5.859 kB / 0.8114 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.838, allocations: 8 kB / 0.8114 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.8394, allocations: 303.7 kB / 0.8117 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.8394, allocations: 11.98 kB / 0.8117 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.8409, allocations: 226.9 kB / 0.812 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/0.841, allocations: 35.98 kB / 0.812 GB, free: 14.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007222/0.8417, allocations: 408.8 kB / 0.8124 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.8419, allocations: 114.6 kB / 0.8125 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.8454, allocations: 1.536 MB / 0.814 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.8454, allocations: 12 kB / 0.814 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.8454, allocations: 0 / 0.814 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.8455, allocations: 3.984 kB / 0.814 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005272/0.8507, allocations: 2.916 MB / 0.8168 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.8508, allocations: 4 kB / 0.8168 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/0.8539, allocations: 0.6672 MB / 0.8175 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.854, allocations: 7.984 kB / 0.8175 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/0.854, allocations: 23.98 kB / 0.8175 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004293/0.8583, allocations: 3.324 MB / 0.8208 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.8584, allocations: 7.938 kB / 0.8208 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003889/0.8623, allocations: 1.787 MB / 0.8225 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007091/0.863, allocations: 347.3 kB / 0.8229 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.8631, allocations: 19.98 kB / 0.8229 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.8644, allocations: 179.7 kB / 0.8231 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.8646, allocations: 68.34 kB / 0.8231 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.8647, allocations: 43.97 kB / 0.8232 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009042/0.8656, allocations: 0.6583 MB / 0.8238 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8656, allocations: 0 / 0.8238 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001735/0.8673, allocations: 0.6588 MB / 0.8244 GB, free: 1.691 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 simulation (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005304/0.8679, allocations: 220.4 kB / 0.8247 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007455/0.8753, allocations: 2.772 MB / 0.8274 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8754, allocations: 0 / 0.8274 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005774/0.8812, allocations: 1.491 MB / 0.8288 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.8842, allocations: 0.6106 MB / 0.8294 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.8889, allocations: 2.734 MB / 0.8321 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/0.8896, allocations: 1.165 MB / 0.8332 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00184/0.8915, allocations: 412.8 kB / 0.8336 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.8918, allocations: 93.38 kB / 0.8337 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.8918, allocations: 4 kB / 0.8337 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of Templates: time 0.03569/0.9275, allocations: 23.21 MB / 0.8564 GB, free: 1.199 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: