Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") [/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.2035/0.2056, allocations: 80.83 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.1053/0.311, allocations: 74.04 MB / 0.743 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6307/0.9417, allocations: 13.68 MB / 0.7563 GB, free: 25.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003459/0.9452, allocations: 59.91 kB / 0.7564 GB, free: 25.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003766/0.9491, allocations: 0.8935 MB / 0.7572 GB, free: 25.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009468/0.9586, allocations: 2.536 MB / 0.7597 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004974/0.9636, allocations: 1.35 MB / 0.761 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.013/0.9766, allocations: 4.383 MB / 0.7653 GB, free: 25.44 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004215/0.9809, allocations: 1.438 MB / 0.7667 GB, free: 25.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006722/0.9877, allocations: 1.72 MB / 0.7684 GB, free: 25.15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003771/0.9915, allocations: 1.29 MB / 0.7697 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005699/0.9921, allocations: 171 kB / 0.7698 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004305/0.9964, allocations: 1.298 MB / 0.7711 GB, free: 24.9 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005736/0.997, allocations: 422.7 kB / 0.7715 GB, free: 24.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.9989, allocations: 0.946 MB / 0.7724 GB, free: 24.58 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005741/1.005, allocations: 2.905 MB / 0.7753 GB, free: 24.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.005, allocations: 0 / 0.7753 GB, free: 24.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.804e-06/1.005, allocations: 0 / 0.7753 GB, free: 24.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.648e-05/1.005, allocations: 1.531 kB / 0.7753 GB, free: 24.2 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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.004827/1.01, allocations: 2.169 MB / 0.7774 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.01, allocations: 9 kB / 0.7774 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/1.011, allocations: 258.1 kB / 0.7776 GB, free: 22.99 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/1.014, allocations: 1.474 MB / 0.7791 GB, free: 22.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/1.014, allocations: 88.17 kB / 0.7792 GB, free: 22.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/1.014, allocations: 113.9 kB / 0.7793 GB, free: 22.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/1.017, allocations: 1.401 MB / 0.7806 GB, free: 22.19 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/1.017, allocations: 10.02 kB / 0.7806 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/1.017, allocations: 49.86 kB / 0.7807 GB, free: 22.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/1.017, allocations: 43.86 kB / 0.7807 GB, free: 22.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/1.019, allocations: 1.074 MB / 0.7818 GB, free: 21.79 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.00679/1.026, allocations: 6.675 MB / 0.7883 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/1.028, allocations: 0.6418 MB / 0.7889 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/1.029, allocations: 350.8 kB / 0.7893 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/1.029, allocations: 181.3 kB / 0.7894 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/1.029, allocations: 43.53 kB / 0.7895 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=64): time 3.577e-06/1.029, allocations: 0 / 0.7895 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.007816/1.037, allocations: 2.591 MB / 0.792 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/1.037, allocations: 166.1 kB / 0.7922 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/1.039, allocations: 1.261 MB / 0.7934 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/1.039, allocations: 43.48 kB / 0.7934 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005229/1.04, allocations: 0.6681 MB / 0.7941 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/1.04, allocations: 253.7 kB / 0.7943 GB, free: 13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003313/1.04, allocations: 191.6 kB / 0.7945 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/1.041, allocations: 337.2 kB / 0.7948 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008495/1.041, allocations: 353.1 kB / 0.7952 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/1.043, allocations: 0.6777 MB / 0.7958 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/1.045, allocations: 0.9323 MB / 0.7967 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.045, allocations: 7.875 kB / 0.7967 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003241/1.048, allocations: 1.141 MB / 0.7979 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/1.048, allocations: 11.47 kB / 0.7979 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/1.048, allocations: 20.44 kB / 0.7979 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/1.048, allocations: 68.31 kB / 0.798 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/1.049, allocations: 222.5 kB / 0.7982 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004813/1.05, allocations: 0.6026 MB / 0.7988 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/1.051, allocations: 87.88 kB / 0.7988 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.927e-05/1.052, allocations: 38.34 kB / 0.7989 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001435/1.053, allocations: 0.6006 MB / 0.7995 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001054/1.054, allocations: 0.6594 MB / 0.8001 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001635/1.056, allocations: 0.8826 MB / 0.801 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.095e-06/1.056, allocations: 6.922 kB / 0.801 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002701/1.058, allocations: 1.099 MB / 0.802 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.058, allocations: 10.19 kB / 0.8021 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.059, allocations: 8.938 kB / 0.8021 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/1.059, allocations: 74.31 kB / 0.8021 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/1.06, allocations: 210.9 kB / 0.8023 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003517/1.06, allocations: 0.597 MB / 0.8029 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.062, allocations: 90.23 kB / 0.803 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/1.062, allocations: 42.36 kB / 0.803 GB, free: 6.988 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 initialization (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003771/1.062, allocations: 251.3 kB / 0.8033 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/1.063, allocations: 148.8 kB / 0.8034 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/1.065, allocations: 1.021 MB / 0.8044 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/1.065, allocations: 11.56 kB / 0.8044 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.065, allocations: 0 / 0.8044 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001883/1.067, allocations: 0.9144 MB / 0.8053 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/1.073, allocations: 2.628 MB / 0.8079 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.073, allocations: 2.812 kB / 0.8079 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006822/1.074, allocations: 152.8 kB / 0.808 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/1.074, allocations: 142.2 kB / 0.8082 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/1.074, allocations: 28.11 kB / 0.8082 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008222/1.075, allocations: 1.739 MB / 0.8099 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.075, allocations: 5.188 kB / 0.8099 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/1.078, allocations: 1.622 MB / 0.8115 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009757/1.079, allocations: 332.9 kB / 0.8118 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005149/1.08, allocations: 23.19 kB / 0.8118 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/1.081, allocations: 65.61 kB / 0.8119 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/1.081, allocations: 70.45 kB / 0.812 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.283e-05/1.081, allocations: 40.53 kB / 0.812 GB, free: 376 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00166/1.083, allocations: 0.8872 MB / 0.8129 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/1.083, allocations: 0 / 0.8129 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003067/1.086, allocations: 0.6482 MB / 0.8135 GB, free: 15.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/1.087, allocations: 387.7 kB / 0.8139 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003589/1.091, allocations: 1.353 MB / 0.8152 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.091, allocations: 0 / 0.8152 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/1.092, allocations: 471 kB / 0.8156 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005454/1.098, allocations: 0.8981 MB / 0.8165 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005553/1.103, allocations: 2.471 MB / 0.8189 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.105, allocations: 1.191 MB / 0.8201 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002009/1.107, allocations: 347.7 kB / 0.8204 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/1.107, allocations: 119.4 kB / 0.8205 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of SimCode: time 1.353e-06/1.107, allocations: 0 / 0.8205 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of Templates: time 0.06168/1.169, allocations: 33.25 MB / 0.853 GB, free: 8.086 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)