Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.904/1.904, allocations: 288.2 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 188 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008931/0.000893, allocations: 94.86 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 11.31 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2221, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04324/0.2654, allocations: 51.35 MB / 1.03 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0173/0.2828, allocations: 10.22 MB / 1.04 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.2851, allocations: 55.62 kB / 1.04 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.2877, allocations: 0.6297 MB / 1.04 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006268/0.2939, allocations: 1.895 MB / 1.042 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004291/0.2983, allocations: 1.327 MB / 1.043 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003923/0.3022, allocations: 1.839 MB / 1.045 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.3038, allocations: 0.8018 MB / 1.046 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.3063, allocations: 0.9925 MB / 1.047 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.3075, allocations: 0.6027 MB / 1.048 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.3076, allocations: 44 kB / 1.048 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.3102, allocations: 1.014 MB / 1.049 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.3104, allocations: 199.1 kB / 1.049 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004409/0.3109, allocations: 277.1 kB / 1.049 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.3131, allocations: 1.602 MB / 1.051 GB, free: 2.621 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.3132, allocations: 7.938 kB / 1.051 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3132, allocations: 0 / 1.051 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.3132, allocations: 0 / 1.051 GB, free: 2.613 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003017/0.3162, allocations: 1.486 MB / 1.052 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.3163, allocations: 8.031 kB / 1.052 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.3165, allocations: 122.7 kB / 1.052 GB, free: 0.9336 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.3181, allocations: 390 kB / 1.053 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.3202, allocations: 1.055 MB / 1.054 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/0.3205, allocations: 137.9 kB / 1.054 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.3207, allocations: 76 kB / 1.054 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.3226, allocations: 0.9605 MB / 1.055 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.3227, allocations: 0 / 1.055 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.062e-05/0.3228, allocations: 35.98 kB / 1.055 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.3228, allocations: 20 kB / 1.055 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.3249, allocations: 0.8588 MB / 1.056 GB, free: 13.32 MB / 0.6823 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.006708/0.3317, allocations: 4.561 MB / 1.06 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.3334, allocations: 0.6443 MB / 1.061 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001482/0.3349, allocations: 1.396 MB / 1.062 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.335, allocations: 39 kB / 1.062 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.196e-06/0.335, allocations: 0 / 1.062 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.007901/0.3429, allocations: 1.889 MB / 1.064 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.343, allocations: 55.84 kB / 1.064 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.3446, allocations: 1.071 MB / 1.065 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.3447, allocations: 37.7 kB / 1.065 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/0.3452, allocations: 0.5196 MB / 1.066 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.3453, allocations: 165.7 kB / 1.066 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.3454, allocations: 8 kB / 1.066 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3455, allocations: 333.9 kB / 1.066 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007996/0.3463, allocations: 296.9 kB / 1.066 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.3474, allocations: 0.4884 MB / 1.067 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/0.3483, allocations: 328.6 kB / 1.067 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3483, allocations: 0 / 1.067 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.5236/0.8718, allocations: 1.16 MB / 1.068 GB, free: 90.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00034/0.8722, allocations: 1.412 MB / 1.07 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.8723, allocations: 4.219 kB / 1.07 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.8738, allocations: 331.5 kB / 1.07 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.8745, allocations: 119.6 kB / 1.07 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.8762, allocations: 0.9404 MB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.8777, allocations: 185.2 kB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.8778, allocations: 29.97 kB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.8778, allocations: 4.125 kB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00346/0.8813, allocations: 1.032 MB / 1.072 GB, free: 88.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.8813, allocations: 4.125 kB / 1.072 GB, free: 88.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.8826, allocations: 329.3 kB / 1.073 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/0.8832, allocations: 120.7 kB / 1.073 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.8848, allocations: 0.9351 MB / 1.074 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.8861, allocations: 157 kB / 1.074 GB, free: 87.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.173e-05/0.8862, allocations: 29.91 kB / 1.074 GB, free: 87.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006665/0.8869, allocations: 348.1 kB / 1.074 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/0.8872, allocations: 111.5 kB / 1.074 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/0.8919, allocations: 1.205 MB / 1.075 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-05/0.8919, allocations: 10.17 kB / 1.075 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.892, allocations: 0 / 1.075 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.892, allocations: 3.203 kB / 1.075 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006785/0.8988, allocations: 2.221 MB / 1.078 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.8988, allocations: 4.062 kB / 1.078 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.8991, allocations: 65.61 kB / 1.078 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.9004, allocations: 336 kB / 1.078 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.224e-05/0.9005, allocations: 19.88 kB / 1.078 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.9021, allocations: 0.9672 MB / 1.079 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.9022, allocations: 2.859 kB / 1.079 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/0.9065, allocations: 1.358 MB / 1.08 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007955/0.9073, allocations: 289.5 kB / 1.081 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.9075, allocations: 9.547 kB / 1.081 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009193/0.9084, allocations: 99.72 kB / 1.081 GB, free: 84.22 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.9085, allocations: 41.33 kB / 1.081 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.9086, allocations: 24.53 kB / 1.081 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001535/0.9102, allocations: 0.7501 MB / 1.081 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9102, allocations: 0.75 kB / 1.081 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002137/0.9123, allocations: 0.5786 MB / 1.082 GB, free: 83.79 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.004971/0.9173, allocations: 2.806 MB / 1.085 GB, free: 81.92 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003076/0.9204, allocations: 1.093 MB / 1.086 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.9204, allocations: 0 / 1.086 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008787/0.9213, allocations: 356.4 kB / 1.086 GB, free: 81.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/0.9239, allocations: 0.5219 MB / 1.087 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005946/0.9299, allocations: 5.22 MB / 1.092 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008182/0.9308, allocations: 1.089 MB / 1.093 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001353/0.9321, allocations: 229.1 kB / 1.093 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.9327, allocations: 419.4 kB / 1.093 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of SimCode: time 1.463e-06/0.9327, allocations: 1.156 kB / 1.093 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06725/0.9999, allocations: 33.9 MB / 1.127 GB, free: 58.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/1, allocations: 292.4 kB / 1.127 GB, free: 58.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.086/4.086, allocations: 2.391 kB / 1.127 GB, free: 58.23 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)