Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") [/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.1855/0.1875, allocations: 80.83 MB / 0.6706 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07345/0.261, allocations: 74.04 MB / 0.7429 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4896/0.7507, allocations: 13.68 MB / 0.7563 GB, free: 25.58 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003691/0.7545, allocations: 64.38 kB / 0.7564 GB, free: 25.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00318/0.7577, allocations: 0.8899 MB / 0.7572 GB, free: 25.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008914/0.7667, allocations: 2.543 MB / 0.7597 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004304/0.771, allocations: 1.346 MB / 0.761 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008792/0.7798, allocations: 4.382 MB / 0.7653 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003317/0.7832, allocations: 1.446 MB / 0.7667 GB, free: 25.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005959/0.7891, allocations: 1.718 MB / 0.7684 GB, free: 25.17 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/0.7926, allocations: 1.288 MB / 0.7697 GB, free: 24.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000521/0.7931, allocations: 170.7 kB / 0.7698 GB, free: 24.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/0.7973, allocations: 1.239 MB / 0.771 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006473/0.798, allocations: 423 kB / 0.7714 GB, free: 24.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.8, allocations: 0.9502 MB / 0.7724 GB, free: 24.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005756/0.8058, allocations: 2.854 MB / 0.7751 GB, free: 24.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8058, allocations: 1.125 kB / 0.7751 GB, free: 24.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8058, allocations: 0 / 0.7751 GB, free: 24.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.388e-05/0.8059, allocations: 0 / 0.7751 GB, free: 24.25 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.004665/0.8105, allocations: 2.106 MB / 0.7772 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.8106, allocations: 9.344 kB / 0.7772 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.8118, allocations: 247 kB / 0.7775 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.8146, allocations: 1.464 MB / 0.7789 GB, free: 22.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.967e-05/0.8147, allocations: 85.56 kB / 0.779 GB, free: 22.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.8149, allocations: 110.9 kB / 0.7791 GB, free: 22.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.8178, allocations: 1.393 MB / 0.7804 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.8178, allocations: 10.03 kB / 0.7804 GB, free: 22.28 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.818, allocations: 50.97 kB / 0.7805 GB, free: 22.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.818, allocations: 36 kB / 0.7805 GB, free: 22.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.8206, allocations: 1.075 MB / 0.7816 GB, free: 21.88 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.00728/0.8278, allocations: 6.658 MB / 0.7881 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.8298, allocations: 0.6302 MB / 0.7887 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/0.8306, allocations: 345.7 kB / 0.789 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.8308, allocations: 178.6 kB / 0.7892 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.8308, allocations: 45.78 kB / 0.7892 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.675e-06/0.8309, allocations: 4 kB / 0.7892 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67): time 0.00683/0.8377, allocations: 2.375 MB / 0.7916 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.8378, allocations: 166.5 kB / 0.7917 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.8397, allocations: 1.261 MB / 0.7929 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.8398, allocations: 43.3 kB / 0.793 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/0.8403, allocations: 0.6549 MB / 0.7936 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.8405, allocations: 244.8 kB / 0.7939 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.8408, allocations: 190.3 kB / 0.794 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.8409, allocations: 334.2 kB / 0.7944 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008182/0.8417, allocations: 350.8 kB / 0.7947 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.8428, allocations: 0.6854 MB / 0.7954 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.8444, allocations: 0.9362 MB / 0.7963 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.8445, allocations: 2.188 kB / 0.7963 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002435/0.8469, allocations: 1.098 MB / 0.7974 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.8469, allocations: 7.656 kB / 0.7974 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.847, allocations: 6.531 kB / 0.7974 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.847, allocations: 13.12 kB / 0.7974 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000899/0.8479, allocations: 236.9 kB / 0.7976 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.8479, allocations: 11.03 kB / 0.7976 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.8494, allocations: 85 kB / 0.7977 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.8495, allocations: 42.86 kB / 0.7977 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001198/0.8507, allocations: 0.5965 MB / 0.7983 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001008/0.8517, allocations: 0.672 MB / 0.799 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001594/0.8533, allocations: 0.8828 MB / 0.7998 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.583e-06/0.8533, allocations: 6.031 kB / 0.7998 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002351/0.8557, allocations: 1.052 MB / 0.8009 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.8557, allocations: 7.844 kB / 0.8009 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.8557, allocations: 11.81 kB / 0.8009 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.8557, allocations: 11.31 kB / 0.8009 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008407/0.8566, allocations: 222 kB / 0.8011 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.8566, allocations: 12.78 kB / 0.8011 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.8583, allocations: 103.5 kB / 0.8012 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/0.8584, allocations: 43.06 kB / 0.8013 GB, free: 8.551 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003912/0.8588, allocations: 240.6 kB / 0.8015 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.859, allocations: 142 kB / 0.8016 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.8614, allocations: 0.9547 MB / 0.8026 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.8614, allocations: 9.609 kB / 0.8026 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.8614, allocations: 0 / 0.8026 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001661/0.8631, allocations: 0.865 MB / 0.8034 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.8677, allocations: 2.551 MB / 0.8059 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.8677, allocations: 4.969 kB / 0.8059 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/0.8684, allocations: 157.6 kB / 0.8061 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.8686, allocations: 87.33 kB / 0.8061 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/0.8687, allocations: 27.45 kB / 0.8062 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005264/0.8692, allocations: 1.149 MB / 0.8073 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.8692, allocations: 5.406 kB / 0.8073 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.8721, allocations: 1.558 MB / 0.8088 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007871/0.8729, allocations: 318.3 kB / 0.8091 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.8731, allocations: 24.64 kB / 0.8091 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009337/0.8741, allocations: 69.55 kB / 0.8092 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.8742, allocations: 61.62 kB / 0.8093 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.151e-05/0.8743, allocations: 38.94 kB / 0.8093 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001203/0.8755, allocations: 0.8873 MB / 0.8102 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8755, allocations: 0 / 0.8102 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002019/0.8775, allocations: 0.6409 MB / 0.8108 GB, free: 2.164 MB / 0.5762 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007511/0.8783, allocations: 396.1 kB / 0.8112 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002803/0.8811, allocations: 1.328 MB / 0.8125 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.8811, allocations: 5.188 kB / 0.8125 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009435/0.8821, allocations: 431.3 kB / 0.8129 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/0.8859, allocations: 0.882 MB / 0.8138 GB, free: 20 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.8908, allocations: 2.431 MB / 0.8161 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.8918, allocations: 1.195 MB / 0.8173 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001952/0.8938, allocations: 359.7 kB / 0.8176 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.8942, allocations: 111.4 kB / 0.8177 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/0.8942, allocations: 0 / 0.8177 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of Templates: time 0.06176/0.956, allocations: 32.27 MB / 0.8493 GB, free: 11.93 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)