Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008011/0.008011, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.353/2.353, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003696, allocations: 12 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5386/0.5389, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06687/0.6059, allocations: 73.51 MB / 1.095 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01785/0.6237, allocations: 15.05 MB / 1.11 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.6256, allocations: 55.62 kB / 1.11 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.6273, allocations: 0.676 MB / 1.11 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005457/0.6328, allocations: 2.38 MB / 1.113 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.6356, allocations: 1.276 MB / 1.114 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00558/0.6412, allocations: 5.547 MB / 1.119 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.643, allocations: 1.163 MB / 1.12 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.6454, allocations: 1.322 MB / 1.122 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.6469, allocations: 1.151 MB / 1.123 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.647, allocations: 56 kB / 1.123 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.6493, allocations: 1.259 MB / 1.124 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.6496, allocations: 290.6 kB / 1.124 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007615/0.6504, allocations: 0.8022 MB / 1.125 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002527/0.6529, allocations: 2.734 MB / 1.128 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6529, allocations: 0 / 1.128 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.615e-06/0.6529, allocations: 4 kB / 1.128 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.6529, allocations: 3.938 kB / 1.128 GB, free: 4.207 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002985/0.6559, allocations: 1.783 MB / 1.13 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.656, allocations: 12.03 kB / 1.13 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.6562, allocations: 148.1 kB / 1.13 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007432/0.6569, allocations: 242.8 kB / 1.13 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.6591, allocations: 1.489 MB / 1.131 GB, free: 420 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.6591, allocations: 74 kB / 1.132 GB, free: 348 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.6593, allocations: 103.9 kB / 1.132 GB, free: 244 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.6612, allocations: 1.12 MB / 1.133 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.6613, allocations: 4 kB / 1.133 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.089e-05/0.6614, allocations: 47.92 kB / 1.133 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.6614, allocations: 24 kB / 1.133 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.6633, allocations: 0.9368 MB / 1.134 GB, free: 14.07 MB / 0.8887 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.005224/0.6686, allocations: 4.911 MB / 1.139 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.67, allocations: 0.6508 MB / 1.139 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007414/0.6707, allocations: 374.3 kB / 1.14 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/0.6713, allocations: 0.8238 MB / 1.14 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.6713, allocations: 43.12 kB / 1.14 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=62): time 3.065e-06/0.6713, allocations: 3.984 kB / 1.14 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62): time 0.004879/0.6762, allocations: 1.526 MB / 1.142 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.6763, allocations: 55.97 kB / 1.142 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.6777, allocations: 1.214 MB / 1.143 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.294e-05/0.6778, allocations: 45.69 kB / 1.143 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/0.6783, allocations: 0.6026 MB / 1.144 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.6784, allocations: 209 kB / 1.144 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.6785, allocations: 65.67 kB / 1.144 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.6786, allocations: 337.9 kB / 1.144 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/0.6793, allocations: 301.8 kB / 1.145 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008362/0.6802, allocations: 0.5116 MB / 1.145 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.6816, allocations: 0.7433 MB / 1.146 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6817, allocations: 4 kB / 1.146 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004832/0.6865, allocations: 1.402 MB / 1.147 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.776e-05/0.6866, allocations: 189.5 kB / 1.147 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6866, allocations: 4 kB / 1.147 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.6873, allocations: 168.7 kB / 1.148 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.6879, allocations: 159.8 kB / 1.148 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008526/0.6887, allocations: 0.7395 MB / 1.148 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009968/0.6897, allocations: 170.3 kB / 1.149 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.6898, allocations: 35.98 kB / 1.149 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.042e-06/0.6898, allocations: 8 kB / 1.149 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004632/0.6945, allocations: 1.249 MB / 1.15 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.6945, allocations: 0 / 1.15 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/0.695, allocations: 161.1 kB / 1.15 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.6956, allocations: 163.8 kB / 1.15 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008138/0.6965, allocations: 0.7278 MB / 1.151 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009533/0.6974, allocations: 159.2 kB / 1.151 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.6975, allocations: 27.98 kB / 1.151 GB, free: 11.52 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004586/0.698, allocations: 421.7 kB / 1.151 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.6981, allocations: 134.3 kB / 1.152 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004914/0.7031, allocations: 1.397 MB / 1.153 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.7031, allocations: 8 kB / 1.153 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7031, allocations: 4 kB / 1.153 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004376/0.7075, allocations: 1.217 MB / 1.154 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003698/0.7112, allocations: 2.349 MB / 1.156 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.7112, allocations: 7.938 kB / 1.156 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/0.7117, allocations: 120.3 kB / 1.157 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005453/0.7122, allocations: 156.7 kB / 1.157 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/0.7123, allocations: 23.92 kB / 1.157 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007829/0.7131, allocations: 0.724 MB / 1.157 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.7131, allocations: 4 kB / 1.157 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.7158, allocations: 1.462 MB / 1.159 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.7162, allocations: 335.1 kB / 1.159 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.7164, allocations: 16 kB / 1.159 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008951/0.7173, allocations: 101.1 kB / 1.159 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.7174, allocations: 56.25 kB / 1.159 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.7175, allocations: 35.97 kB / 1.159 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001107/0.7186, allocations: 0.8701 MB / 1.16 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7186, allocations: 0 / 1.16 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001513/0.7201, allocations: 0.6979 MB / 1.161 GB, free: 1.117 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003686/0.7238, allocations: 2.349 MB / 1.163 GB, free: 14.7 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.7263, allocations: 1.172 MB / 1.164 GB, free: 13.53 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7263, allocations: 4 kB / 1.164 GB, free: 13.53 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009221/0.7273, allocations: 419.2 kB / 1.165 GB, free: 13.12 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/0.7314, allocations: 0.7996 MB / 1.166 GB, free: 12.33 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/0.7553, allocations: 11.23 MB / 1.176 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.7561, allocations: 1.169 MB / 1.178 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001154/0.7572, allocations: 311 kB / 1.178 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/0.7579, allocations: 0.5227 MB / 1.178 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.758, allocations: 0 / 1.178 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.391/3.149, allocations: 42.37 MB / 1.22 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/3.149, allocations: 269.3 kB / 1.22 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/6.336, allocations: 4 kB / 1.22 GB, free: 4.398 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)