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.4544/0.4573, allocations: 80.81 MB / 0.5904 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06653/0.5239, allocations: 74.05 MB / 0.6627 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02294/0.5469, allocations: 13.68 MB / 0.6761 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00362/0.5505, allocations: 59.69 kB / 0.6761 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003382/0.554, allocations: 0.8968 MB / 0.677 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.5646, allocations: 2.541 MB / 0.6795 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00481/0.5694, allocations: 1.339 MB / 0.6808 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00963/0.5791, allocations: 4.367 MB / 0.6851 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003965/0.5831, allocations: 1.437 MB / 0.6865 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005968/0.5891, allocations: 1.723 MB / 0.6881 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.5923, allocations: 1.288 MB / 0.6894 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.5934, allocations: 168 kB / 0.6896 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00465/0.5981, allocations: 1.24 MB / 0.6908 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008557/0.599, allocations: 418.6 kB / 0.6912 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002776/0.6018, allocations: 0.945 MB / 0.6921 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006561/0.6084, allocations: 2.836 MB / 0.6949 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.6084, allocations: 0 / 0.6949 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6084, allocations: 4 kB / 0.6949 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001066/0.6085, allocations: 0 / 0.6949 GB, free: 11.6 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.00588/0.6144, allocations: 2.102 MB / 0.6969 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.6145, allocations: 15.98 kB / 0.6969 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.6159, allocations: 246.8 kB / 0.6972 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.6192, allocations: 1.405 MB / 0.6985 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.6194, allocations: 86.11 kB / 0.6986 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.6197, allocations: 112 kB / 0.6987 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/0.6228, allocations: 1.397 MB / 0.7001 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.6229, allocations: 7.922 kB / 0.7001 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.623, allocations: 48 kB / 0.7002 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.6231, allocations: 36 kB / 0.7002 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/0.6256, allocations: 1.073 MB / 0.7012 GB, free: 4.824 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.008171/0.6338, allocations: 6.691 MB / 0.7078 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.6356, allocations: 0.6421 MB / 0.7084 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007482/0.6364, allocations: 346.3 kB / 0.7087 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/0.6366, allocations: 178.8 kB / 0.7089 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/0.6367, allocations: 47.12 kB / 0.7089 GB, free: 12.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=63): time 2.575e-06/0.6367, allocations: 0 / 0.7089 GB, free: 12.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=67): time 0.007012/0.6437, allocations: 2.366 MB / 0.7113 GB, free: 10.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.6439, allocations: 166.7 kB / 0.7114 GB, free: 9.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.646, allocations: 1.258 MB / 0.7126 GB, free: 8.574 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.6462, allocations: 45.7 kB / 0.7127 GB, free: 8.523 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000623/0.6468, allocations: 0.6566 MB / 0.7133 GB, free: 7.859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.6471, allocations: 244.5 kB / 0.7136 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.6474, allocations: 190.4 kB / 0.7137 GB, free: 7.422 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6476, allocations: 341.9 kB / 0.7141 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000894/0.6485, allocations: 348.6 kB / 0.7144 GB, free: 6.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.6498, allocations: 0.6926 MB / 0.7151 GB, free: 5.898 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.652, allocations: 0.9257 MB / 0.716 GB, free: 4.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.652, allocations: 4 kB / 0.716 GB, free: 4.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002921/0.6549, allocations: 1.09 MB / 0.717 GB, free: 3.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.655, allocations: 11.94 kB / 0.7171 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.655, allocations: 8 kB / 0.7171 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/0.655, allocations: 16 kB / 0.7171 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009654/0.656, allocations: 235.5 kB / 0.7173 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-05/0.6561, allocations: 12 kB / 0.7173 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.6577, allocations: 99.8 kB / 0.7174 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.6578, allocations: 39.98 kB / 0.7175 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001469/0.6593, allocations: 0.5995 MB / 0.718 GB, free: 2.754 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001146/0.6604, allocations: 0.6653 MB / 0.7187 GB, free: 1.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001764/0.6622, allocations: 0.8905 MB / 0.7196 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.423e-06/0.6622, allocations: 0 / 0.7196 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002702/0.6649, allocations: 1.042 MB / 0.7206 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.665, allocations: 11.98 kB / 0.7206 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.665, allocations: 11.98 kB / 0.7206 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.665, allocations: 12.78 kB / 0.7206 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000881/0.6659, allocations: 227.6 kB / 0.7208 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.521e-05/0.666, allocations: 23.86 kB / 0.7208 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.6675, allocations: 95.89 kB / 0.7209 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.838e-05/0.6676, allocations: 39.98 kB / 0.721 GB, free: 15.5 MB / 0.5606 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.0003558/0.668, allocations: 236 kB / 0.7212 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/0.6685, allocations: 138.3 kB / 0.7213 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/0.6713, allocations: 0.9625 MB / 0.7223 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.6714, allocations: 8 kB / 0.7223 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.6714, allocations: 0 / 0.7223 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002013/0.6734, allocations: 0.8569 MB / 0.7231 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006036/0.6795, allocations: 2.557 MB / 0.7256 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/0.6795, allocations: 4 kB / 0.7256 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007855/0.6803, allocations: 163.8 kB / 0.7258 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002901/0.6806, allocations: 81.62 kB / 0.7259 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.6807, allocations: 23.98 kB / 0.7259 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.6818, allocations: 1.155 MB / 0.727 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/0.6818, allocations: 11.94 kB / 0.727 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.6854, allocations: 1.547 MB / 0.7285 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008401/0.6862, allocations: 315.3 kB / 0.7288 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004542/0.6867, allocations: 28.05 kB / 0.7289 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.6879, allocations: 67.86 kB / 0.7289 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.6881, allocations: 64.25 kB / 0.729 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.6883, allocations: 43.91 kB / 0.729 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001937/0.6902, allocations: 0.8901 MB / 0.7299 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6902, allocations: 0 / 0.7299 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002744/0.693, allocations: 0.641 MB / 0.7305 GB, free: 5.355 MB / 0.5606 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.0009737/0.6939, allocations: 380.3 kB / 0.7309 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003596/0.6976, allocations: 1.369 MB / 0.7322 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.6976, allocations: 0 / 0.7322 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.6988, allocations: 447.2 kB / 0.7326 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006254/0.7051, allocations: 0.8712 MB / 0.7335 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/0.7116, allocations: 2.471 MB / 0.7359 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.7128, allocations: 1.191 MB / 0.7371 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002049/0.7148, allocations: 355.3 kB / 0.7374 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.7153, allocations: 115.4 kB / 0.7375 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.7153, allocations: 0 / 0.7375 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.4579/1.173, allocations: 32.06 MB / 0.7688 GB, free: 145.9 MB / 0.5762 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)