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.217/0.2189, allocations: 80.83 MB / 0.5897 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0722/0.2911, allocations: 73.6 MB / 0.6615 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02134/0.3125, allocations: 13.75 MB / 0.675 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004274/0.3169, allocations: 55.69 kB / 0.675 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.3204, allocations: 0.7305 MB / 0.6757 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.3307, allocations: 2.344 MB / 0.678 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004768/0.3355, allocations: 1.229 MB / 0.6792 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008536/0.344, allocations: 5.716 MB / 0.6848 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002387/0.3465, allocations: 1.182 MB / 0.686 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00415/0.3506, allocations: 1.447 MB / 0.6874 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00279/0.3534, allocations: 1.28 MB / 0.6886 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000349/0.3538, allocations: 76 kB / 0.6887 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.3574, allocations: 1.099 MB / 0.6898 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.4385/0.7959, allocations: 319.1 kB / 0.6901 GB, free: 34.03 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003322/0.7993, allocations: 0.8461 MB / 0.6909 GB, free: 34.03 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00556/0.8049, allocations: 2.784 MB / 0.6936 GB, free: 33.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8049, allocations: 0 / 0.6936 GB, free: 33.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8049, allocations: 0 / 0.6936 GB, free: 33.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.807e-05/0.805, allocations: 0.9375 kB / 0.6936 GB, free: 33.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.004734/0.8097, allocations: 2.101 MB / 0.6957 GB, free: 32.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.8098, allocations: 10.16 kB / 0.6957 GB, free: 32.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.8109, allocations: 246.7 kB / 0.6959 GB, free: 32.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.8135, allocations: 1.439 MB / 0.6973 GB, free: 32.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.8136, allocations: 86.64 kB / 0.6974 GB, free: 32.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.8137, allocations: 110.4 kB / 0.6975 GB, free: 32.49 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/0.8165, allocations: 1.397 MB / 0.6989 GB, free: 32.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/0.8166, allocations: 8.094 kB / 0.6989 GB, free: 32.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.8167, allocations: 49.38 kB / 0.6989 GB, free: 32.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/0.8167, allocations: 35.28 kB / 0.699 GB, free: 32.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.8193, allocations: 1.073 MB / 0.7 GB, free: 32.16 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.007726/0.827, allocations: 6.649 MB / 0.7065 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.8288, allocations: 0.6409 MB / 0.7071 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.8295, allocations: 344.1 kB / 0.7075 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.8297, allocations: 181.6 kB / 0.7076 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.8297, allocations: 41.91 kB / 0.7077 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 3.556e-06/0.8298, allocations: 0 / 0.7077 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67): time 0.007018/0.8368, allocations: 2.373 MB / 0.71 GB, free: 27.28 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.8369, allocations: 161.9 kB / 0.7101 GB, free: 27.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.8392, allocations: 1.252 MB / 0.7114 GB, free: 26.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.8394, allocations: 38.86 kB / 0.7114 GB, free: 26.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/0.8399, allocations: 0.6572 MB / 0.712 GB, free: 26.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.8402, allocations: 238.6 kB / 0.7123 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/0.8405, allocations: 191 kB / 0.7125 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8406, allocations: 342.8 kB / 0.7128 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000877/0.8415, allocations: 348.8 kB / 0.7131 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.8426, allocations: 0.6943 MB / 0.7138 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.8445, allocations: 0.9318 MB / 0.7147 GB, free: 25.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.8446, allocations: 2.594 kB / 0.7147 GB, free: 25.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00289/0.8475, allocations: 1.091 MB / 0.7158 GB, free: 25.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.8475, allocations: 10.38 kB / 0.7158 GB, free: 25.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.8475, allocations: 7.656 kB / 0.7158 GB, free: 25.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/0.8476, allocations: 11.41 kB / 0.7158 GB, free: 25.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.8486, allocations: 236.5 kB / 0.716 GB, free: 25.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.401e-05/0.8486, allocations: 17.64 kB / 0.716 GB, free: 25.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.8504, allocations: 141.7 kB / 0.7162 GB, free: 25.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.8505, allocations: 39 kB / 0.7162 GB, free: 25.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00148/0.852, allocations: 0.5925 MB / 0.7168 GB, free: 25.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001165/0.8531, allocations: 0.662 MB / 0.7174 GB, free: 24.87 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00156/0.8547, allocations: 0.8931 MB / 0.7183 GB, free: 24.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/0.8547, allocations: 1.375 kB / 0.7183 GB, free: 24.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002237/0.857, allocations: 1.045 MB / 0.7193 GB, free: 24.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.857, allocations: 7.656 kB / 0.7193 GB, free: 24.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.857, allocations: 7.625 kB / 0.7193 GB, free: 24.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.857, allocations: 17.19 kB / 0.7194 GB, free: 24.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/0.8579, allocations: 227.5 kB / 0.7196 GB, free: 24.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.8579, allocations: 17.11 kB / 0.7196 GB, free: 24.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.8595, allocations: 139.2 kB / 0.7197 GB, free: 24.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/0.8596, allocations: 40.3 kB / 0.7198 GB, free: 24.46 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003757/0.86, allocations: 242.5 kB / 0.72 GB, free: 24.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.8603, allocations: 138.7 kB / 0.7201 GB, free: 24.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.8627, allocations: 0.9643 MB / 0.7211 GB, free: 24.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.8627, allocations: 5.188 kB / 0.7211 GB, free: 24.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.8627, allocations: 0.875 kB / 0.7211 GB, free: 24.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00164/0.8644, allocations: 0.8593 MB / 0.7219 GB, free: 23.92 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005654/0.87, allocations: 2.55 MB / 0.7244 GB, free: 23.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.8701, allocations: 4.562 kB / 0.7244 GB, free: 23.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008123/0.8709, allocations: 151.8 kB / 0.7246 GB, free: 23.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004015/0.8713, allocations: 94.61 kB / 0.7247 GB, free: 23.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.8714, allocations: 33.89 kB / 0.7247 GB, free: 23.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007268/0.8721, allocations: 1.148 MB / 0.7258 GB, free: 22.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/0.8722, allocations: 12.09 kB / 0.7258 GB, free: 22.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003983/0.8762, allocations: 1.556 MB / 0.7273 GB, free: 21.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008407/0.877, allocations: 319.1 kB / 0.7276 GB, free: 21.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.8772, allocations: 16.56 kB / 0.7277 GB, free: 21.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009783/0.8782, allocations: 102.1 kB / 0.7278 GB, free: 21.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.8784, allocations: 67.95 kB / 0.7278 GB, free: 21.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.647e-05/0.8785, allocations: 39.72 kB / 0.7279 GB, free: 21.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001305/0.8798, allocations: 0.8714 MB / 0.7287 GB, free: 21.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8798, allocations: 3.156 kB / 0.7287 GB, free: 21.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002115/0.8819, allocations: 0.6305 MB / 0.7293 GB, free: 21.58 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008315/0.8827, allocations: 375 kB / 0.7297 GB, free: 21.44 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00274/0.8855, allocations: 1.323 MB / 0.731 GB, free: 21.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.8855, allocations: 4.062 kB / 0.731 GB, free: 21.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00099/0.8865, allocations: 440.2 kB / 0.7314 GB, free: 21.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/0.8904, allocations: 0.829 MB / 0.7322 GB, free: 21.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.8948, allocations: 2.933 MB / 0.7351 GB, free: 19.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.8955, allocations: 1.193 MB / 0.7362 GB, free: 19.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001898/0.8974, allocations: 358.2 kB / 0.7366 GB, free: 18.97 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.8978, allocations: 122 kB / 0.7367 GB, free: 18.96 MB / 0.5294 GB Notification: Performance of SimCode: time 2.675e-06/0.8978, allocations: 0 / 0.7367 GB, free: 18.96 MB / 0.5294 GB Notification: Performance of Templates: time 0.04537/0.9432, allocations: 30.35 MB / 0.7663 GB, free: 13.32 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (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)