Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") [/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.1557/0.1564, allocations: 82.21 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05106/0.2075, allocations: 50.52 MB / 0.6427 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.2206, allocations: 9.425 MB / 0.6519 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.2224, allocations: 43.69 kB / 0.6519 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.2245, allocations: 0.5831 MB / 0.6525 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.2304, allocations: 1.826 MB / 0.6543 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.2332, allocations: 0.9046 MB / 0.6552 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003114/0.2363, allocations: 1.784 MB / 0.6569 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.2377, allocations: 0.8093 MB / 0.6577 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.2399, allocations: 1.082 MB / 0.6588 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.2412, allocations: 0.6418 MB / 0.6594 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.2414, allocations: 48 kB / 0.6594 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.243, allocations: 0.7254 MB / 0.6601 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.2432, allocations: 215.1 kB / 0.6603 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.2435, allocations: 297 kB / 0.6606 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.245, allocations: 1.555 MB / 0.6621 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.245, allocations: 4 kB / 0.6621 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.482e-06/0.245, allocations: 0 / 0.6621 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.2451, allocations: 0 / 0.6621 GB, free: 15.37 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002424/0.2475, allocations: 1.473 MB / 0.6636 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.2475, allocations: 12.03 kB / 0.6636 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.2498, allocations: 493.9 kB / 0.6641 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.2516, allocations: 1.027 MB / 0.6651 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000331/0.252, allocations: 137.9 kB / 0.6652 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.2521, allocations: 88 kB / 0.6653 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.2546, allocations: 1.272 MB / 0.6665 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.2546, allocations: 3.938 kB / 0.6665 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-05/0.2547, allocations: 44 kB / 0.6666 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/0.2548, allocations: 27.98 kB / 0.6666 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/0.2575, allocations: 1.104 MB / 0.6677 GB, free: 9.508 MB / 0.5137 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.006498/0.264, allocations: 6.053 MB / 0.6736 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.2662, allocations: 0.7656 MB / 0.6743 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.2665, allocations: 255.8 kB / 0.6746 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.2665, allocations: 50.89 kB / 0.6746 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.736e-06/0.2665, allocations: 0 / 0.6746 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.009065/0.2756, allocations: 2.345 MB / 0.6769 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.2757, allocations: 158.2 kB / 0.6771 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.2772, allocations: 1.131 MB / 0.6782 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.17e-05/0.2773, allocations: 37.7 kB / 0.6782 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000444/0.2778, allocations: 0.5812 MB / 0.6788 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.2779, allocations: 138 kB / 0.6789 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.278, allocations: 16 kB / 0.6789 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2781, allocations: 334 kB / 0.6792 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009969/0.2791, allocations: 377 kB / 0.6796 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.2804, allocations: 0.6946 MB / 0.6803 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.2815, allocations: 440.4 kB / 0.6807 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.2815, allocations: 0 / 0.6807 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003013/0.2845, allocations: 1.237 MB / 0.6819 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001089/0.2856, allocations: 2.639 MB / 0.6845 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.2856, allocations: 8 kB / 0.6845 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.2868, allocations: 368.6 kB / 0.6848 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/0.2875, allocations: 175.7 kB / 0.685 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.2892, allocations: 0.9997 MB / 0.686 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.2907, allocations: 242.9 kB / 0.6862 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/0.2908, allocations: 35.98 kB / 0.6863 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.2908, allocations: 4 kB / 0.6863 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002455/0.2933, allocations: 1.018 MB / 0.6873 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2933, allocations: 4 kB / 0.6873 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000937/0.2942, allocations: 332.8 kB / 0.6876 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.2948, allocations: 155.8 kB / 0.6877 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.2962, allocations: 0.9387 MB / 0.6886 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.2974, allocations: 195.1 kB / 0.6888 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.2975, allocations: 35.98 kB / 0.6889 GB, free: 2.863 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005999/0.2981, allocations: 368.8 kB / 0.6892 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.2983, allocations: 114.6 kB / 0.6893 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004056/0.3024, allocations: 1.242 MB / 0.6905 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.3024, allocations: 4 kB / 0.6905 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3024, allocations: 7.984 kB / 0.6905 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3024, allocations: 4 kB / 0.6906 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3662/0.6687, allocations: 2.226 MB / 0.6927 GB, free: 97.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.6687, allocations: 5.688 kB / 0.6927 GB, free: 97.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.6691, allocations: 77.22 kB / 0.6928 GB, free: 97.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.6702, allocations: 357.9 kB / 0.6931 GB, free: 97.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.6702, allocations: 19.06 kB / 0.6932 GB, free: 97.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.6717, allocations: 0.9868 MB / 0.6941 GB, free: 96.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6717, allocations: 4.5 kB / 0.6941 GB, free: 96.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.6741, allocations: 1.208 MB / 0.6953 GB, free: 96.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/0.6746, allocations: 296 kB / 0.6956 GB, free: 96.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.6747, allocations: 16.73 kB / 0.6956 GB, free: 96.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009466/0.6757, allocations: 127.8 kB / 0.6957 GB, free: 96.21 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.6758, allocations: 40.52 kB / 0.6958 GB, free: 96.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.266e-05/0.6758, allocations: 28.23 kB / 0.6958 GB, free: 96.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001112/0.6769, allocations: 0.7792 MB / 0.6966 GB, free: 96.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.677, allocations: 0 / 0.6966 GB, free: 96.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001518/0.6785, allocations: 0.5618 MB / 0.6971 GB, free: 96.06 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005311/0.679, allocations: 258.5 kB / 0.6974 GB, free: 95.97 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003235/0.6823, allocations: 1.322 MB / 0.6986 GB, free: 95.92 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.6823, allocations: 1.094 kB / 0.6986 GB, free: 95.92 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008686/0.6832, allocations: 377.1 kB / 0.699 GB, free: 95.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.6856, allocations: 0.5414 MB / 0.6995 GB, free: 95.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.6909, allocations: 2.473 MB / 0.7019 GB, free: 94.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.6916, allocations: 1.079 MB / 0.703 GB, free: 94.14 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00124/0.6928, allocations: 250.2 kB / 0.7032 GB, free: 94.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.693, allocations: 84.72 kB / 0.7033 GB, free: 94.08 MB / 0.5294 GB Notification: Performance of SimCode: time 1.192e-06/0.693, allocations: 0 / 0.7033 GB, free: 94.08 MB / 0.5294 GB Notification: Performance of Templates: time 0.04326/0.7363, allocations: 24.38 MB / 0.7271 GB, free: 81.29 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: