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.1837/0.1845, allocations: 82.22 MB / 0.5934 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05886/0.2434, allocations: 62.03 MB / 0.6539 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01704/0.2605, allocations: 11.76 MB / 0.6654 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/0.263, allocations: 47.69 kB / 0.6655 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.2657, allocations: 0.7191 MB / 0.6662 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007888/0.2736, allocations: 2.177 MB / 0.6683 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003856/0.2774, allocations: 1.071 MB / 0.6693 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004525/0.282, allocations: 2.541 MB / 0.6718 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.2834, allocations: 1.032 MB / 0.6728 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.2855, allocations: 1.226 MB / 0.674 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.2866, allocations: 0.8285 MB / 0.6748 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.2868, allocations: 56 kB / 0.6749 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.2885, allocations: 0.6748 MB / 0.6756 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.2888, allocations: 286.8 kB / 0.6758 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.2891, allocations: 368.9 kB / 0.6762 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.2912, allocations: 2.038 MB / 0.6782 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2912, allocations: 4 kB / 0.6782 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2912, allocations: 0 / 0.6782 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.39e-05/0.2913, allocations: 0 / 0.6782 GB, free: 14.96 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.003167/0.2944, allocations: 1.79 MB / 0.6799 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2945, allocations: 8.031 kB / 0.6799 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009459/0.2954, allocations: 253.8 kB / 0.6802 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.2976, allocations: 1.327 MB / 0.6815 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/0.2977, allocations: 90.11 kB / 0.6816 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.2978, allocations: 112 kB / 0.6817 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.3004, allocations: 1.417 MB / 0.683 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.3004, allocations: 3.938 kB / 0.6831 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.845e-05/0.3005, allocations: 47.98 kB / 0.6831 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.504e-05/0.3006, allocations: 43.92 kB / 0.6831 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.303, allocations: 1.128 MB / 0.6842 GB, free: 8.492 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.006953/0.31, allocations: 6.734 MB / 0.6908 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.312, allocations: 0.6667 MB / 0.6915 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/0.3122, allocations: 186.8 kB / 0.6916 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.3123, allocations: 43.11 kB / 0.6917 GB, free: 432 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 4.028e-06/0.3123, allocations: 4 kB / 0.6917 GB, free: 428 kB / 0.5294 GB Notification: Performance of matching and sorting (n=67): time 0.3624/0.6747, allocations: 2.516 MB / 0.6941 GB, free: 97.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.6748, allocations: 161.1 kB / 0.6943 GB, free: 97.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.6765, allocations: 1.287 MB / 0.6956 GB, free: 97.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.6766, allocations: 41.36 kB / 0.6956 GB, free: 97.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004731/0.6771, allocations: 0.6576 MB / 0.6962 GB, free: 97.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.6773, allocations: 238.6 kB / 0.6965 GB, free: 97.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.6773, allocations: 18.56 kB / 0.6965 GB, free: 97.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.6774, allocations: 340.5 kB / 0.6968 GB, free: 96.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007755/0.6782, allocations: 365.6 kB / 0.6972 GB, free: 96.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009905/0.6792, allocations: 0.7099 MB / 0.6979 GB, free: 96.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008719/0.6801, allocations: 452.5 kB / 0.6983 GB, free: 96.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6801, allocations: 3.188 kB / 0.6983 GB, free: 96.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002043/0.6821, allocations: 1.137 MB / 0.6994 GB, free: 96.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005254/0.6827, allocations: 2.848 MB / 0.7022 GB, free: 93.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.6827, allocations: 5.75 kB / 0.7022 GB, free: 93.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.6827, allocations: 14.47 kB / 0.7022 GB, free: 93.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008979/0.6836, allocations: 245 kB / 0.7024 GB, free: 93.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.6837, allocations: 19.8 kB / 0.7024 GB, free: 93.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.685, allocations: 150.6 kB / 0.7026 GB, free: 93.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.685, allocations: 43.41 kB / 0.7026 GB, free: 93.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.6851, allocations: 6.219 kB / 0.7026 GB, free: 93.39 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001686/0.6867, allocations: 0.9238 MB / 0.7035 GB, free: 93.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6868, allocations: 5.938 kB / 0.7035 GB, free: 93.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.6868, allocations: 14.72 kB / 0.7036 GB, free: 93.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/0.6876, allocations: 230.1 kB / 0.7038 GB, free: 93.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.6876, allocations: 18.72 kB / 0.7038 GB, free: 93.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.6887, allocations: 142.5 kB / 0.7039 GB, free: 93.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.6887, allocations: 39.5 kB / 0.704 GB, free: 93.31 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.0006821/0.6894, allocations: 437.7 kB / 0.7044 GB, free: 93.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.6896, allocations: 140.3 kB / 0.7045 GB, free: 93.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.6919, allocations: 1.021 MB / 0.7055 GB, free: 92.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.6919, allocations: 10.02 kB / 0.7055 GB, free: 92.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.6919, allocations: 1.078 kB / 0.7055 GB, free: 92.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001692/0.6936, allocations: 0.9084 MB / 0.7064 GB, free: 92.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004865/0.6985, allocations: 2.64 MB / 0.709 GB, free: 91.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.6986, allocations: 5.828 kB / 0.709 GB, free: 91.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007845/0.6993, allocations: 170.9 kB / 0.7092 GB, free: 91.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003144/0.6997, allocations: 95.98 kB / 0.7093 GB, free: 91.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.6997, allocations: 23.22 kB / 0.7093 GB, free: 91.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007976/0.7005, allocations: 1.154 MB / 0.7104 GB, free: 90.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-05/0.7006, allocations: 9.281 kB / 0.7104 GB, free: 90.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004986/0.7056, allocations: 1.929 MB / 0.7123 GB, free: 88.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.7067, allocations: 353.4 kB / 0.7126 GB, free: 88.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.707, allocations: 23.61 kB / 0.7127 GB, free: 88.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.7082, allocations: 114.2 kB / 0.7128 GB, free: 88.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.7084, allocations: 69.12 kB / 0.7128 GB, free: 88.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.671e-05/0.7085, allocations: 42 kB / 0.7129 GB, free: 88.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001728/0.7102, allocations: 0.9004 MB / 0.7138 GB, free: 88.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.12e-07/0.7102, allocations: 1.125 kB / 0.7138 GB, free: 88.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002472/0.7127, allocations: 0.6441 MB / 0.7144 GB, free: 87.96 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.0008672/0.7136, allocations: 380.3 kB / 0.7147 GB, free: 87.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00405/0.7176, allocations: 1.387 MB / 0.7161 GB, free: 87.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/0.7177, allocations: 5.562 kB / 0.7161 GB, free: 87.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.7193, allocations: 465.4 kB / 0.7165 GB, free: 87.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004265/0.7236, allocations: 0.8288 MB / 0.7174 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.7285, allocations: 2.912 MB / 0.7202 GB, free: 85.31 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/0.7292, allocations: 1.221 MB / 0.7214 GB, free: 84.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001934/0.7311, allocations: 350.1 kB / 0.7217 GB, free: 84.38 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.7315, allocations: 116.4 kB / 0.7218 GB, free: 84.35 MB / 0.5294 GB Notification: Performance of SimCode: time 1.633e-06/0.7315, allocations: 0 / 0.7218 GB, free: 84.35 MB / 0.5294 GB Notification: Performance of Templates: time 0.04444/0.776, allocations: 29.96 MB / 0.7511 GB, free: 58.36 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: