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.1799/0.1807, allocations: 82.22 MB / 0.5934 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06172/0.2425, allocations: 62.02 MB / 0.6539 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01718/0.2597, allocations: 11.76 MB / 0.6654 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.2622, allocations: 55.56 kB / 0.6655 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.2647, allocations: 0.7113 MB / 0.6662 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006765/0.2715, allocations: 2.176 MB / 0.6683 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003634/0.2752, allocations: 1.076 MB / 0.6693 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005155/0.2803, allocations: 2.543 MB / 0.6718 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.2822, allocations: 1.036 MB / 0.6728 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002992/0.2852, allocations: 1.23 MB / 0.674 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.2867, allocations: 0.8246 MB / 0.6748 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.2869, allocations: 59.94 kB / 0.6749 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.2891, allocations: 0.6748 MB / 0.6756 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.2895, allocations: 278.9 kB / 0.6758 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005478/0.2901, allocations: 380.8 kB / 0.6762 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.2926, allocations: 2.03 MB / 0.6782 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2926, allocations: 0 / 0.6782 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2926, allocations: 0 / 0.6782 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.662e-05/0.2926, allocations: 0 / 0.6782 GB, free: 14.97 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.004268/0.2969, allocations: 1.798 MB / 0.6799 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.297, allocations: 12.03 kB / 0.6799 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.298, allocations: 253.8 kB / 0.6802 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/0.3003, allocations: 1.331 MB / 0.6815 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.947e-05/0.3004, allocations: 86.11 kB / 0.6816 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.3006, allocations: 108 kB / 0.6817 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.3033, allocations: 1.421 MB / 0.683 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.2e-05/0.3033, allocations: 3.938 kB / 0.683 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.3034, allocations: 48 kB / 0.6831 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-05/0.3035, allocations: 32 kB / 0.6831 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.306, allocations: 1.136 MB / 0.6842 GB, free: 8.5 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.007067/0.313, allocations: 6.738 MB / 0.6908 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.3147, allocations: 0.6658 MB / 0.6915 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.315, allocations: 182.8 kB / 0.6916 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.315, allocations: 47.11 kB / 0.6917 GB, free: 436 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 2.916e-06/0.315, allocations: 0 / 0.6917 GB, free: 436 kB / 0.5294 GB Notification: Performance of matching and sorting (n=67): time 0.3571/0.6721, allocations: 2.517 MB / 0.6941 GB, free: 97.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.6722, allocations: 161.4 kB / 0.6943 GB, free: 97.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.6738, allocations: 1.29 MB / 0.6956 GB, free: 97.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.232e-05/0.6739, allocations: 42.73 kB / 0.6956 GB, free: 97.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/0.6744, allocations: 0.6531 MB / 0.6962 GB, free: 97.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.6746, allocations: 245.8 kB / 0.6965 GB, free: 97.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.6747, allocations: 14.31 kB / 0.6965 GB, free: 97.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.6748, allocations: 343.9 kB / 0.6968 GB, free: 96.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007473/0.6756, allocations: 365.8 kB / 0.6972 GB, free: 96.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009336/0.6765, allocations: 0.7121 MB / 0.6979 GB, free: 96.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000919/0.6774, allocations: 450.4 kB / 0.6983 GB, free: 96.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.6774, allocations: 3.031 kB / 0.6983 GB, free: 96.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002295/0.6797, allocations: 1.142 MB / 0.6994 GB, free: 96.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006424/0.6804, allocations: 2.839 MB / 0.7022 GB, free: 93.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.6804, allocations: 8.656 kB / 0.7022 GB, free: 93.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.6805, allocations: 15.12 kB / 0.7022 GB, free: 93.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/0.6814, allocations: 244 kB / 0.7024 GB, free: 93.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.6814, allocations: 21.33 kB / 0.7025 GB, free: 93.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.6829, allocations: 149.5 kB / 0.7026 GB, free: 93.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/0.683, allocations: 40.75 kB / 0.7026 GB, free: 93.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.683, allocations: 2.781 kB / 0.7026 GB, free: 93.33 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001684/0.6847, allocations: 0.9341 MB / 0.7035 GB, free: 93.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.6847, allocations: 8.781 kB / 0.7036 GB, free: 93.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.6847, allocations: 11.78 kB / 0.7036 GB, free: 93.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.6855, allocations: 228.1 kB / 0.7038 GB, free: 93.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.6855, allocations: 23.31 kB / 0.7038 GB, free: 93.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.6867, allocations: 134.3 kB / 0.7039 GB, free: 93.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.6868, allocations: 39.91 kB / 0.704 GB, free: 93.24 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009315/0.6877, allocations: 436.8 kB / 0.7044 GB, free: 93.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.6879, allocations: 138.6 kB / 0.7045 GB, free: 92.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.6904, allocations: 1.017 MB / 0.7055 GB, free: 92.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.6904, allocations: 6.266 kB / 0.7055 GB, free: 92.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6904, allocations: 8.094 kB / 0.7055 GB, free: 92.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001787/0.6922, allocations: 0.9065 MB / 0.7064 GB, free: 92.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005241/0.6974, allocations: 2.645 MB / 0.709 GB, free: 91.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.6975, allocations: 5.281 kB / 0.709 GB, free: 91.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007915/0.6983, allocations: 174.2 kB / 0.7092 GB, free: 91.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003153/0.6986, allocations: 95.64 kB / 0.7093 GB, free: 91.19 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.6987, allocations: 27.14 kB / 0.7093 GB, free: 91.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006749/0.6994, allocations: 1.148 MB / 0.7104 GB, free: 90.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.6994, allocations: 8.938 kB / 0.7104 GB, free: 90.08 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.7029, allocations: 1.933 MB / 0.7123 GB, free: 88.74 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007484/0.7037, allocations: 358.1 kB / 0.7126 GB, free: 88.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.7039, allocations: 19.73 kB / 0.7127 GB, free: 88.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.7049, allocations: 118.5 kB / 0.7128 GB, free: 88.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.7051, allocations: 67.36 kB / 0.7128 GB, free: 88.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.563e-05/0.7052, allocations: 34.48 kB / 0.7129 GB, free: 88.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001513/0.7067, allocations: 0.9055 MB / 0.7138 GB, free: 88.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.052e-06/0.7067, allocations: 1 kB / 0.7138 GB, free: 88.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002292/0.709, allocations: 0.6479 MB / 0.7144 GB, free: 87.98 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 (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007639/0.7098, allocations: 370.2 kB / 0.7147 GB, free: 87.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003473/0.7133, allocations: 1.387 MB / 0.7161 GB, free: 87.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.7133, allocations: 5.531 kB / 0.7161 GB, free: 87.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.7143, allocations: 466.1 kB / 0.7165 GB, free: 87.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/0.7178, allocations: 0.8327 MB / 0.7174 GB, free: 87.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.7218, allocations: 2.911 MB / 0.7202 GB, free: 85.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.7224, allocations: 1.221 MB / 0.7214 GB, free: 84.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001499/0.7239, allocations: 351.7 kB / 0.7217 GB, free: 84.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.7242, allocations: 113.1 kB / 0.7218 GB, free: 84.34 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.7242, allocations: 0 / 0.7218 GB, free: 84.34 MB / 0.5294 GB Notification: Performance of Templates: time 0.04183/0.7661, allocations: 29.96 MB / 0.7511 GB, free: 58.32 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: