Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") [/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.2304/0.2337, allocations: 80.83 MB / 0.5897 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07868/0.3124, allocations: 73.59 MB / 0.6615 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02112/0.3336, allocations: 13.75 MB / 0.675 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003675/0.3373, allocations: 55.69 kB / 0.675 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00319/0.3406, allocations: 0.7266 MB / 0.6757 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00846/0.3491, allocations: 2.349 MB / 0.678 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.3528, allocations: 1.218 MB / 0.6792 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007467/0.3603, allocations: 5.723 MB / 0.6848 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.3621, allocations: 1.186 MB / 0.686 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.3654, allocations: 1.443 MB / 0.6874 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.3673, allocations: 1.28 MB / 0.6886 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.3675, allocations: 76 kB / 0.6887 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/0.3714, allocations: 1.095 MB / 0.6898 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.4976/0.8691, allocations: 322.2 kB / 0.6901 GB, free: 34.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002567/0.8717, allocations: 0.8495 MB / 0.6909 GB, free: 34.14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005275/0.877, allocations: 2.782 MB / 0.6936 GB, free: 34.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.877, allocations: 5.5 kB / 0.6936 GB, free: 34.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.482e-06/0.877, allocations: 0 / 0.6936 GB, free: 34.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.632e-05/0.8771, allocations: 0 / 0.6936 GB, free: 34.07 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.004634/0.8817, allocations: 2.104 MB / 0.6957 GB, free: 33.1 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.8818, allocations: 8.344 kB / 0.6957 GB, free: 33.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.8829, allocations: 247.2 kB / 0.6959 GB, free: 33.01 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.8853, allocations: 1.437 MB / 0.6973 GB, free: 32.61 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.426e-05/0.8854, allocations: 86.17 kB / 0.6974 GB, free: 32.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.8856, allocations: 113.5 kB / 0.6975 GB, free: 32.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/0.8883, allocations: 1.401 MB / 0.6989 GB, free: 32.28 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.8884, allocations: 14.25 kB / 0.6989 GB, free: 32.28 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/0.8885, allocations: 44.34 kB / 0.6989 GB, free: 32.28 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.448e-05/0.8885, allocations: 40.56 kB / 0.699 GB, free: 32.28 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.8911, allocations: 1.072 MB / 0.7 GB, free: 32.27 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.00663/0.8977, allocations: 6.653 MB / 0.7065 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.8996, allocations: 0.6402 MB / 0.7071 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006571/0.9003, allocations: 346.2 kB / 0.7075 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.9005, allocations: 184.1 kB / 0.7076 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.9005, allocations: 39.44 kB / 0.7077 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 2.514e-06/0.9005, allocations: 0 / 0.7077 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67): time 0.006721/0.9073, allocations: 2.371 MB / 0.71 GB, free: 27.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.9074, allocations: 162.9 kB / 0.7102 GB, free: 27.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.9093, allocations: 1.254 MB / 0.7114 GB, free: 27.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-05/0.9094, allocations: 43.8 kB / 0.7114 GB, free: 27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004985/0.9099, allocations: 0.6524 MB / 0.7121 GB, free: 26.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.9101, allocations: 238.4 kB / 0.7123 GB, free: 26.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.9105, allocations: 191.3 kB / 0.7125 GB, free: 26.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.9105, allocations: 343 kB / 0.7128 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008636/0.9114, allocations: 352.5 kB / 0.7131 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.9126, allocations: 0.6928 MB / 0.7138 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.9146, allocations: 0.9306 MB / 0.7147 GB, free: 25.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.9146, allocations: 2.625 kB / 0.7147 GB, free: 25.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00269/0.9173, allocations: 1.089 MB / 0.7158 GB, free: 25.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.9174, allocations: 10.03 kB / 0.7158 GB, free: 25.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.9174, allocations: 8.125 kB / 0.7158 GB, free: 25.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/0.9174, allocations: 16.84 kB / 0.7158 GB, free: 25.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.9184, allocations: 230.7 kB / 0.716 GB, free: 25.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.851e-05/0.9185, allocations: 17.73 kB / 0.716 GB, free: 25.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.9201, allocations: 140.4 kB / 0.7162 GB, free: 25.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.9202, allocations: 40.72 kB / 0.7162 GB, free: 25.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001422/0.9216, allocations: 0.5912 MB / 0.7168 GB, free: 25.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001196/0.9228, allocations: 0.6645 MB / 0.7174 GB, free: 24.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001673/0.9245, allocations: 0.8883 MB / 0.7183 GB, free: 24.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.701e-06/0.9245, allocations: 2.391 kB / 0.7183 GB, free: 24.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002384/0.9269, allocations: 1.053 MB / 0.7193 GB, free: 24.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.9269, allocations: 8.25 kB / 0.7194 GB, free: 24.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.927, allocations: 6.156 kB / 0.7194 GB, free: 24.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.927, allocations: 12.75 kB / 0.7194 GB, free: 24.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/0.9278, allocations: 223.8 kB / 0.7196 GB, free: 24.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.9279, allocations: 16.19 kB / 0.7196 GB, free: 24.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.9294, allocations: 144.2 kB / 0.7197 GB, free: 24.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-05/0.9295, allocations: 39.52 kB / 0.7198 GB, free: 24.58 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.000345/0.9299, allocations: 240.3 kB / 0.72 GB, free: 24.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/0.9302, allocations: 138.7 kB / 0.7201 GB, free: 24.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.9326, allocations: 0.9664 MB / 0.7211 GB, free: 24.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.9326, allocations: 9.047 kB / 0.7211 GB, free: 24.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.9326, allocations: 0 / 0.7211 GB, free: 24.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/0.9343, allocations: 0.8579 MB / 0.7219 GB, free: 24.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00515/0.9395, allocations: 2.543 MB / 0.7244 GB, free: 23.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.9396, allocations: 5.906 kB / 0.7244 GB, free: 23.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/0.9403, allocations: 163.5 kB / 0.7246 GB, free: 23.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000304/0.9406, allocations: 83.34 kB / 0.7247 GB, free: 23.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-05/0.9407, allocations: 34.72 kB / 0.7247 GB, free: 23.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005994/0.9413, allocations: 1.156 MB / 0.7258 GB, free: 22.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.9413, allocations: 6.312 kB / 0.7258 GB, free: 22.44 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003196/0.9445, allocations: 1.549 MB / 0.7273 GB, free: 22.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00083/0.9454, allocations: 320.2 kB / 0.7276 GB, free: 21.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.9456, allocations: 27.19 kB / 0.7277 GB, free: 21.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.9466, allocations: 100.8 kB / 0.7278 GB, free: 21.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.9468, allocations: 67.42 kB / 0.7278 GB, free: 21.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.9469, allocations: 32.81 kB / 0.7279 GB, free: 21.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001315/0.9482, allocations: 0.8773 MB / 0.7287 GB, free: 21.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9482, allocations: 2.625 kB / 0.7287 GB, free: 21.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002496/0.9507, allocations: 0.6344 MB / 0.7293 GB, free: 21.7 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.0009351/0.9517, allocations: 365.7 kB / 0.7297 GB, free: 21.56 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003154/0.9548, allocations: 1.325 MB / 0.731 GB, free: 21.53 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.9549, allocations: 2.625 kB / 0.731 GB, free: 21.53 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.9559, allocations: 439.7 kB / 0.7314 GB, free: 21.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/0.9604, allocations: 0.8299 MB / 0.7322 GB, free: 21.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.965, allocations: 2.947 MB / 0.7351 GB, free: 19.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.9657, allocations: 1.198 MB / 0.7363 GB, free: 19.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002091/0.9678, allocations: 350.3 kB / 0.7366 GB, free: 19.08 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/0.9682, allocations: 115.2 kB / 0.7367 GB, free: 19.07 MB / 0.5294 GB Notification: Performance of SimCode: time 1.533e-06/0.9682, allocations: 0 / 0.7367 GB, free: 19.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.04444/1.013, allocations: 30.36 MB / 0.7664 GB, free: 13.43 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)