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.2241/0.2262, allocations: 80.84 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.799/1.025, allocations: 199.6 MB / 0.8656 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01246/1.038, allocations: 6.101 MB / 0.8715 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/1.04, allocations: 41.09 kB / 0.8716 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003006/1.044, allocations: 0.7447 MB / 0.8723 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006394/1.05, allocations: 1.606 MB / 0.8739 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004495/1.055, allocations: 1.266 MB / 0.8751 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005584/1.06, allocations: 2.923 MB / 0.878 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002193/1.062, allocations: 1.075 MB / 0.879 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005808/1.068, allocations: 1.728 MB / 0.8807 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/1.071, allocations: 0.9591 MB / 0.8816 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000645/1.072, allocations: 128 kB / 0.8818 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003984/1.076, allocations: 1.283 MB / 0.883 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007699/1.076, allocations: 410.8 kB / 0.8834 GB, free: 92 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001536/1.078, allocations: 0.7155 MB / 0.8841 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006065/1.084, allocations: 2.245 MB / 0.8863 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/1.084, allocations: 0 / 0.8863 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.605e-06/1.084, allocations: 0 / 0.8863 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.461e-05/1.084, allocations: 4 kB / 0.8863 GB, free: 13.12 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.005054/1.089, allocations: 1.812 MB / 0.8881 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.729e-05/1.089, allocations: 8.031 kB / 0.8881 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/1.092, allocations: 442.7 kB / 0.8885 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/1.094, allocations: 0.9259 MB / 0.8894 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/1.094, allocations: 77.98 kB / 0.8895 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/1.094, allocations: 99.98 kB / 0.8896 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003374/1.097, allocations: 1.397 MB / 0.8909 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/1.097, allocations: 7.938 kB / 0.8909 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.098, allocations: 39.98 kB / 0.891 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.577e-05/1.098, allocations: 43.11 kB / 0.891 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003912/1.102, allocations: 1.409 MB / 0.8924 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00987/1.111, allocations: 5.628 MB / 0.8979 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/1.114, allocations: 0.8636 MB / 0.8987 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/1.116, allocations: 461.8 kB / 0.8992 GB, free: 15.37 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003914/1.116, allocations: 133.8 kB / 0.8993 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002079/1.118, allocations: 0.708 MB / 0.9 GB, free: 14.45 MB / 0.67 GB Notification: Performance of pre-optimization done (n=53): time 3.707e-06/1.118, allocations: 0 / 0.9 GB, free: 14.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=53): time 0.004951/1.123, allocations: 1.431 MB / 0.9014 GB, free: 13.02 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002766/1.123, allocations: 427.7 kB / 0.9018 GB, free: 12.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/1.125, allocations: 0.9764 MB / 0.9027 GB, free: 11.51 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/1.125, allocations: 45.7 kB / 0.9028 GB, free: 11.46 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000481/1.126, allocations: 0.5274 MB / 0.9033 GB, free: 10.92 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/1.126, allocations: 194.3 kB / 0.9035 GB, free: 10.73 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/1.126, allocations: 178.5 kB / 0.9037 GB, free: 10.55 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.126, allocations: 337.9 kB / 0.904 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/1.128, allocations: 469.4 kB / 0.9044 GB, free: 9.754 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/1.129, allocations: 0.7602 MB / 0.9052 GB, free: 8.875 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/1.132, allocations: 1.044 MB / 0.9062 GB, free: 7.754 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.132, allocations: 0 / 0.9062 GB, free: 7.754 MB / 0.67 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0036/1.136, allocations: 1.245 MB / 0.9074 GB, free: 6.496 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/1.136, allocations: 35.3 kB / 0.9074 GB, free: 6.457 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.136, allocations: 11.94 kB / 0.9075 GB, free: 6.445 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/1.136, allocations: 12 kB / 0.9075 GB, free: 6.434 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/1.139, allocations: 0.5382 MB / 0.908 GB, free: 5.895 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005675/1.145, allocations: 3.422 MB / 0.9113 GB, free: 2.195 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/1.147, allocations: 195.2 kB / 0.9115 GB, free: 2.004 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/1.147, allocations: 39.91 kB / 0.9116 GB, free: 1.965 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002086/1.149, allocations: 0.6502 MB / 0.9122 GB, free: 1.312 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001887/1.151, allocations: 0.7365 MB / 0.9129 GB, free: 476 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002761/1.154, allocations: 0.9786 MB / 0.9139 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.917e-06/1.154, allocations: 8 kB / 0.9139 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.003749/1.158, allocations: 1.191 MB / 0.915 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/1.158, allocations: 37.7 kB / 0.9151 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.158, allocations: 9.562 kB / 0.9151 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.158, allocations: 8 kB / 0.9151 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.159, allocations: 227.9 kB / 0.9153 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/1.159, allocations: 11.94 kB / 0.9153 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/1.161, allocations: 171.8 kB / 0.9155 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/1.161, allocations: 31.98 kB / 0.9155 GB, free: 13.71 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.0004867/1.161, allocations: 244 kB / 0.9157 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/1.162, allocations: 111.3 kB / 0.9159 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/1.165, allocations: 1.056 MB / 0.9169 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/1.165, allocations: 12 kB / 0.9169 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.165, allocations: 0 / 0.9169 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/1.166, allocations: 3.984 kB / 0.9169 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005479/1.171, allocations: 2.211 MB / 0.9191 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.171, allocations: 4 kB / 0.9191 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002892/1.174, allocations: 487.4 kB / 0.9195 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.9e-05/1.174, allocations: 7.938 kB / 0.9195 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.682e-05/1.174, allocations: 15.98 kB / 0.9196 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005154/1.179, allocations: 3.336 MB / 0.9228 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.179, allocations: 7.969 kB / 0.9228 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003576/1.183, allocations: 1.142 MB / 0.9239 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000875/1.184, allocations: 300.1 kB / 0.9242 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003894/1.184, allocations: 16 kB / 0.9242 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.186, allocations: 103.9 kB / 0.9243 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/1.186, allocations: 68.28 kB / 0.9244 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/1.186, allocations: 23.98 kB / 0.9244 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001349/1.187, allocations: 0.6702 MB / 0.9251 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.187, allocations: 0 / 0.9251 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002321/1.19, allocations: 0.5733 MB / 0.9256 GB, free: 2.918 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.0007944/1.19, allocations: 205.5 kB / 0.9258 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007991/1.198, allocations: 2.036 MB / 0.9278 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/1.198, allocations: 4 kB / 0.9278 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005717/1.204, allocations: 1.1 MB / 0.9289 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/1.207, allocations: 0.4887 MB / 0.9294 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005801/1.213, allocations: 1.923 MB / 0.9313 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.214, allocations: 1.062 MB / 0.9323 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001657/1.216, allocations: 294.3 kB / 0.9326 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/1.217, allocations: 91.41 kB / 0.9327 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of SimCode: time 1.743e-06/1.217, allocations: 4 kB / 0.9327 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of Templates: time 0.04649/1.263, allocations: 22.22 MB / 0.9544 GB, free: 5.613 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)