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.2153/0.2163, allocations: 82.22 MB / 0.5941 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.09042/0.3068, allocations: 72.36 MB / 0.6648 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02182/0.3287, allocations: 13.58 MB / 0.678 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.3317, allocations: 51.69 kB / 0.6781 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.3344, allocations: 0.7188 MB / 0.6788 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008358/0.3428, allocations: 2.352 MB / 0.6811 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004054/0.3469, allocations: 1.236 MB / 0.6823 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008285/0.3552, allocations: 5.712 MB / 0.6879 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002407/0.3576, allocations: 1.135 MB / 0.689 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003986/0.3616, allocations: 1.411 MB / 0.6903 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.3645, allocations: 1.233 MB / 0.6916 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005093/0.365, allocations: 60 kB / 0.6916 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.3688, allocations: 1.084 MB / 0.6927 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008493/0.3696, allocations: 302.6 kB / 0.693 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.4374/0.807, allocations: 0.8279 MB / 0.6938 GB, free: 33.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005684/0.8128, allocations: 2.728 MB / 0.6964 GB, free: 33.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.8128, allocations: 0 / 0.6964 GB, free: 33.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.066e-06/0.8128, allocations: 0.5312 kB / 0.6964 GB, free: 33.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.382e-05/0.8129, allocations: 0 / 0.6964 GB, free: 33.88 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.004467/0.8174, allocations: 1.778 MB / 0.6982 GB, free: 32.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.8174, allocations: 11.19 kB / 0.6982 GB, free: 32.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.8186, allocations: 261.5 kB / 0.6984 GB, free: 32.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.8213, allocations: 1.431 MB / 0.6998 GB, free: 32.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.8214, allocations: 91.59 kB / 0.6999 GB, free: 32.46 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.8216, allocations: 114.3 kB / 0.7 GB, free: 32.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/0.8246, allocations: 1.435 MB / 0.7014 GB, free: 32.12 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.8247, allocations: 7.25 kB / 0.7014 GB, free: 32.12 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.8248, allocations: 44.33 kB / 0.7015 GB, free: 32.12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.8248, allocations: 37.84 kB / 0.7015 GB, free: 32.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.8275, allocations: 1.139 MB / 0.7026 GB, free: 32.1 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.007881/0.8354, allocations: 6.673 MB / 0.7091 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.8374, allocations: 0.6792 MB / 0.7098 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/0.8381, allocations: 373 kB / 0.7102 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.8383, allocations: 179.7 kB / 0.7103 GB, free: 27.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.8384, allocations: 42.88 kB / 0.7104 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 4.308e-06/0.8384, allocations: 0 / 0.7104 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67): time 0.007282/0.8457, allocations: 2.529 MB / 0.7128 GB, free: 27.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.8458, allocations: 161.2 kB / 0.713 GB, free: 27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.848, allocations: 1.249 MB / 0.7142 GB, free: 26.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.8482, allocations: 46.95 kB / 0.7143 GB, free: 26.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006409/0.8488, allocations: 0.6483 MB / 0.7149 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.8491, allocations: 246.7 kB / 0.7151 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.8492, allocations: 75.16 kB / 0.7152 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.8493, allocations: 342.4 kB / 0.7155 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009902/0.8503, allocations: 374.6 kB / 0.7159 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.8516, allocations: 0.7145 MB / 0.7166 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.8538, allocations: 0.9868 MB / 0.7175 GB, free: 25.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.8538, allocations: 2.781 kB / 0.7175 GB, free: 25.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003561/0.8574, allocations: 1.152 MB / 0.7187 GB, free: 25.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002737/0.8577, allocations: 301.8 kB / 0.719 GB, free: 24.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/0.8577, allocations: 8.281 kB / 0.719 GB, free: 24.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.537e-05/0.8578, allocations: 15.69 kB / 0.719 GB, free: 24.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.8591, allocations: 246.9 kB / 0.7192 GB, free: 24.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.756e-05/0.8591, allocations: 18.97 kB / 0.7192 GB, free: 24.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.8614, allocations: 148.2 kB / 0.7194 GB, free: 24.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.8615, allocations: 39.16 kB / 0.7194 GB, free: 24.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.8616, allocations: 3.875 kB / 0.7194 GB, free: 24.9 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002568/0.8641, allocations: 0.9364 MB / 0.7203 GB, free: 24.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.8642, allocations: 11.28 kB / 0.7203 GB, free: 24.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.8642, allocations: 11.34 kB / 0.7204 GB, free: 24.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008969/0.8651, allocations: 232.4 kB / 0.7206 GB, free: 24.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/0.8652, allocations: 21.66 kB / 0.7206 GB, free: 24.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.867, allocations: 138.7 kB / 0.7207 GB, free: 24.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/0.8671, allocations: 40.56 kB / 0.7208 GB, free: 24.86 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.001045/0.8681, allocations: 438.8 kB / 0.7212 GB, free: 24.67 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004141/0.8685, allocations: 138.9 kB / 0.7213 GB, free: 24.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/0.8712, allocations: 1.024 MB / 0.7223 GB, free: 24.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.8712, allocations: 7.906 kB / 0.7223 GB, free: 24.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.8712, allocations: 0.75 kB / 0.7223 GB, free: 24.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001899/0.8731, allocations: 0.9202 MB / 0.7232 GB, free: 24.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005641/0.8788, allocations: 2.609 MB / 0.7258 GB, free: 23.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.8789, allocations: 3.031 kB / 0.7258 GB, free: 23.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007773/0.8796, allocations: 169.5 kB / 0.7259 GB, free: 23.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003787/0.88, allocations: 88.86 kB / 0.726 GB, free: 23.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.288e-05/0.8801, allocations: 27.16 kB / 0.726 GB, free: 23.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006083/0.8807, allocations: 1.162 MB / 0.7272 GB, free: 22.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/0.8808, allocations: 7 kB / 0.7272 GB, free: 22.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/0.8842, allocations: 1.643 MB / 0.7288 GB, free: 22.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.8852, allocations: 332.5 kB / 0.7291 GB, free: 22.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004785/0.8857, allocations: 22.06 kB / 0.7291 GB, free: 22.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.8871, allocations: 116.3 kB / 0.7292 GB, free: 22.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.8873, allocations: 61.89 kB / 0.7293 GB, free: 22.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.19e-05/0.8874, allocations: 39.3 kB / 0.7293 GB, free: 22.06 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00171/0.8891, allocations: 0.8708 MB / 0.7302 GB, free: 21.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8891, allocations: 0 / 0.7302 GB, free: 21.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003069/0.8922, allocations: 0.6389 MB / 0.7308 GB, free: 21.93 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.001033/0.8932, allocations: 365.7 kB / 0.7312 GB, free: 21.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003336/0.8966, allocations: 1.398 MB / 0.7325 GB, free: 21.76 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.8966, allocations: 256 / 0.7325 GB, free: 21.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.8977, allocations: 470.7 kB / 0.733 GB, free: 21.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005802/0.9035, allocations: 0.8698 MB / 0.7338 GB, free: 21.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/0.9087, allocations: 3.016 MB / 0.7368 GB, free: 20.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007752/0.9095, allocations: 1.2 MB / 0.7379 GB, free: 19.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001914/0.9115, allocations: 350.8 kB / 0.7383 GB, free: 19.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.9119, allocations: 122.2 kB / 0.7384 GB, free: 19.25 MB / 0.5294 GB Notification: Performance of SimCode: time 1.523e-06/0.9119, allocations: 0 / 0.7384 GB, free: 19.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.0501/0.962, allocations: 31.36 MB / 0.769 GB, free: 12.82 MB / 0.545 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: