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.1944/0.1952, allocations: 82.22 MB / 0.5941 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6477/0.8429, allocations: 209 MB / 0.7982 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.8534, allocations: 5.948 MB / 0.804 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.8552, allocations: 37.47 kB / 0.8041 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002624/0.8578, allocations: 0.7238 MB / 0.8048 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006048/0.8639, allocations: 1.961 MB / 0.8067 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.8675, allocations: 1.285 MB / 0.8079 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005965/0.8735, allocations: 4.452 MB / 0.8123 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.8751, allocations: 1 MB / 0.8133 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005396/0.8805, allocations: 1.908 MB / 0.8151 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003556/0.8841, allocations: 1.131 MB / 0.8162 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003752/0.8845, allocations: 63.94 kB / 0.8163 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005395/0.8899, allocations: 1.75 MB / 0.818 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009061/0.8908, allocations: 474.4 kB / 0.8184 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.8924, allocations: 0.752 MB / 0.8192 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00537/0.8978, allocations: 2.604 MB / 0.8217 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8978, allocations: 4 kB / 0.8217 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.085e-06/0.8979, allocations: 0 / 0.8217 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.097e-05/0.8979, allocations: 0 / 0.8217 GB, free: 9.043 MB / 0.5762 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.007358/0.9053, allocations: 1.731 MB / 0.8234 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.9054, allocations: 8.031 kB / 0.8234 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004727/0.9101, allocations: 0.5603 MB / 0.824 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/0.9127, allocations: 0.937 MB / 0.8249 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001029/0.9138, allocations: 217.9 kB / 0.8251 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003736/0.9142, allocations: 112 kB / 0.8252 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005977/0.9201, allocations: 1.61 MB / 0.8268 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/0.9202, allocations: 7.984 kB / 0.8268 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.9205, allocations: 44 kB / 0.8268 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.677e-05/0.9206, allocations: 58.16 kB / 0.8269 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007312/0.9279, allocations: 1.925 MB / 0.8288 GB, free: 1.688 MB / 0.5762 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.01197/0.9399, allocations: 5.033 MB / 0.8337 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004276/0.9442, allocations: 1.175 MB / 0.8348 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.9466, allocations: 0.6943 MB / 0.8355 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009528/0.9475, allocations: 283.1 kB / 0.8358 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.9476, allocations: 43.22 kB / 0.8358 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 3.928e-06/0.9476, allocations: 0 / 0.8358 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.00938/0.957, allocations: 2.089 MB / 0.8378 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.9571, allocations: 60.06 kB / 0.8379 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.9592, allocations: 0.9644 MB / 0.8388 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002642/0.9595, allocations: 49.64 kB / 0.8389 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006557/0.9602, allocations: 0.5193 MB / 0.8394 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.9605, allocations: 276 kB / 0.8397 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.9607, allocations: 73.67 kB / 0.8397 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.9608, allocations: 345.9 kB / 0.8401 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/0.9634, allocations: 0.6382 MB / 0.8407 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002691/0.9662, allocations: 0.8239 MB / 0.8415 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004445/0.9706, allocations: 1.4 MB / 0.8429 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.9706, allocations: 0 / 0.8429 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00407/0.9747, allocations: 1.634 MB / 0.8445 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.9749, allocations: 204.2 kB / 0.8447 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.9749, allocations: 4 kB / 0.8447 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.9749, allocations: 8.031 kB / 0.8447 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00417/0.9791, allocations: 0.7296 MB / 0.8454 GB, free: 20 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005036/0.9842, allocations: 3.341 MB / 0.8486 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.9862, allocations: 262.7 kB / 0.8489 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.9863, allocations: 39.97 kB / 0.8489 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.9863, allocations: 7.938 kB / 0.8489 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003671/0.99, allocations: 1.45 MB / 0.8504 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.99, allocations: 8.031 kB / 0.8504 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.9901, allocations: 8 kB / 0.8504 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.9915, allocations: 303.5 kB / 0.8507 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.9916, allocations: 8 kB / 0.8507 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.9931, allocations: 226.9 kB / 0.8509 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.529e-05/0.9933, allocations: 35.98 kB / 0.8509 GB, free: 10.08 MB / 0.6075 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.i2_w,hex.i1_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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008046/0.9941, allocations: 413.7 kB / 0.8513 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.9944, allocations: 118.6 kB / 0.8514 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/0.9986, allocations: 1.543 MB / 0.8529 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.9986, allocations: 8 kB / 0.8529 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9987, allocations: 0 / 0.8529 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.9987, allocations: 8.016 kB / 0.8529 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006302/1.005, allocations: 2.925 MB / 0.8558 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/1.005, allocations: 4 kB / 0.8558 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003681/1.009, allocations: 0.6715 MB / 0.8565 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.828e-05/1.009, allocations: 4 kB / 0.8565 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-05/1.009, allocations: 23.98 kB / 0.8565 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004728/1.014, allocations: 3.275 MB / 0.8597 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.014, allocations: 4 kB / 0.8597 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/1.018, allocations: 1.64 MB / 0.8613 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008771/1.019, allocations: 347.4 kB / 0.8616 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/1.019, allocations: 20 kB / 0.8616 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/1.021, allocations: 175.7 kB / 0.8618 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/1.021, allocations: 64.42 kB / 0.8619 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.021, allocations: 47.95 kB / 0.8619 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001106/1.022, allocations: 0.67 MB / 0.8626 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.873e-06/1.022, allocations: 0 / 0.8626 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002057/1.024, allocations: 0.651 MB / 0.8632 GB, free: 13.02 MB / 0.6231 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006384/1.025, allocations: 233.2 kB / 0.8634 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008891/1.034, allocations: 2.784 MB / 0.8661 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.034, allocations: 4 kB / 0.8662 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006706/1.04, allocations: 1.487 MB / 0.8676 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/1.045, allocations: 0.6149 MB / 0.8682 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/1.052, allocations: 2.834 MB / 0.871 GB, free: 5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/1.053, allocations: 1.142 MB / 0.8721 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002263/1.055, allocations: 404.8 kB / 0.8725 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/1.055, allocations: 95.41 kB / 0.8726 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of SimCode: time 6.12e-07/1.055, allocations: 4 kB / 0.8726 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of Templates: time 0.04093/1.096, allocations: 23.98 MB / 0.896 GB, free: 11.65 MB / 0.6544 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: