Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") [/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.5115/0.5137, allocations: 80.82 MB / 0.5904 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06312/0.5768, allocations: 60.24 MB / 0.6492 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01828/0.5952, allocations: 10.99 MB / 0.66 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00289/0.5982, allocations: 51.69 kB / 0.66 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002488/0.6007, allocations: 0.7064 MB / 0.6607 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007248/0.608, allocations: 1.889 MB / 0.6625 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003885/0.6119, allocations: 1.089 MB / 0.6636 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005278/0.6172, allocations: 3.022 MB / 0.6666 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.6191, allocations: 1.135 MB / 0.6677 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.6233, allocations: 1.44 MB / 0.6691 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.6249, allocations: 0.9724 MB / 0.67 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.6251, allocations: 131.9 kB / 0.6701 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.6276, allocations: 1.084 MB / 0.6712 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004395/0.628, allocations: 318.8 kB / 0.6715 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.6291, allocations: 0.7271 MB / 0.6722 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003171/0.6323, allocations: 2.177 MB / 0.6743 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6323, allocations: 0 / 0.6743 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6323, allocations: 0 / 0.6743 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.6323, allocations: 4 kB / 0.6744 GB, free: 0.5977 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003214/0.6355, allocations: 1.719 MB / 0.676 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6356, allocations: 12.03 kB / 0.676 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/0.6384, allocations: 0.4949 MB / 0.6765 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.6405, allocations: 1.05 MB / 0.6776 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003617/0.6408, allocations: 133.9 kB / 0.6777 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.641, allocations: 88 kB / 0.6778 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.6437, allocations: 1.263 MB / 0.679 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.6437, allocations: 7.938 kB / 0.679 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/0.6438, allocations: 39.94 kB / 0.679 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/0.6439, allocations: 27.98 kB / 0.6791 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/0.6469, allocations: 1.108 MB / 0.6802 GB, free: 10.46 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.008133/0.655, allocations: 6.286 MB / 0.6863 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/0.6581, allocations: 0.8813 MB / 0.6871 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.6592, allocations: 376.6 kB / 0.6875 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000365/0.6596, allocations: 251.3 kB / 0.6877 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.6597, allocations: 38.56 kB / 0.6878 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.345e-06/0.6597, allocations: 0 / 0.6878 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.01092/0.6706, allocations: 2.298 MB / 0.69 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.6707, allocations: 162.2 kB / 0.6902 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.6725, allocations: 1.027 MB / 0.6912 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.6727, allocations: 37.7 kB / 0.6912 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000487/0.6732, allocations: 0.577 MB / 0.6918 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.6733, allocations: 157.6 kB / 0.6919 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.6736, allocations: 150.2 kB / 0.6921 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6738, allocations: 333.9 kB / 0.6924 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.675, allocations: 399.2 kB / 0.6928 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.6766, allocations: 0.6794 MB / 0.6934 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/0.6789, allocations: 0.9188 MB / 0.6943 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.679, allocations: 3.938 kB / 0.6943 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005222/0.6842, allocations: 1.431 MB / 0.6957 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.6842, allocations: 8 kB / 0.6957 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.6843, allocations: 4 kB / 0.6958 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.6856, allocations: 345.1 kB / 0.6961 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007553/0.6864, allocations: 163.8 kB / 0.6962 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.6883, allocations: 0.9579 MB / 0.6972 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.6898, allocations: 171 kB / 0.6973 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/0.6899, allocations: 35.98 kB / 0.6974 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001608/0.6915, allocations: 0.5676 MB / 0.6979 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00138/0.6929, allocations: 0.6601 MB / 0.6986 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002321/0.6952, allocations: 0.8604 MB / 0.6994 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.084e-06/0.6952, allocations: 7.984 kB / 0.6994 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.004192/0.6994, allocations: 1.294 MB / 0.7007 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.6994, allocations: 8 kB / 0.7007 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.6995, allocations: 8.656 kB / 0.7007 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.7006, allocations: 312.5 kB / 0.701 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007633/0.7014, allocations: 159.8 kB / 0.7011 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.703, allocations: 0.9075 MB / 0.702 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.7045, allocations: 143.5 kB / 0.7022 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/0.7046, allocations: 35.98 kB / 0.7022 GB, free: 2.742 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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.0005373/0.7051, allocations: 228 kB / 0.7024 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.7054, allocations: 114.6 kB / 0.7025 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.7093, allocations: 1.104 MB / 0.7036 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.7093, allocations: 7.938 kB / 0.7036 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.7094, allocations: 0 / 0.7036 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.7094, allocations: 0 / 0.7036 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005198/0.7146, allocations: 2.093 MB / 0.7057 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.7146, allocations: 0 / 0.7057 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.7151, allocations: 91.84 kB / 0.7057 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.7162, allocations: 336.6 kB / 0.7061 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.7163, allocations: 19.92 kB / 0.7061 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.7181, allocations: 0.9473 MB / 0.707 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.7181, allocations: 4.031 kB / 0.707 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00436/0.7225, allocations: 1.31 MB / 0.7083 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007017/0.7232, allocations: 275.5 kB / 0.7086 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/0.7235, allocations: 12 kB / 0.7086 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.7245, allocations: 87.89 kB / 0.7087 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7246, allocations: 31.95 kB / 0.7087 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/0.7247, allocations: 19.98 kB / 0.7087 GB, free: 11.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001305/0.726, allocations: 0.7155 MB / 0.7094 GB, free: 11.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.726, allocations: 0 / 0.7094 GB, free: 11.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001798/0.7278, allocations: 0.5613 MB / 0.71 GB, free: 10.61 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 28 * 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 Backend phase and start with SimCode phase: time 0.0008628/0.7287, allocations: 272.7 kB / 0.7102 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004715/0.7334, allocations: 1.394 MB / 0.7116 GB, free: 8.957 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.7335, allocations: 0 / 0.7116 GB, free: 8.957 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.7347, allocations: 428.3 kB / 0.712 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/0.7376, allocations: 0.5345 MB / 0.7125 GB, free: 8.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00685/0.7444, allocations: 1.872 MB / 0.7143 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.7456, allocations: 1.061 MB / 0.7154 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001996/0.7476, allocations: 242.6 kB / 0.7156 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/0.748, allocations: 79.42 kB / 0.7157 GB, free: 4.715 MB / 0.545 GB Notification: Performance of SimCode: time 1.502e-06/0.7481, allocations: 0 / 0.7157 GB, free: 4.715 MB / 0.545 GB Notification: Performance of Templates: time 0.061/0.8091, allocations: 25.41 MB / 0.7405 GB, free: 11.57 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)