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.2078/0.2102, allocations: 80.84 MB / 0.6706 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07395/0.2842, allocations: 74.04 MB / 0.7429 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5811/0.8654, allocations: 13.67 MB / 0.7563 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004492/0.8699, allocations: 64.91 kB / 0.7564 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003819/0.8738, allocations: 0.89 MB / 0.7572 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.8843, allocations: 2.542 MB / 0.7597 GB, free: 25.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004785/0.8891, allocations: 1.336 MB / 0.761 GB, free: 25.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01079/0.8999, allocations: 4.381 MB / 0.7653 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00396/0.9039, allocations: 1.443 MB / 0.7667 GB, free: 25.22 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007341/0.9113, allocations: 1.751 MB / 0.7684 GB, free: 25.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004794/0.9161, allocations: 1.294 MB / 0.7697 GB, free: 24.87 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006188/0.9167, allocations: 170.8 kB / 0.7698 GB, free: 24.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004517/0.9212, allocations: 1.24 MB / 0.7711 GB, free: 24.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005741/0.9218, allocations: 418.4 kB / 0.7715 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00232/0.9242, allocations: 0.9476 MB / 0.7724 GB, free: 24.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.935, allocations: 2.863 MB / 0.7752 GB, free: 24.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.9351, allocations: 0 / 0.7752 GB, free: 24.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9351, allocations: 0 / 0.7752 GB, free: 24.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.799e-05/0.9352, allocations: 1 kB / 0.7752 GB, free: 24.18 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.006521/0.9417, allocations: 2.101 MB / 0.7772 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.933e-05/0.9418, allocations: 9.156 kB / 0.7772 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.9435, allocations: 247 kB / 0.7775 GB, free: 23.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/0.9473, allocations: 1.464 MB / 0.7789 GB, free: 22.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.9474, allocations: 87.48 kB / 0.779 GB, free: 22.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/0.9477, allocations: 110.3 kB / 0.7791 GB, free: 22.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004574/0.9523, allocations: 1.397 MB / 0.7805 GB, free: 22.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.694e-05/0.9524, allocations: 9.344 kB / 0.7805 GB, free: 22.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.9526, allocations: 49 kB / 0.7805 GB, free: 22.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.135e-05/0.9527, allocations: 31.31 kB / 0.7805 GB, free: 22.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005014/0.9577, allocations: 1.079 MB / 0.7816 GB, free: 21.79 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.01307/0.9708, allocations: 6.654 MB / 0.7881 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.9739, allocations: 0.6279 MB / 0.7887 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.9754, allocations: 346.8 kB / 0.789 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/0.9758, allocations: 189.6 kB / 0.7892 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/0.9758, allocations: 45.17 kB / 0.7893 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 5.37e-06/0.9759, allocations: 0 / 0.7893 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67): time 0.01223/0.9881, allocations: 2.366 MB / 0.7916 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.9882, allocations: 166.7 kB / 0.7917 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003251/0.9915, allocations: 1.273 MB / 0.793 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.9917, allocations: 38.36 kB / 0.793 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000811/0.9925, allocations: 0.6494 MB / 0.7936 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004113/0.9929, allocations: 244.1 kB / 0.7939 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005534/0.9935, allocations: 186.2 kB / 0.7941 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.9937, allocations: 338.1 kB / 0.7944 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.9952, allocations: 348.6 kB / 0.7947 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.9973, allocations: 0.6908 MB / 0.7954 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003185/1, allocations: 0.9332 MB / 0.7963 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/1, allocations: 2.719 kB / 0.7963 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004478/1.005, allocations: 1.093 MB / 0.7974 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/1.005, allocations: 12.31 kB / 0.7974 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/1.005, allocations: 8.625 kB / 0.7974 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-05/1.005, allocations: 14.53 kB / 0.7974 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/1.007, allocations: 228.8 kB / 0.7976 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-05/1.007, allocations: 22.11 kB / 0.7976 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/1.009, allocations: 95.5 kB / 0.7977 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.01, allocations: 38.33 kB / 0.7978 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002237/1.012, allocations: 0.5912 MB / 0.7983 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001656/1.014, allocations: 0.6638 MB / 0.799 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002724/1.016, allocations: 0.8952 MB / 0.7999 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.866e-06/1.016, allocations: 2.75 kB / 0.7999 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.003838/1.02, allocations: 1.046 MB / 0.8009 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.02, allocations: 8.312 kB / 0.8009 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.02, allocations: 8.344 kB / 0.8009 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.02, allocations: 14.55 kB / 0.8009 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/1.022, allocations: 226.2 kB / 0.8011 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.501e-05/1.022, allocations: 19.48 kB / 0.8012 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/1.024, allocations: 85.47 kB / 0.8012 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/1.024, allocations: 55.16 kB / 0.8013 GB, free: 8.445 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.0003785/1.025, allocations: 241.1 kB / 0.8015 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004693/1.025, allocations: 138.1 kB / 0.8017 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/1.029, allocations: 0.9668 MB / 0.8026 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/1.029, allocations: 8.344 kB / 0.8026 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.029, allocations: 0 / 0.8026 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003038/1.032, allocations: 0.86 MB / 0.8034 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00734/1.04, allocations: 2.555 MB / 0.8059 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/1.04, allocations: 5.5 kB / 0.8059 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.041, allocations: 160.8 kB / 0.8061 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003227/1.041, allocations: 80.92 kB / 0.8062 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.728e-05/1.041, allocations: 24.34 kB / 0.8062 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008443/1.042, allocations: 1.156 MB / 0.8073 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.042, allocations: 13.38 kB / 0.8073 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005145/1.047, allocations: 1.546 MB / 0.8088 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.048, allocations: 326.6 kB / 0.8092 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/1.049, allocations: 19.56 kB / 0.8092 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009719/1.05, allocations: 67.3 kB / 0.8092 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/1.05, allocations: 66.08 kB / 0.8093 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/1.05, allocations: 32.27 kB / 0.8093 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001159/1.051, allocations: 0.8884 MB / 0.8102 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/1.051, allocations: 4 kB / 0.8102 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002063/1.053, allocations: 0.6428 MB / 0.8108 GB, free: 2.047 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.0007997/1.054, allocations: 374.5 kB / 0.8112 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002927/1.057, allocations: 1.334 MB / 0.8125 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.057, allocations: 0 / 0.8125 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009826/1.058, allocations: 449.6 kB / 0.8129 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/1.062, allocations: 0.8752 MB / 0.8138 GB, free: 8 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/1.066, allocations: 2.426 MB / 0.8161 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008047/1.067, allocations: 1.198 MB / 0.8173 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00151/1.069, allocations: 347.8 kB / 0.8176 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/1.069, allocations: 123.3 kB / 0.8178 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of SimCode: time 1.163e-06/1.069, allocations: 0 / 0.8178 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.05529/1.124, allocations: 32.78 MB / 0.8498 GB, free: 11.41 MB / 0.6231 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)