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.1908/0.1929, allocations: 80.83 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07297/0.2659, allocations: 74.05 MB / 0.743 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4149/0.6809, allocations: 13.67 MB / 0.7563 GB, free: 25.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003275/0.6842, allocations: 59.91 kB / 0.7564 GB, free: 25.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.6868, allocations: 0.9224 MB / 0.7573 GB, free: 25.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008047/0.6949, allocations: 2.665 MB / 0.7599 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.6987, allocations: 1.355 MB / 0.7612 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007934/0.7066, allocations: 4.392 MB / 0.7655 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003169/0.7099, allocations: 1.439 MB / 0.7669 GB, free: 25.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005826/0.7157, allocations: 1.758 MB / 0.7686 GB, free: 25.19 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003945/0.7197, allocations: 1.29 MB / 0.7699 GB, free: 24.97 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009311/0.7206, allocations: 170.1 kB / 0.77 GB, free: 24.97 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004678/0.7253, allocations: 1.247 MB / 0.7712 GB, free: 24.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.7264, allocations: 425.4 kB / 0.7716 GB, free: 24.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002677/0.7291, allocations: 0.9394 MB / 0.7726 GB, free: 24.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006296/0.7354, allocations: 2.859 MB / 0.7754 GB, free: 24.26 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7354, allocations: 0 / 0.7754 GB, free: 24.26 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7355, allocations: 0 / 0.7754 GB, free: 24.26 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.884e-05/0.7355, allocations: 0 / 0.7754 GB, free: 24.26 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.004435/0.7399, allocations: 2.105 MB / 0.7774 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.74, allocations: 9.469 kB / 0.7774 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.7411, allocations: 249.4 kB / 0.7777 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.7438, allocations: 1.458 MB / 0.7791 GB, free: 22.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.813e-05/0.7439, allocations: 84.27 kB / 0.7792 GB, free: 22.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.7441, allocations: 112.7 kB / 0.7793 GB, free: 22.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/0.7473, allocations: 1.396 MB / 0.7806 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.7473, allocations: 5.969 kB / 0.7806 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.7475, allocations: 54.95 kB / 0.7807 GB, free: 22.17 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-05/0.7475, allocations: 37.16 kB / 0.7807 GB, free: 22.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/0.7501, allocations: 1.078 MB / 0.7818 GB, free: 21.8 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.006799/0.7569, allocations: 6.652 MB / 0.7883 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.7587, allocations: 0.6315 MB / 0.7889 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007377/0.7595, allocations: 345.8 kB / 0.7892 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.7597, allocations: 183.6 kB / 0.7894 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.7597, allocations: 43.03 kB / 0.7894 GB, free: 16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.816e-06/0.7598, allocations: 0 / 0.7894 GB, free: 16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67): time 0.00674/0.7665, allocations: 2.374 MB / 0.7918 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.7666, allocations: 163.8 kB / 0.7919 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.7688, allocations: 1.266 MB / 0.7931 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.769, allocations: 39.11 kB / 0.7932 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/0.7695, allocations: 0.655 MB / 0.7938 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.7697, allocations: 244.2 kB / 0.7941 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/0.7701, allocations: 186.3 kB / 0.7942 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.7701, allocations: 336.8 kB / 0.7946 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008255/0.771, allocations: 348.5 kB / 0.7949 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.772, allocations: 0.6902 MB / 0.7956 GB, free: 12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.7737, allocations: 0.9333 MB / 0.7965 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/0.7738, allocations: 3.906 kB / 0.7965 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002365/0.7761, allocations: 1.092 MB / 0.7975 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.7762, allocations: 8.312 kB / 0.7975 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.7762, allocations: 8.312 kB / 0.7976 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/0.7762, allocations: 10.84 kB / 0.7976 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/0.7771, allocations: 234.1 kB / 0.7978 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.7772, allocations: 15 kB / 0.7978 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.7786, allocations: 89.22 kB / 0.7979 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.7787, allocations: 46.11 kB / 0.7979 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001269/0.78, allocations: 0.5913 MB / 0.7985 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008702/0.7809, allocations: 0.6633 MB / 0.7992 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00137/0.7823, allocations: 0.8931 MB / 0.8 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/0.7823, allocations: 2.469 kB / 0.8 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002146/0.7844, allocations: 1.054 MB / 0.8011 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.7845, allocations: 6.281 kB / 0.8011 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.7845, allocations: 7.312 kB / 0.8011 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.7845, allocations: 11.91 kB / 0.8011 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/0.7853, allocations: 220.8 kB / 0.8013 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.7853, allocations: 15.47 kB / 0.8013 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.7868, allocations: 97.98 kB / 0.8014 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.7869, allocations: 43.77 kB / 0.8014 GB, free: 8.449 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.0003166/0.7872, allocations: 243.6 kB / 0.8017 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003714/0.7876, allocations: 143 kB / 0.8018 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.7898, allocations: 0.964 MB / 0.8028 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.7899, allocations: 9.656 kB / 0.8028 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.7899, allocations: 11.17 kB / 0.8028 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001592/0.7915, allocations: 0.856 MB / 0.8036 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/0.7964, allocations: 2.551 MB / 0.8061 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.7964, allocations: 10.42 kB / 0.8061 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/0.7971, allocations: 151.3 kB / 0.8063 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002239/0.7974, allocations: 84.11 kB / 0.8063 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/0.7974, allocations: 27.14 kB / 0.8064 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006184/0.7981, allocations: 1.153 MB / 0.8075 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.7981, allocations: 9.906 kB / 0.8075 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.801, allocations: 1.558 MB / 0.809 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007729/0.8017, allocations: 316.5 kB / 0.8093 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004559/0.8022, allocations: 24.23 kB / 0.8093 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.8035, allocations: 64.08 kB / 0.8094 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.8037, allocations: 64.38 kB / 0.8095 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.991e-05/0.8038, allocations: 36.97 kB / 0.8095 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001566/0.8053, allocations: 0.886 MB / 0.8104 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8054, allocations: 0 / 0.8104 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002752/0.8081, allocations: 0.6453 MB / 0.811 GB, free: 2.047 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.0009094/0.809, allocations: 386.9 kB / 0.8114 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003072/0.8121, allocations: 1.33 MB / 0.8127 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.8121, allocations: 3.938 kB / 0.8127 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009826/0.8131, allocations: 439.4 kB / 0.8131 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/0.8176, allocations: 0.8707 MB / 0.8139 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/0.8232, allocations: 2.433 MB / 0.8163 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.8243, allocations: 1.198 MB / 0.8175 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001747/0.8261, allocations: 351.7 kB / 0.8178 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/0.8266, allocations: 123.4 kB / 0.8179 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of SimCode: time 1.743e-06/0.8266, allocations: 3.938 kB / 0.8179 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of Templates: time 0.06272/0.8893, allocations: 32.24 MB / 0.8494 GB, free: 11.79 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)