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.2198/0.2225, allocations: 80.85 MB / 0.6706 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.5928/0.8154, allocations: 74.01 MB / 0.7429 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02628/0.8417, allocations: 13.7 MB / 0.7563 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004342/0.8461, allocations: 61.25 kB / 0.7563 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.8504, allocations: 0.894 MB / 0.7572 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009615/0.8601, allocations: 2.534 MB / 0.7597 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00493/0.865, allocations: 1.35 MB / 0.761 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008493/0.8735, allocations: 4.384 MB / 0.7653 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002901/0.8765, allocations: 1.441 MB / 0.7667 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006267/0.8828, allocations: 1.753 MB / 0.7684 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003625/0.8864, allocations: 1.285 MB / 0.7696 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005794/0.887, allocations: 171.5 kB / 0.7698 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004742/0.8918, allocations: 1.251 MB / 0.771 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.8929, allocations: 414.1 kB / 0.7714 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003244/0.8961, allocations: 0.9451 MB / 0.7723 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009566/0.9057, allocations: 2.864 MB / 0.7751 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.9058, allocations: 0 / 0.7751 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.587e-06/0.9058, allocations: 0 / 0.7751 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000103/0.9059, allocations: 3.984 kB / 0.7751 GB, free: 5.855 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.007263/0.9132, allocations: 2.107 MB / 0.7772 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.351e-05/0.9133, allocations: 11.25 kB / 0.7772 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.9148, allocations: 243 kB / 0.7774 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004112/0.9189, allocations: 1.466 MB / 0.7789 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.9191, allocations: 84.48 kB / 0.779 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.9193, allocations: 115.3 kB / 0.7791 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00409/0.9234, allocations: 1.4 MB / 0.7804 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.108e-05/0.9235, allocations: 6.625 kB / 0.7804 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.9237, allocations: 58.11 kB / 0.7805 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.688e-05/0.9238, allocations: 38.55 kB / 0.7805 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003239/0.9271, allocations: 1.071 MB / 0.7816 GB, free: 0.875 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.01096/0.938, allocations: 6.657 MB / 0.7881 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.9402, allocations: 0.6316 MB / 0.7887 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008193/0.9411, allocations: 347.5 kB / 0.789 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.9414, allocations: 178.8 kB / 0.7892 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/0.9414, allocations: 43.12 kB / 0.7892 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=63): time 3.316e-06/0.9414, allocations: 0 / 0.7892 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67): time 0.008814/0.9503, allocations: 2.377 MB / 0.7916 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/0.9505, allocations: 166.7 kB / 0.7917 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/0.9543, allocations: 1.266 MB / 0.793 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.9545, allocations: 45.7 kB / 0.793 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008696/0.9554, allocations: 0.6489 MB / 0.7936 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/0.9558, allocations: 244.5 kB / 0.7939 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005094/0.9563, allocations: 186.5 kB / 0.794 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.9565, allocations: 341.9 kB / 0.7944 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.9576, allocations: 348.6 kB / 0.7947 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.959, allocations: 0.6887 MB / 0.7954 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/0.9614, allocations: 0.9373 MB / 0.7963 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.9614, allocations: 4 kB / 0.7963 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003519/0.9649, allocations: 1.089 MB / 0.7974 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.965, allocations: 8 kB / 0.7974 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.965, allocations: 8 kB / 0.7974 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.325e-05/0.9651, allocations: 12.78 kB / 0.7974 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.9662, allocations: 235.7 kB / 0.7976 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.548e-05/0.9662, allocations: 19.88 kB / 0.7976 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.9682, allocations: 87.89 kB / 0.7977 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.9683, allocations: 40 kB / 0.7978 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001637/0.97, allocations: 0.5956 MB / 0.7983 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001568/0.9715, allocations: 0.6653 MB / 0.799 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00192/0.9735, allocations: 0.8905 MB / 0.7999 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.119e-05/0.9735, allocations: 5.562 kB / 0.7999 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002763/0.9763, allocations: 1.05 MB / 0.8009 GB, free: 12 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.9763, allocations: 8 kB / 0.8009 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.9763, allocations: 8 kB / 0.8009 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.9764, allocations: 12 kB / 0.8009 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/0.9773, allocations: 224 kB / 0.8011 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/0.9773, allocations: 16 kB / 0.8011 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.979, allocations: 95.83 kB / 0.8012 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/0.9791, allocations: 43.98 kB / 0.8013 GB, free: 11.61 MB / 0.6075 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.0004007/0.9795, allocations: 243.9 kB / 0.8015 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004649/0.98, allocations: 138.3 kB / 0.8016 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.9824, allocations: 0.957 MB / 0.8026 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.9825, allocations: 15.94 kB / 0.8026 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9825, allocations: 0 / 0.8026 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001845/0.9843, allocations: 0.8608 MB / 0.8034 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00531/0.9897, allocations: 2.556 MB / 0.8059 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.9897, allocations: 4 kB / 0.8059 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/0.9904, allocations: 160.3 kB / 0.8061 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.9907, allocations: 85.67 kB / 0.8062 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.709e-05/0.9908, allocations: 27.94 kB / 0.8062 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008405/0.9916, allocations: 1.155 MB / 0.8073 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.9916, allocations: 8 kB / 0.8073 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.9949, allocations: 1.543 MB / 0.8088 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008134/0.9957, allocations: 323.2 kB / 0.8091 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003711/0.9961, allocations: 20 kB / 0.8092 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.9972, allocations: 67.92 kB / 0.8092 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.9974, allocations: 68.23 kB / 0.8093 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.9975, allocations: 31.98 kB / 0.8093 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001409/0.9989, allocations: 0.894 MB / 0.8102 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9989, allocations: 0 / 0.8102 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0024/1.001, allocations: 0.6449 MB / 0.8108 GB, free: 1.457 MB / 0.6075 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.0009212/1.002, allocations: 381.6 kB / 0.8112 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003121/1.005, allocations: 1.33 MB / 0.8125 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.005, allocations: 0 / 0.8125 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/1.006, allocations: 443.5 kB / 0.8129 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004307/1.011, allocations: 0.8799 MB / 0.8138 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/1.015, allocations: 2.428 MB / 0.8161 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009088/1.016, allocations: 1.195 MB / 0.8173 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001713/1.018, allocations: 351.7 kB / 0.8176 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/1.018, allocations: 115.4 kB / 0.8178 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of SimCode: time 1.643e-06/1.018, allocations: 0 / 0.8178 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.06056/1.079, allocations: 32.77 MB / 0.8498 GB, free: 9.746 MB / 0.6544 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)