Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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.1701/0.1709, allocations: 82.22 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05204/0.223, allocations: 58.81 MB / 0.6515 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.2376, allocations: 10.93 MB / 0.6622 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.2395, allocations: 51.62 kB / 0.6623 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.2412, allocations: 0.5595 MB / 0.6628 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.2461, allocations: 1.742 MB / 0.6645 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.2487, allocations: 0.9815 MB / 0.6655 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004472/0.2532, allocations: 3.951 MB / 0.6693 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.2545, allocations: 0.8936 MB / 0.6702 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.2571, allocations: 1.237 MB / 0.6714 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.2587, allocations: 0.9295 MB / 0.6723 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.2589, allocations: 48 kB / 0.6724 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.2611, allocations: 1.022 MB / 0.6734 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.2613, allocations: 234.8 kB / 0.6736 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007535/0.2621, allocations: 0.6623 MB / 0.6742 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.2647, allocations: 2.114 MB / 0.6763 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2647, allocations: 0 / 0.6763 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2647, allocations: 0 / 0.6763 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.2648, allocations: 0 / 0.6763 GB, free: 1.121 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00278/0.2676, allocations: 1.47 MB / 0.6777 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2676, allocations: 8.031 kB / 0.6777 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/0.2702, allocations: 498.8 kB / 0.6782 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.2723, allocations: 1.081 MB / 0.6793 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/0.2727, allocations: 137.9 kB / 0.6794 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.2728, allocations: 95.97 kB / 0.6795 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.2755, allocations: 1.288 MB / 0.6807 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2756, allocations: 0 / 0.6807 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/0.2757, allocations: 36 kB / 0.6808 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/0.2757, allocations: 35.94 kB / 0.6808 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002914/0.2786, allocations: 1.104 MB / 0.6819 GB, free: 11.19 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.006575/0.2852, allocations: 6.034 MB / 0.6878 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.2876, allocations: 0.7539 MB / 0.6885 GB, free: 4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007548/0.2883, allocations: 305.3 kB / 0.6888 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.2886, allocations: 263.8 kB / 0.6891 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.2887, allocations: 38.89 kB / 0.6891 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.2887, allocations: 0 / 0.6891 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40): time 0.01022/0.2989, allocations: 2.359 MB / 0.6914 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.299, allocations: 162.2 kB / 0.6916 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4277/0.7268, allocations: 1.118 MB / 0.6927 GB, free: 44.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.727, allocations: 37.3 kB / 0.6927 GB, free: 44.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005111/0.7275, allocations: 0.5801 MB / 0.6933 GB, free: 44.15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.7277, allocations: 144.5 kB / 0.6934 GB, free: 44.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.7278, allocations: 57.83 kB / 0.6935 GB, free: 44.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.7279, allocations: 331.9 kB / 0.6938 GB, free: 43.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.7292, allocations: 383.4 kB / 0.6941 GB, free: 43.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.7306, allocations: 0.7039 MB / 0.6948 GB, free: 43.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.7327, allocations: 0.8965 MB / 0.6957 GB, free: 43.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.7327, allocations: 2.688 kB / 0.6957 GB, free: 43.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003215/0.7359, allocations: 1.238 MB / 0.6969 GB, free: 43.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.7361, allocations: 289.9 kB / 0.6972 GB, free: 42.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.7361, allocations: 10.52 kB / 0.6972 GB, free: 42.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.7373, allocations: 374.6 kB / 0.6976 GB, free: 42.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.738, allocations: 164.1 kB / 0.6977 GB, free: 42.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.7396, allocations: 1.005 MB / 0.6987 GB, free: 42.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.7413, allocations: 249.8 kB / 0.6989 GB, free: 42.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.7414, allocations: 37.36 kB / 0.699 GB, free: 42.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.7414, allocations: 6.75 kB / 0.699 GB, free: 42.08 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002503/0.7439, allocations: 1.016 MB / 0.7 GB, free: 42.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.7439, allocations: 8.688 kB / 0.7 GB, free: 42.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009943/0.7449, allocations: 335 kB / 0.7003 GB, free: 42.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/0.7455, allocations: 165 kB / 0.7004 GB, free: 42.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.7469, allocations: 0.9421 MB / 0.7014 GB, free: 41.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.7484, allocations: 196.6 kB / 0.7016 GB, free: 41.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.7485, allocations: 35.89 kB / 0.7016 GB, free: 41.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (69): * Single equations (assignments): 68 * 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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0007528/0.7492, allocations: 367.8 kB / 0.7019 GB, free: 41.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.7495, allocations: 115 kB / 0.702 GB, free: 41.17 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004829/0.7543, allocations: 1.234 MB / 0.7033 GB, free: 41.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.7543, allocations: 9.703 kB / 0.7033 GB, free: 41.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.7543, allocations: 0 / 0.7033 GB, free: 41.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.7544, allocations: 2.016 kB / 0.7033 GB, free: 41.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/0.7606, allocations: 2.231 MB / 0.7054 GB, free: 40.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.7606, allocations: 6.938 kB / 0.7054 GB, free: 40.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.761, allocations: 76.31 kB / 0.7055 GB, free: 40.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.7622, allocations: 371.9 kB / 0.7059 GB, free: 40.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/0.7623, allocations: 15.62 kB / 0.7059 GB, free: 40.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.764, allocations: 0.9866 MB / 0.7069 GB, free: 40.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.764, allocations: 6.156 kB / 0.7069 GB, free: 40.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/0.7672, allocations: 1.083 MB / 0.7079 GB, free: 39.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000684/0.7679, allocations: 283.4 kB / 0.7082 GB, free: 39.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.768, allocations: 17.92 kB / 0.7082 GB, free: 39.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.7692, allocations: 125.5 kB / 0.7083 GB, free: 39.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.7693, allocations: 36.52 kB / 0.7084 GB, free: 39.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.11e-05/0.7694, allocations: 24.7 kB / 0.7084 GB, free: 39.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001793/0.7712, allocations: 0.7782 MB / 0.7091 GB, free: 39.44 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7712, allocations: 0 / 0.7091 GB, free: 39.44 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003048/0.7743, allocations: 0.5596 MB / 0.7097 GB, free: 39.39 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009145/0.7752, allocations: 272.2 kB / 0.71 GB, free: 39.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004742/0.78, allocations: 1.33 MB / 0.7112 GB, free: 39.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.78, allocations: 2.406 kB / 0.7113 GB, free: 39.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.7812, allocations: 378.4 kB / 0.7116 GB, free: 39.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/0.785, allocations: 0.558 MB / 0.7122 GB, free: 39.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006735/0.7917, allocations: 2.528 MB / 0.7146 GB, free: 38.01 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.7925, allocations: 1.058 MB / 0.7157 GB, free: 37.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001615/0.7941, allocations: 249.3 kB / 0.7159 GB, free: 37.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.7943, allocations: 85.97 kB / 0.716 GB, free: 37.23 MB / 0.5294 GB Notification: Performance of SimCode: time 9.61e-07/0.7944, allocations: 0 / 0.716 GB, free: 37.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.04625/0.8406, allocations: 25.36 MB / 0.7407 GB, free: 27.01 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: