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.1808/0.1815, allocations: 82.22 MB / 0.5934 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05895/0.2405, allocations: 62.04 MB / 0.654 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02034/0.2609, allocations: 11.76 MB / 0.6654 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.2638, allocations: 51.62 kB / 0.6655 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003526/0.2674, allocations: 0.7152 MB / 0.6662 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009745/0.2771, allocations: 2.173 MB / 0.6683 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004375/0.2815, allocations: 1.074 MB / 0.6694 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00654/0.2881, allocations: 2.537 MB / 0.6718 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00264/0.2908, allocations: 1.036 MB / 0.6728 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004048/0.2949, allocations: 1.222 MB / 0.674 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002426/0.2973, allocations: 0.8323 MB / 0.6749 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.2975, allocations: 60 kB / 0.6749 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.3003, allocations: 0.7177 MB / 0.6756 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.3007, allocations: 278.8 kB / 0.6759 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.3014, allocations: 376.9 kB / 0.6762 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003079/0.3045, allocations: 2.05 MB / 0.6782 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3045, allocations: 3.938 kB / 0.6782 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.946e-06/0.3045, allocations: 0 / 0.6782 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.425e-05/0.3046, allocations: 4 kB / 0.6782 GB, free: 14.86 MB / 0.5294 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.003811/0.3084, allocations: 1.802 MB / 0.68 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3084, allocations: 8.031 kB / 0.68 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.3095, allocations: 253.8 kB / 0.6803 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.3118, allocations: 1.339 MB / 0.6816 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.711e-05/0.3119, allocations: 86.11 kB / 0.6816 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.3121, allocations: 108 kB / 0.6817 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/0.3149, allocations: 1.421 MB / 0.6831 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.315, allocations: 15.78 kB / 0.6831 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.3151, allocations: 47.98 kB / 0.6832 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/0.3151, allocations: 36 kB / 0.6832 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.3177, allocations: 1.136 MB / 0.6843 GB, free: 8.363 MB / 0.5294 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.007365/0.3251, allocations: 6.735 MB / 0.6909 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.3269, allocations: 0.6827 MB / 0.6916 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.3272, allocations: 182.8 kB / 0.6918 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.3273, allocations: 47.12 kB / 0.6918 GB, free: 284 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=64): time 3.757e-06/0.3273, allocations: 3.938 kB / 0.6918 GB, free: 280 kB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.3813/0.7086, allocations: 2.711 MB / 0.6945 GB, free: 44.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.7087, allocations: 167 kB / 0.6946 GB, free: 44.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.7102, allocations: 1.279 MB / 0.6959 GB, free: 44.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.807e-05/0.7103, allocations: 40.05 kB / 0.6959 GB, free: 44.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.7108, allocations: 0.6617 MB / 0.6965 GB, free: 43.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.7109, allocations: 236.8 kB / 0.6968 GB, free: 43.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.711, allocations: 18.5 kB / 0.6968 GB, free: 43.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.7111, allocations: 339.8 kB / 0.6971 GB, free: 43.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007999/0.7119, allocations: 366.7 kB / 0.6975 GB, free: 43.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.7129, allocations: 0.7027 MB / 0.6981 GB, free: 43.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008499/0.7138, allocations: 458.6 kB / 0.6986 GB, free: 43.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7138, allocations: 2.922 kB / 0.6986 GB, free: 43.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002524/0.7163, allocations: 1.197 MB / 0.6998 GB, free: 43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006608/0.717, allocations: 2.754 MB / 0.7024 GB, free: 40.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.717, allocations: 10.06 kB / 0.7025 GB, free: 40.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003266/0.7173, allocations: 70.64 kB / 0.7025 GB, free: 40.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008739/0.7182, allocations: 234.2 kB / 0.7027 GB, free: 40.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000371/0.7186, allocations: 0.6042 MB / 0.7033 GB, free: 39.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.7201, allocations: 150.2 kB / 0.7035 GB, free: 39.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/0.7202, allocations: 38.47 kB / 0.7035 GB, free: 39.63 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.7202, allocations: 5.781 kB / 0.7035 GB, free: 39.63 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002005/0.7222, allocations: 0.9783 MB / 0.7045 GB, free: 39.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.7223, allocations: 4.984 kB / 0.7045 GB, free: 39.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/0.7225, allocations: 78.09 kB / 0.7046 GB, free: 39.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007836/0.7233, allocations: 222.8 kB / 0.7048 GB, free: 39.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003244/0.7236, allocations: 0.5942 MB / 0.7053 GB, free: 39.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.7249, allocations: 139.9 kB / 0.7055 GB, free: 39.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/0.7249, allocations: 37.8 kB / 0.7055 GB, free: 39.05 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007988/0.7257, allocations: 442.8 kB / 0.7059 GB, free: 38.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.726, allocations: 139.1 kB / 0.7061 GB, free: 38.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.7287, allocations: 1.08 MB / 0.7071 GB, free: 38.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.7287, allocations: 10.75 kB / 0.7071 GB, free: 38.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.7287, allocations: 0.6562 kB / 0.7071 GB, free: 38.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002014/0.7307, allocations: 0.9622 MB / 0.7081 GB, free: 38.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005434/0.7362, allocations: 2.7 MB / 0.7107 GB, free: 37.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.7362, allocations: 5.625 kB / 0.7107 GB, free: 37.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/0.7369, allocations: 167.4 kB / 0.7109 GB, free: 37.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/0.7374, allocations: 148.6 kB / 0.711 GB, free: 37.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/0.7375, allocations: 22.92 kB / 0.711 GB, free: 37.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008759/0.7383, allocations: 1.745 MB / 0.7127 GB, free: 36.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.7384, allocations: 5.875 kB / 0.7128 GB, free: 36.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.7421, allocations: 1.999 MB / 0.7147 GB, free: 35.37 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007473/0.7428, allocations: 355.9 kB / 0.715 GB, free: 35.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.743, allocations: 24.39 kB / 0.7151 GB, free: 35.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009936/0.744, allocations: 116.2 kB / 0.7152 GB, free: 35.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.7442, allocations: 65.88 kB / 0.7152 GB, free: 35.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-05/0.7443, allocations: 34.33 kB / 0.7153 GB, free: 35.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001587/0.7459, allocations: 0.9159 MB / 0.7162 GB, free: 35.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7459, allocations: 0 / 0.7162 GB, free: 35.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002635/0.7486, allocations: 0.6503 MB / 0.7168 GB, free: 35.06 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009486/0.7495, allocations: 381.2 kB / 0.7172 GB, free: 34.94 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003674/0.7532, allocations: 1.406 MB / 0.7185 GB, free: 34.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.7532, allocations: 6.375 kB / 0.7185 GB, free: 34.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.7545, allocations: 496 kB / 0.719 GB, free: 34.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/0.7582, allocations: 0.8215 MB / 0.7198 GB, free: 34.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.7625, allocations: 2.918 MB / 0.7227 GB, free: 33.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.7631, allocations: 1.223 MB / 0.7239 GB, free: 32.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001611/0.7647, allocations: 356.4 kB / 0.7242 GB, free: 32.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.765, allocations: 117.4 kB / 0.7243 GB, free: 32.53 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.7651, allocations: 1.312 kB / 0.7243 GB, free: 32.53 MB / 0.5294 GB Notification: Performance of Templates: time 0.04593/0.811, allocations: 30.81 MB / 0.7544 GB, free: 15.34 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: