Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") [/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.2394/0.2412, allocations: 80.84 MB / 0.5897 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06526/0.3066, allocations: 59.89 MB / 0.6482 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01727/0.3239, allocations: 11.06 MB / 0.659 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003383/0.3274, allocations: 47.59 kB / 0.659 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.3305, allocations: 0.5789 MB / 0.6596 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007552/0.3381, allocations: 1.73 MB / 0.6613 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.342, allocations: 0.9745 MB / 0.6622 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007512/0.3495, allocations: 3.966 MB / 0.6661 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/0.3519, allocations: 0.9143 MB / 0.667 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00435/0.3563, allocations: 1.272 MB / 0.6682 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/0.359, allocations: 0.9762 MB / 0.6692 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003908/0.3594, allocations: 64 kB / 0.6692 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/0.363, allocations: 1.006 MB / 0.6702 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004492/0.3634, allocations: 250.9 kB / 0.6705 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.365, allocations: 0.6723 MB / 0.6711 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004199/0.3692, allocations: 2.134 MB / 0.6732 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.3692, allocations: 0 / 0.6732 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3692, allocations: 0 / 0.6732 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.949e-05/0.3693, allocations: 0 / 0.6732 GB, free: 1.273 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.00406/0.3733, allocations: 1.73 MB / 0.6749 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/0.3734, allocations: 8.031 kB / 0.6749 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.3755, allocations: 363 kB / 0.6752 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.3779, allocations: 1.004 MB / 0.6762 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/0.3783, allocations: 137.9 kB / 0.6764 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.3784, allocations: 91.98 kB / 0.6764 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.3813, allocations: 1.194 MB / 0.6776 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.3814, allocations: 11.88 kB / 0.6776 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-05/0.3815, allocations: 44 kB / 0.6777 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-05/0.3815, allocations: 24 kB / 0.6777 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.3842, allocations: 0.9795 MB / 0.6786 GB, free: 11.51 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.008416/0.3927, allocations: 5.884 MB / 0.6844 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.3948, allocations: 0.5894 MB / 0.685 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006046/0.3954, allocations: 253.4 kB / 0.6852 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.3966, allocations: 0.716 MB / 0.6859 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.3967, allocations: 34.89 kB / 0.6859 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 5.18e-06/0.3967, allocations: 4 kB / 0.6859 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.007923/0.4046, allocations: 1.727 MB / 0.6876 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.4048, allocations: 166.2 kB / 0.6878 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.4067, allocations: 1.112 MB / 0.6889 GB, free: 412 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001743/0.4069, allocations: 37.7 kB / 0.6889 GB, free: 368 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.4075, allocations: 0.585 MB / 0.6895 GB, free: 15.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.4077, allocations: 142 kB / 0.6896 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.408, allocations: 158 kB / 0.6898 GB, free: 15.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4082, allocations: 337.9 kB / 0.6901 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009652/0.4091, allocations: 327.2 kB / 0.6904 GB, free: 14.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.4104, allocations: 0.6322 MB / 0.691 GB, free: 14.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.4121, allocations: 0.7813 MB / 0.6918 GB, free: 13.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.4122, allocations: 7.875 kB / 0.6918 GB, free: 13.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00312/0.4153, allocations: 1.093 MB / 0.6929 GB, free: 12.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.4153, allocations: 8 kB / 0.6929 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.4154, allocations: 8 kB / 0.6929 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.4166, allocations: 345.1 kB / 0.6932 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/0.4172, allocations: 147.7 kB / 0.6933 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.4189, allocations: 0.9581 MB / 0.6943 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.4206, allocations: 203 kB / 0.6945 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/0.4207, allocations: 43.98 kB / 0.6945 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001249/0.422, allocations: 0.4942 MB / 0.695 GB, free: 9.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/0.423, allocations: 0.6087 MB / 0.6956 GB, free: 9.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001497/0.4245, allocations: 0.7343 MB / 0.6963 GB, free: 8.262 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.918e-06/0.4246, allocations: 7.984 kB / 0.6963 GB, free: 8.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.002922/0.4275, allocations: 1.038 MB / 0.6973 GB, free: 7.203 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.4275, allocations: 11.94 kB / 0.6973 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.4276, allocations: 8 kB / 0.6973 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.4286, allocations: 304.6 kB / 0.6976 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.4292, allocations: 147.8 kB / 0.6978 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.4306, allocations: 0.9068 MB / 0.6987 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.4325, allocations: 183.3 kB / 0.6988 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.347e-05/0.4326, allocations: 35.98 kB / 0.6989 GB, free: 5.594 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0004406/0.433, allocations: 228.3 kB / 0.6991 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/0.4333, allocations: 110.7 kB / 0.6992 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004168/0.4375, allocations: 1.034 MB / 0.7002 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.4375, allocations: 4 kB / 0.7002 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4376, allocations: 0 / 0.7002 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.4376, allocations: 0 / 0.7002 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005367/0.4429, allocations: 2.029 MB / 0.7022 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.443, allocations: 4.312 kB / 0.7022 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.4433, allocations: 63.89 kB / 0.7023 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.4444, allocations: 332.6 kB / 0.7026 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/0.4445, allocations: 19.98 kB / 0.7026 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.4461, allocations: 0.9533 MB / 0.7035 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4461, allocations: 4.062 kB / 0.7035 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4575/0.9036, allocations: 1.108 MB / 0.7046 GB, free: 113.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007031/0.9044, allocations: 259.5 kB / 0.7049 GB, free: 113.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.9046, allocations: 16.02 kB / 0.7049 GB, free: 113.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.9057, allocations: 99.61 kB / 0.705 GB, free: 113.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.9058, allocations: 36.36 kB / 0.705 GB, free: 113.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/0.9059, allocations: 22.88 kB / 0.705 GB, free: 113.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001292/0.9071, allocations: 0.769 MB / 0.7058 GB, free: 113.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9072, allocations: 0 / 0.7058 GB, free: 113.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001631/0.9088, allocations: 0.5718 MB / 0.7063 GB, free: 113.4 MB / 0.545 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006521/0.9095, allocations: 278.9 kB / 0.7066 GB, free: 113.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003089/0.9126, allocations: 1.125 MB / 0.7077 GB, free: 113.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.9126, allocations: 3.969 kB / 0.7077 GB, free: 113.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008299/0.9134, allocations: 316.1 kB / 0.708 GB, free: 113.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/0.9162, allocations: 0.5508 MB / 0.7085 GB, free: 113.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.9203, allocations: 2.187 MB / 0.7107 GB, free: 112.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.9209, allocations: 1.056 MB / 0.7117 GB, free: 111.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001422/0.9224, allocations: 242.7 kB / 0.7119 GB, free: 111.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.9226, allocations: 81.5 kB / 0.712 GB, free: 111.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.763e-06/0.9226, allocations: 0 / 0.712 GB, free: 111.4 MB / 0.545 GB Notification: Performance of Templates: time 0.05209/0.9747, allocations: 25.23 MB / 0.7367 GB, free: 100.6 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)