Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") [/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.203/0.2037, allocations: 82.22 MB / 0.5941 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07147/0.2753, allocations: 72.36 MB / 0.6648 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01947/0.2948, allocations: 13.58 MB / 0.678 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003086/0.2979, allocations: 51.69 kB / 0.6781 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003128/0.3011, allocations: 0.7305 MB / 0.6788 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009238/0.3104, allocations: 2.345 MB / 0.6811 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.3146, allocations: 1.235 MB / 0.6823 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008588/0.3232, allocations: 5.716 MB / 0.6879 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/0.3257, allocations: 1.139 MB / 0.689 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/0.3296, allocations: 1.408 MB / 0.6904 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.3324, allocations: 1.237 MB / 0.6916 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003804/0.3328, allocations: 60 kB / 0.6916 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/0.3367, allocations: 1.134 MB / 0.6927 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.424/0.7608, allocations: 298.3 kB / 0.693 GB, free: 33.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002182/0.763, allocations: 0.8398 MB / 0.6938 GB, free: 33.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004679/0.7677, allocations: 2.753 MB / 0.6965 GB, free: 33.69 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7677, allocations: 0.7031 kB / 0.6965 GB, free: 33.69 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7677, allocations: 0 / 0.6965 GB, free: 33.69 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.404e-05/0.7678, allocations: 0 / 0.6965 GB, free: 33.69 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.004041/0.7718, allocations: 1.795 MB / 0.6983 GB, free: 32.76 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.7719, allocations: 8.969 kB / 0.6983 GB, free: 32.76 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.7729, allocations: 258.1 kB / 0.6985 GB, free: 32.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.7755, allocations: 1.445 MB / 0.6999 GB, free: 32.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/0.7755, allocations: 88.09 kB / 0.7 GB, free: 32.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.7757, allocations: 113.1 kB / 0.7001 GB, free: 32.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002904/0.7786, allocations: 1.433 MB / 0.7015 GB, free: 31.94 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.7787, allocations: 6.469 kB / 0.7015 GB, free: 31.94 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.7788, allocations: 48.94 kB / 0.7016 GB, free: 31.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.181e-05/0.7788, allocations: 40.53 kB / 0.7016 GB, free: 31.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.7814, allocations: 1.133 MB / 0.7027 GB, free: 31.93 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.006813/0.7883, allocations: 6.675 MB / 0.7092 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.7901, allocations: 0.6974 MB / 0.7099 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.7908, allocations: 369.3 kB / 0.7103 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.791, allocations: 184.8 kB / 0.7105 GB, free: 27.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.791, allocations: 41.84 kB / 0.7105 GB, free: 27.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=64): time 3.417e-06/0.791, allocations: 0 / 0.7105 GB, free: 27.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.007343/0.7984, allocations: 2.726 MB / 0.7132 GB, free: 26.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.7985, allocations: 165.9 kB / 0.7133 GB, free: 26.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.8009, allocations: 1.249 MB / 0.7145 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.8011, allocations: 43.48 kB / 0.7146 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/0.8017, allocations: 0.6589 MB / 0.7152 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.8019, allocations: 243.7 kB / 0.7155 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.8021, allocations: 80.45 kB / 0.7155 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.8022, allocations: 339.1 kB / 0.7159 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009747/0.8032, allocations: 370.2 kB / 0.7162 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.8044, allocations: 0.7094 MB / 0.7169 GB, free: 25.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.8064, allocations: 0.9875 MB / 0.7179 GB, free: 25.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.8065, allocations: 6.188 kB / 0.7179 GB, free: 25.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003147/0.8096, allocations: 1.199 MB / 0.719 GB, free: 24.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.8098, allocations: 299.4 kB / 0.7193 GB, free: 24.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.8099, allocations: 9.906 kB / 0.7193 GB, free: 24.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000395/0.8103, allocations: 70.33 kB / 0.7194 GB, free: 24.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.8114, allocations: 239.5 kB / 0.7196 GB, free: 24.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004376/0.8118, allocations: 0.5933 MB / 0.7202 GB, free: 24.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.8136, allocations: 149.7 kB / 0.7204 GB, free: 24.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.8137, allocations: 42.36 kB / 0.7204 GB, free: 24.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.8137, allocations: 7.281 kB / 0.7204 GB, free: 24.1 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00206/0.8158, allocations: 0.9839 MB / 0.7214 GB, free: 24.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8158, allocations: 10.48 kB / 0.7214 GB, free: 24.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.8161, allocations: 66.06 kB / 0.7214 GB, free: 24.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007891/0.8169, allocations: 227.3 kB / 0.7217 GB, free: 24.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003491/0.8172, allocations: 0.6017 MB / 0.7222 GB, free: 23.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.8186, allocations: 136.1 kB / 0.7224 GB, free: 23.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.719e-05/0.8187, allocations: 46.89 kB / 0.7224 GB, free: 23.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0008321/0.8196, allocations: 436.9 kB / 0.7228 GB, free: 23.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.8198, allocations: 141.5 kB / 0.723 GB, free: 23.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.8225, allocations: 1.074 MB / 0.724 GB, free: 23.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.8225, allocations: 10.66 kB / 0.724 GB, free: 23.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.8225, allocations: 3.234 kB / 0.724 GB, free: 23.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002035/0.8245, allocations: 0.9722 MB / 0.725 GB, free: 22.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0049/0.8295, allocations: 2.675 MB / 0.7276 GB, free: 22.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.8295, allocations: 5.562 kB / 0.7276 GB, free: 22.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/0.8302, allocations: 162.9 kB / 0.7278 GB, free: 22.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/0.8307, allocations: 148.8 kB / 0.7279 GB, free: 22.35 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/0.8308, allocations: 29.31 kB / 0.7279 GB, free: 22.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000788/0.8316, allocations: 1.737 MB / 0.7296 GB, free: 20.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.8316, allocations: 8.281 kB / 0.7296 GB, free: 20.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/0.8349, allocations: 1.702 MB / 0.7313 GB, free: 20.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006468/0.8355, allocations: 334.2 kB / 0.7316 GB, free: 20.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.8358, allocations: 19.09 kB / 0.7316 GB, free: 20.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.837, allocations: 119.8 kB / 0.7317 GB, free: 20.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.8372, allocations: 64.41 kB / 0.7318 GB, free: 20.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.761e-05/0.8373, allocations: 40.62 kB / 0.7318 GB, free: 20.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00134/0.8386, allocations: 0.8761 MB / 0.7327 GB, free: 20.03 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8386, allocations: 0 / 0.7327 GB, free: 20.03 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002535/0.8412, allocations: 0.641 MB / 0.7333 GB, free: 20.01 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,6), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/0.8422, allocations: 391.8 kB / 0.7337 GB, free: 19.87 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003475/0.8457, allocations: 1.422 MB / 0.7351 GB, free: 19.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.8458, allocations: 0 / 0.7351 GB, free: 19.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.8471, allocations: 496.4 kB / 0.7356 GB, free: 19.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005832/0.8529, allocations: 0.8629 MB / 0.7364 GB, free: 19.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.8581, allocations: 3.016 MB / 0.7393 GB, free: 18.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008759/0.859, allocations: 1.197 MB / 0.7405 GB, free: 17.42 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002297/0.8613, allocations: 352.5 kB / 0.7408 GB, free: 17.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005126/0.8618, allocations: 120 kB / 0.741 GB, free: 17.32 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.8618, allocations: 0 / 0.741 GB, free: 17.32 MB / 0.5294 GB Notification: Performance of Templates: time 0.05886/0.9207, allocations: 32.24 MB / 0.7724 GB, free: 9.391 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: