Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") [/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.2058/0.2081, allocations: 80.84 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.0748/0.2829, allocations: 74.03 MB / 0.7429 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5314/0.8144, allocations: 13.67 MB / 0.7563 GB, free: 26.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002987/0.8175, allocations: 61.83 kB / 0.7563 GB, free: 26.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002997/0.8205, allocations: 0.9237 MB / 0.7572 GB, free: 26.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009351/0.83, allocations: 2.671 MB / 0.7598 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004949/0.8349, allocations: 1.342 MB / 0.7611 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.8451, allocations: 4.397 MB / 0.7654 GB, free: 26.03 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003841/0.849, allocations: 1.437 MB / 0.7668 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006531/0.8556, allocations: 1.764 MB / 0.7686 GB, free: 25.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004202/0.8598, allocations: 1.291 MB / 0.7698 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005474/0.8604, allocations: 172 kB / 0.77 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004621/0.865, allocations: 1.245 MB / 0.7712 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005616/0.8656, allocations: 418.3 kB / 0.7716 GB, free: 25.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.8675, allocations: 0.9482 MB / 0.7725 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005582/0.8731, allocations: 2.861 MB / 0.7753 GB, free: 24.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.8731, allocations: 0 / 0.7753 GB, free: 24.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8731, allocations: 0 / 0.7753 GB, free: 24.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.806e-05/0.8732, allocations: 0 / 0.7753 GB, free: 24.81 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.004739/0.8779, allocations: 2.109 MB / 0.7774 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.878, allocations: 8.625 kB / 0.7774 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.8792, allocations: 248.2 kB / 0.7776 GB, free: 23.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/0.8818, allocations: 1.462 MB / 0.7791 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.882, allocations: 90.3 kB / 0.7791 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.8822, allocations: 106.7 kB / 0.7792 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/0.8851, allocations: 1.404 MB / 0.7806 GB, free: 22.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.8851, allocations: 5.938 kB / 0.7806 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.932e-05/0.8852, allocations: 48.38 kB / 0.7807 GB, free: 22.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.727e-05/0.8853, allocations: 38.41 kB / 0.7807 GB, free: 22.37 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.8877, allocations: 1.07 MB / 0.7817 GB, free: 22.01 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.006484/0.8942, allocations: 6.666 MB / 0.7883 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.896, allocations: 0.6291 MB / 0.7889 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/0.8967, allocations: 344.4 kB / 0.7892 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.8969, allocations: 176.8 kB / 0.7894 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.897, allocations: 47.5 kB / 0.7894 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.996e-06/0.897, allocations: 0 / 0.7894 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67): time 0.006967/0.904, allocations: 2.366 MB / 0.7917 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.9041, allocations: 164.5 kB / 0.7919 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.9061, allocations: 1.268 MB / 0.7931 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.9062, allocations: 39.2 kB / 0.7932 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/0.9067, allocations: 0.6615 MB / 0.7938 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.907, allocations: 246 kB / 0.794 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.9073, allocations: 186.6 kB / 0.7942 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.9074, allocations: 333.6 kB / 0.7945 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007945/0.9082, allocations: 351.8 kB / 0.7949 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.9092, allocations: 0.6931 MB / 0.7955 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.9108, allocations: 0.9364 MB / 0.7965 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.9108, allocations: 2.156 kB / 0.7965 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002324/0.9131, allocations: 1.092 MB / 0.7975 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.9132, allocations: 8.75 kB / 0.7975 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.9132, allocations: 8.344 kB / 0.7975 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/0.9132, allocations: 11.25 kB / 0.7976 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/0.9141, allocations: 231.2 kB / 0.7978 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.9141, allocations: 17.86 kB / 0.7978 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.9158, allocations: 89.97 kB / 0.7979 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/0.9159, allocations: 43.95 kB / 0.7979 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001561/0.9175, allocations: 0.5911 MB / 0.7985 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009459/0.9184, allocations: 0.6664 MB / 0.7991 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001429/0.9199, allocations: 0.8937 MB / 0.8 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/0.9199, allocations: 3.031 kB / 0.8 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002211/0.9221, allocations: 1.048 MB / 0.801 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.9221, allocations: 17.66 kB / 0.8011 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.9222, allocations: 8.219 kB / 0.8011 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.9222, allocations: 11.28 kB / 0.8011 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/0.923, allocations: 214.8 kB / 0.8013 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.923, allocations: 20.14 kB / 0.8013 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.9244, allocations: 99.2 kB / 0.8014 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.9245, allocations: 37.88 kB / 0.8014 GB, free: 8.617 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.0003439/0.9249, allocations: 247.4 kB / 0.8017 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.9251, allocations: 140.5 kB / 0.8018 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.9274, allocations: 0.9596 MB / 0.8027 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.9274, allocations: 7.75 kB / 0.8027 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9274, allocations: 4 kB / 0.8028 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001546/0.929, allocations: 0.8619 MB / 0.8036 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004636/0.9336, allocations: 2.553 MB / 0.8061 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.9336, allocations: 9.172 kB / 0.8061 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006744/0.9343, allocations: 154 kB / 0.8062 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.9345, allocations: 82.2 kB / 0.8063 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/0.9346, allocations: 28.58 kB / 0.8063 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005145/0.9351, allocations: 1.157 MB / 0.8075 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.9351, allocations: 9.531 kB / 0.8075 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.9379, allocations: 1.554 MB / 0.809 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008571/0.9387, allocations: 311.6 kB / 0.8093 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.9389, allocations: 27.27 kB / 0.8093 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000874/0.9398, allocations: 63.42 kB / 0.8094 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.94, allocations: 72.77 kB / 0.8095 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/0.94, allocations: 29.98 kB / 0.8095 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001177/0.9412, allocations: 0.8952 MB / 0.8104 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9412, allocations: 0 / 0.8104 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002077/0.9433, allocations: 0.6415 MB / 0.811 GB, free: 2.207 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.0007616/0.9441, allocations: 383.8 kB / 0.8114 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.9468, allocations: 1.332 MB / 0.8127 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.9468, allocations: 0 / 0.8127 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009038/0.9477, allocations: 442.5 kB / 0.8131 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/0.9513, allocations: 0.8794 MB / 0.8139 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/0.9559, allocations: 2.426 MB / 0.8163 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008864/0.9568, allocations: 1.202 MB / 0.8175 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001561/0.9584, allocations: 351.6 kB / 0.8178 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.9588, allocations: 119.4 kB / 0.8179 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of SimCode: time 1.613e-06/0.9588, allocations: 0 / 0.8179 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.06008/1.019, allocations: 32.26 MB / 0.8494 GB, free: 11.86 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)