Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.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.1858/0.1884, allocations: 80.83 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.7792/0.9677, allocations: 199.6 MB / 0.8656 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.9787, allocations: 6.093 MB / 0.8715 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.9813, allocations: 41.25 kB / 0.8716 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.9838, allocations: 0.7477 MB / 0.8723 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005347/0.9892, allocations: 1.601 MB / 0.8739 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.9929, allocations: 1.271 MB / 0.8751 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006275/0.9991, allocations: 2.919 MB / 0.8779 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/1.001, allocations: 1.082 MB / 0.879 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005512/1.007, allocations: 1.726 MB / 0.8807 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002625/1.01, allocations: 0.9632 MB / 0.8816 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005729/1.01, allocations: 132 kB / 0.8818 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/1.014, allocations: 1.271 MB / 0.883 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008376/1.015, allocations: 414.8 kB / 0.8834 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001969/1.017, allocations: 0.7116 MB / 0.8841 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004933/1.022, allocations: 2.235 MB / 0.8863 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.022, allocations: 0 / 0.8863 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.723e-06/1.022, allocations: 0 / 0.8863 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.508e-05/1.022, allocations: 0 / 0.8863 GB, free: 13.23 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.005259/1.027, allocations: 1.779 MB / 0.888 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.027, allocations: 8.031 kB / 0.888 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/1.029, allocations: 437.9 kB / 0.8884 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/1.031, allocations: 0.9252 MB / 0.8893 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/1.031, allocations: 66 kB / 0.8894 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/1.031, allocations: 92 kB / 0.8895 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/1.035, allocations: 1.42 MB / 0.8909 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/1.035, allocations: 0 / 0.8909 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/1.035, allocations: 43.98 kB / 0.8909 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/1.035, allocations: 42 kB / 0.891 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003786/1.039, allocations: 1.409 MB / 0.8923 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008305/1.047, allocations: 5.615 MB / 0.8978 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/1.05, allocations: 0.8714 MB / 0.8987 GB, free: 15.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/1.051, allocations: 453.8 kB / 0.8991 GB, free: 15.54 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004118/1.052, allocations: 129.9 kB / 0.8992 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002107/1.054, allocations: 0.7079 MB / 0.8999 GB, free: 14.62 MB / 0.67 GB Notification: Performance of pre-optimization done (n=53): time 3.015e-06/1.054, allocations: 0 / 0.8999 GB, free: 14.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=53): time 0.005103/1.059, allocations: 1.431 MB / 0.9013 GB, free: 13.19 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002143/1.059, allocations: 423.7 kB / 0.9017 GB, free: 12.68 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/1.061, allocations: 0.9763 MB / 0.9027 GB, free: 11.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/1.061, allocations: 41.7 kB / 0.9027 GB, free: 11.64 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005495/1.062, allocations: 0.5186 MB / 0.9032 GB, free: 11.11 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/1.062, allocations: 185.4 kB / 0.9034 GB, free: 10.93 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000379/1.062, allocations: 170.4 kB / 0.9036 GB, free: 10.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.062, allocations: 341.9 kB / 0.9039 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/1.064, allocations: 472.4 kB / 0.9043 GB, free: 9.949 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/1.066, allocations: 0.768 MB / 0.9051 GB, free: 9.062 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/1.069, allocations: 1.033 MB / 0.9061 GB, free: 7.953 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/1.069, allocations: 0 / 0.9061 GB, free: 7.953 MB / 0.67 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004271/1.073, allocations: 1.245 MB / 0.9073 GB, free: 6.695 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/1.073, allocations: 33.7 kB / 0.9073 GB, free: 6.656 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/1.073, allocations: 4 kB / 0.9073 GB, free: 6.652 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-05/1.073, allocations: 8 kB / 0.9073 GB, free: 6.645 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/1.077, allocations: 0.5386 MB / 0.9079 GB, free: 6.105 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/1.083, allocations: 3.429 MB / 0.9112 GB, free: 2.398 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/1.085, allocations: 194.9 kB / 0.9114 GB, free: 2.207 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/1.085, allocations: 39.92 kB / 0.9114 GB, free: 2.168 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001996/1.087, allocations: 0.6501 MB / 0.9121 GB, free: 1.516 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001828/1.089, allocations: 0.73 MB / 0.9128 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002732/1.092, allocations: 0.9942 MB / 0.9138 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.822e-06/1.092, allocations: 0 / 0.9138 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.00345/1.095, allocations: 1.186 MB / 0.9149 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/1.095, allocations: 41.62 kB / 0.915 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.095, allocations: 4 kB / 0.915 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/1.095, allocations: 11.94 kB / 0.915 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/1.096, allocations: 236 kB / 0.9152 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/1.096, allocations: 11.94 kB / 0.9152 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/1.098, allocations: 159.6 kB / 0.9154 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/1.098, allocations: 39.97 kB / 0.9154 GB, free: 13.91 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * 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.0004475/1.099, allocations: 232.1 kB / 0.9156 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/1.099, allocations: 110.7 kB / 0.9157 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/1.102, allocations: 1.067 MB / 0.9168 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.102, allocations: 4 kB / 0.9168 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.102, allocations: 4 kB / 0.9168 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/1.102, allocations: 7.984 kB / 0.9168 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005068/1.108, allocations: 2.203 MB / 0.9189 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.108, allocations: 0 / 0.9189 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003108/1.111, allocations: 483.4 kB / 0.9194 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-05/1.111, allocations: 11.92 kB / 0.9194 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/1.111, allocations: 15.98 kB / 0.9194 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/1.116, allocations: 3.34 MB / 0.9227 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.116, allocations: 3.984 kB / 0.9227 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/1.12, allocations: 1.134 MB / 0.9238 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008784/1.121, allocations: 295.5 kB / 0.9241 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/1.121, allocations: 12 kB / 0.9241 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/1.122, allocations: 119.9 kB / 0.9242 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/1.123, allocations: 48.31 kB / 0.9243 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/1.123, allocations: 27.97 kB / 0.9243 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001323/1.124, allocations: 0.6663 MB / 0.9249 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/1.124, allocations: 0 / 0.9249 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002236/1.126, allocations: 0.5655 MB / 0.9255 GB, free: 3.16 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006444/1.127, allocations: 213.1 kB / 0.9257 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007989/1.135, allocations: 2.036 MB / 0.9277 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/1.135, allocations: 3.938 kB / 0.9277 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005756/1.141, allocations: 1.1 MB / 0.9288 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/1.144, allocations: 497.5 kB / 0.9292 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005045/1.149, allocations: 1.903 MB / 0.9311 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008795/1.15, allocations: 1.07 MB / 0.9321 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001459/1.151, allocations: 290.5 kB / 0.9324 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/1.152, allocations: 87.41 kB / 0.9325 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of SimCode: time 8.01e-07/1.152, allocations: 0 / 0.9325 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of Templates: time 0.04333/1.195, allocations: 22.22 MB / 0.9542 GB, free: 5.879 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)