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.2446/0.2474, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07314/0.3206, allocations: 74.02 MB / 0.7429 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.556/0.8766, allocations: 13.68 MB / 0.7563 GB, free: 25.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004142/0.8809, allocations: 59.69 kB / 0.7563 GB, free: 25.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004338/0.8852, allocations: 0.8874 MB / 0.7572 GB, free: 25.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.8957, allocations: 2.544 MB / 0.7597 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005232/0.9009, allocations: 1.341 MB / 0.761 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01202/0.9129, allocations: 4.387 MB / 0.7653 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004078/0.9171, allocations: 1.44 MB / 0.7667 GB, free: 25.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007339/0.9244, allocations: 1.73 MB / 0.7684 GB, free: 25.15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00452/0.929, allocations: 1.292 MB / 0.7696 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006379/0.9296, allocations: 171 kB / 0.7698 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005059/0.9347, allocations: 1.245 MB / 0.771 GB, free: 24.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006583/0.9354, allocations: 420.8 kB / 0.7714 GB, free: 24.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.938, allocations: 0.9479 MB / 0.7723 GB, free: 24.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006391/0.9444, allocations: 2.866 MB / 0.7751 GB, free: 24.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9444, allocations: 5.156 kB / 0.7751 GB, free: 24.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9444, allocations: 0 / 0.7751 GB, free: 24.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.374e-05/0.9445, allocations: 3.656 kB / 0.7751 GB, free: 24.22 MB / 0.5762 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.005655/0.9502, allocations: 2.158 MB / 0.7772 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/0.9502, allocations: 9.406 kB / 0.7773 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.9515, allocations: 254.2 kB / 0.7775 GB, free: 23.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.9547, allocations: 1.476 MB / 0.7789 GB, free: 22.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.9548, allocations: 89.16 kB / 0.779 GB, free: 22.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/0.955, allocations: 110 kB / 0.7791 GB, free: 22.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003502/0.9585, allocations: 1.396 MB / 0.7805 GB, free: 22.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/0.9586, allocations: 6.812 kB / 0.7805 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.9587, allocations: 45.56 kB / 0.7805 GB, free: 22.19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.018e-05/0.9588, allocations: 37.84 kB / 0.7806 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/0.9616, allocations: 1.075 MB / 0.7816 GB, free: 21.82 MB / 0.5762 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.008091/0.9697, allocations: 6.669 MB / 0.7881 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.9717, allocations: 0.6353 MB / 0.7888 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008541/0.9726, allocations: 345.9 kB / 0.7891 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.9728, allocations: 182.7 kB / 0.7893 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.9729, allocations: 43.53 kB / 0.7893 GB, free: 16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 3.607e-06/0.9729, allocations: 0 / 0.7893 GB, free: 16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67): time 0.007936/0.9808, allocations: 2.389 MB / 0.7916 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/0.981, allocations: 167 kB / 0.7918 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/0.9834, allocations: 1.272 MB / 0.793 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.9835, allocations: 39.95 kB / 0.7931 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005816/0.9841, allocations: 0.6679 MB / 0.7937 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.9843, allocations: 253.5 kB / 0.794 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.9847, allocations: 187.4 kB / 0.7942 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.9848, allocations: 337.1 kB / 0.7945 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008728/0.9857, allocations: 352.5 kB / 0.7948 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.9869, allocations: 0.6969 MB / 0.7955 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.9888, allocations: 0.9268 MB / 0.7964 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.9888, allocations: 1.906 kB / 0.7964 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002748/0.9916, allocations: 1.1 MB / 0.7975 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.9916, allocations: 11.62 kB / 0.7975 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.9917, allocations: 8.156 kB / 0.7975 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/0.9917, allocations: 13.16 kB / 0.7975 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/0.9926, allocations: 234.2 kB / 0.7977 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/0.9927, allocations: 17.33 kB / 0.7977 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.9942, allocations: 95.38 kB / 0.7978 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/0.9943, allocations: 42.58 kB / 0.7979 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001385/0.9957, allocations: 0.5925 MB / 0.7985 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009612/0.9967, allocations: 0.6629 MB / 0.7991 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001552/0.9982, allocations: 0.8946 MB / 0.8 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.023e-06/0.9983, allocations: 6.922 kB / 0.8 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002333/1.001, allocations: 1.057 MB / 0.801 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.001, allocations: 7.906 kB / 0.801 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.001, allocations: 7.906 kB / 0.801 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.001, allocations: 10.84 kB / 0.801 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/1.001, allocations: 223.1 kB / 0.8013 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/1.002, allocations: 20.05 kB / 0.8013 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/1.003, allocations: 89.69 kB / 0.8014 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/1.003, allocations: 49.64 kB / 0.8014 GB, free: 8.367 MB / 0.5762 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.0003321/1.003, allocations: 243.8 kB / 0.8016 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/1.004, allocations: 144.8 kB / 0.8018 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/1.006, allocations: 0.9589 MB / 0.8027 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/1.006, allocations: 9.266 kB / 0.8027 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/1.006, allocations: 2.625 kB / 0.8027 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001724/1.008, allocations: 0.8598 MB / 0.8036 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004868/1.013, allocations: 2.554 MB / 0.8061 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.013, allocations: 6.406 kB / 0.8061 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/1.013, allocations: 160 kB / 0.8062 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002436/1.014, allocations: 84.23 kB / 0.8063 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.02e-05/1.014, allocations: 32.58 kB / 0.8063 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005938/1.014, allocations: 1.158 MB / 0.8075 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.014, allocations: 8.906 kB / 0.8075 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/1.017, allocations: 1.556 MB / 0.809 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007591/1.018, allocations: 321.4 kB / 0.8093 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/1.019, allocations: 24.55 kB / 0.8093 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.02, allocations: 67.17 kB / 0.8094 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.02, allocations: 64.09 kB / 0.8094 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/1.02, allocations: 33.75 kB / 0.8095 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00145/1.021, allocations: 0.898 MB / 0.8103 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.52e-07/1.021, allocations: 2.406 kB / 0.8104 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002952/1.024, allocations: 0.6431 MB / 0.811 GB, free: 1.938 MB / 0.5762 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.001152/1.025, allocations: 372.1 kB / 0.8113 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003273/1.029, allocations: 1.334 MB / 0.8126 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.029, allocations: 0 / 0.8126 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009874/1.03, allocations: 439.2 kB / 0.8131 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/1.034, allocations: 0.8817 MB / 0.8139 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/1.039, allocations: 2.472 MB / 0.8163 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009269/1.04, allocations: 1.198 MB / 0.8175 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001811/1.042, allocations: 351.7 kB / 0.8178 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/1.042, allocations: 119.4 kB / 0.8179 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of SimCode: time 2.044e-06/1.042, allocations: 4 kB / 0.818 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of Templates: time 0.07503/1.117, allocations: 32.25 MB / 0.8494 GB, free: 11.73 MB / 0.6231 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)