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.1957/0.1978, allocations: 80.84 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.8118/1.01, allocations: 199.6 MB / 0.8656 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01267/1.022, allocations: 6.088 MB / 0.8715 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/1.025, allocations: 41.44 kB / 0.8716 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003154/1.028, allocations: 0.7422 MB / 0.8723 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006422/1.035, allocations: 1.601 MB / 0.8739 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004601/1.039, allocations: 1.277 MB / 0.8751 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006312/1.046, allocations: 2.923 MB / 0.878 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002474/1.048, allocations: 1.074 MB / 0.879 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006036/1.054, allocations: 1.753 MB / 0.8807 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/1.057, allocations: 0.9659 MB / 0.8817 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006497/1.058, allocations: 128 kB / 0.8818 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/1.061, allocations: 1.275 MB / 0.883 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000962/1.062, allocations: 418.7 kB / 0.8834 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002062/1.064, allocations: 0.7116 MB / 0.8841 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005885/1.07, allocations: 2.227 MB / 0.8863 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.07, allocations: 4 kB / 0.8863 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.685e-06/1.07, allocations: 0 / 0.8863 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.522e-05/1.07, allocations: 0 / 0.8863 GB, free: 13.2 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.006548/1.077, allocations: 1.782 MB / 0.888 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/1.077, allocations: 8.031 kB / 0.888 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/1.08, allocations: 433.9 kB / 0.8885 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/1.082, allocations: 0.9136 MB / 0.8894 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/1.082, allocations: 74 kB / 0.8894 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/1.083, allocations: 101 kB / 0.8895 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004128/1.087, allocations: 1.409 MB / 0.8909 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/1.087, allocations: 4 kB / 0.8909 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/1.087, allocations: 39.98 kB / 0.8909 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.255e-05/1.087, allocations: 45.98 kB / 0.891 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004281/1.091, allocations: 1.409 MB / 0.8924 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009895/1.101, allocations: 5.615 MB / 0.8978 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003023/1.104, allocations: 0.8753 MB / 0.8987 GB, free: 15.94 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/1.106, allocations: 457.8 kB / 0.8991 GB, free: 15.49 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000393/1.106, allocations: 125.9 kB / 0.8992 GB, free: 15.35 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002155/1.108, allocations: 0.7087 MB / 0.8999 GB, free: 14.59 MB / 0.67 GB Notification: Performance of pre-optimization done (n=53): time 5.12e-06/1.108, allocations: 0 / 0.8999 GB, free: 14.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=53): time 0.005253/1.114, allocations: 1.427 MB / 0.9013 GB, free: 13.16 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002499/1.114, allocations: 419.7 kB / 0.9017 GB, free: 12.65 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/1.116, allocations: 0.9802 MB / 0.9027 GB, free: 11.65 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001647/1.116, allocations: 41.7 kB / 0.9027 GB, free: 11.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000679/1.117, allocations: 0.5225 MB / 0.9032 GB, free: 11.07 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/1.117, allocations: 181.4 kB / 0.9034 GB, free: 10.89 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004599/1.117, allocations: 178.4 kB / 0.9036 GB, free: 10.71 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002061/1.118, allocations: 345.8 kB / 0.9039 GB, free: 10.37 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/1.119, allocations: 464.5 kB / 0.9044 GB, free: 9.91 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/1.121, allocations: 0.768 MB / 0.9051 GB, free: 9.023 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003038/1.124, allocations: 1.033 MB / 0.9061 GB, free: 7.914 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.124, allocations: 0 / 0.9061 GB, free: 7.914 MB / 0.67 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003926/1.128, allocations: 1.237 MB / 0.9073 GB, free: 6.664 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/1.128, allocations: 38.94 kB / 0.9074 GB, free: 6.621 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.128, allocations: 8 kB / 0.9074 GB, free: 6.613 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/1.128, allocations: 12.28 kB / 0.9074 GB, free: 6.602 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/1.132, allocations: 0.546 MB / 0.9079 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/1.137, allocations: 3.421 MB / 0.9113 GB, free: 2.355 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/1.139, allocations: 190.8 kB / 0.9114 GB, free: 2.168 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/1.139, allocations: 39.92 kB / 0.9115 GB, free: 2.129 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002069/1.141, allocations: 0.6423 MB / 0.9121 GB, free: 1.484 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001746/1.143, allocations: 0.7326 MB / 0.9128 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002753/1.146, allocations: 0.998 MB / 0.9138 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.546e-06/1.146, allocations: 4 kB / 0.9138 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.003616/1.15, allocations: 1.19 MB / 0.915 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/1.15, allocations: 33.7 kB / 0.915 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.15, allocations: 7.984 kB / 0.915 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.15, allocations: 12 kB / 0.915 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.151, allocations: 223.8 kB / 0.9152 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.238e-05/1.151, allocations: 17.48 kB / 0.9152 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/1.153, allocations: 163.6 kB / 0.9154 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.153, allocations: 35.98 kB / 0.9154 GB, free: 13.87 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.000457/1.153, allocations: 236 kB / 0.9157 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004407/1.154, allocations: 106.7 kB / 0.9158 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/1.157, allocations: 1.067 MB / 0.9168 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/1.157, allocations: 8 kB / 0.9168 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.157, allocations: 0 / 0.9168 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.157, allocations: 0 / 0.9168 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005179/1.162, allocations: 2.207 MB / 0.919 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.162, allocations: 4 kB / 0.919 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002945/1.165, allocations: 479.4 kB / 0.9194 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.618e-05/1.165, allocations: 7.938 kB / 0.9194 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/1.166, allocations: 19.98 kB / 0.9195 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004716/1.17, allocations: 3.343 MB / 0.9227 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.17, allocations: 4.031 kB / 0.9227 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/1.174, allocations: 1.137 MB / 0.9238 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009519/1.175, allocations: 295.5 kB / 0.9241 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/1.175, allocations: 16 kB / 0.9241 GB, free: 4.547 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.177, allocations: 115.8 kB / 0.9242 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/1.177, allocations: 52.38 kB / 0.9243 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.359e-05/1.177, allocations: 23.98 kB / 0.9243 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001245/1.178, allocations: 0.6741 MB / 0.925 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.5e-07/1.178, allocations: 0 / 0.925 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002436/1.181, allocations: 0.5616 MB / 0.9255 GB, free: 3.113 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.0007478/1.182, allocations: 214.9 kB / 0.9257 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007947/1.19, allocations: 2.021 MB / 0.9277 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-05/1.19, allocations: 12.06 kB / 0.9277 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.006011/1.196, allocations: 1.099 MB / 0.9288 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/1.199, allocations: 0.4887 MB / 0.9293 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/1.204, allocations: 1.899 MB / 0.9311 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/1.205, allocations: 1.07 MB / 0.9322 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001529/1.206, allocations: 294.6 kB / 0.9324 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/1.207, allocations: 87.41 kB / 0.9325 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of SimCode: time 1.783e-06/1.207, allocations: 0 / 0.9325 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of Templates: time 0.04483/1.252, allocations: 22.62 MB / 0.9546 GB, free: 5.43 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)