Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_etaCar,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.001081/0.001081, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 195.5 kB / 16.53 MB, free: 6.668 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.83 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.262, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07731/0.3394, allocations: 75.25 MB / 1.126 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.3598, allocations: 15.16 MB / 1.141 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002703/0.3626, allocations: 67.62 kB / 1.141 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002697/0.3653, allocations: 0.8306 MB / 1.142 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007366/0.3727, allocations: 2.588 MB / 1.145 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.3762, allocations: 1.39 MB / 1.146 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00532/0.3816, allocations: 4.385 MB / 1.15 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.3837, allocations: 1.441 MB / 1.152 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.3871, allocations: 1.635 MB / 1.153 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.3891, allocations: 1.21 MB / 1.154 GB, free: 15.97 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003938/0.3895, allocations: 164 kB / 1.155 GB, free: 15.81 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.3925, allocations: 1.4 MB / 1.156 GB, free: 14.41 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005176/0.3931, allocations: 402.6 kB / 1.156 GB, free: 14.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.3944, allocations: 0.9021 MB / 1.157 GB, free: 13.11 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003863/0.3982, allocations: 2.828 MB / 1.16 GB, free: 10.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3983, allocations: 0 / 1.16 GB, free: 10.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3983, allocations: 0 / 1.16 GB, free: 10.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.932e-05/0.3983, allocations: 0 / 1.16 GB, free: 10.27 MB / 0.92 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.004004/0.4023, allocations: 2.081 MB / 1.162 GB, free: 8.129 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4024, allocations: 16.61 kB / 1.162 GB, free: 8.113 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002049/0.4026, allocations: 156 kB / 1.162 GB, free: 7.953 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000863/0.4035, allocations: 230.9 kB / 1.162 GB, free: 7.727 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.4059, allocations: 1.446 MB / 1.164 GB, free: 6.223 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.4059, allocations: 82 kB / 1.164 GB, free: 6.145 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.4061, allocations: 103.9 kB / 1.164 GB, free: 6.043 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.4081, allocations: 1.104 MB / 1.165 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.4081, allocations: 0 / 1.165 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.013e-05/0.4082, allocations: 43.92 kB / 1.165 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.4083, allocations: 32 kB / 1.165 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.4102, allocations: 0.8861 MB / 1.166 GB, free: 3.945 MB / 0.92 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.0065/0.4168, allocations: 4.942 MB / 1.171 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.4183, allocations: 0.6192 MB / 1.171 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/0.4191, allocations: 346.3 kB / 1.172 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006528/0.4197, allocations: 0.8355 MB / 1.173 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.4e-05/0.4198, allocations: 43.06 kB / 1.173 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.024e-06/0.4198, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007639/0.4275, allocations: 1.689 MB / 1.174 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.4275, allocations: 55.97 kB / 1.174 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.4294, allocations: 1.226 MB / 1.175 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.4295, allocations: 45.7 kB / 1.176 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/0.4301, allocations: 0.6026 MB / 1.176 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.4303, allocations: 220.9 kB / 1.176 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.4305, allocations: 154.5 kB / 1.176 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4307, allocations: 337.9 kB / 1.177 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.4313, allocations: 292.6 kB / 1.177 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.4324, allocations: 496.8 kB / 1.178 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.4339, allocations: 0.7129 MB / 1.178 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4339, allocations: 4 kB / 1.178 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005043/0.4389, allocations: 1.273 MB / 1.18 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4389, allocations: 5.719 kB / 1.18 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.439, allocations: 4 kB / 1.18 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.4395, allocations: 133.1 kB / 1.18 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/0.4402, allocations: 167.7 kB / 1.18 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008999/0.4411, allocations: 0.7045 MB / 1.18 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.4421, allocations: 119 kB / 1.181 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.4422, allocations: 28 kB / 1.181 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001036/0.4433, allocations: 0.5566 MB / 1.181 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008819/0.4442, allocations: 492.7 kB / 1.182 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001456/0.4456, allocations: 0.7088 MB / 1.182 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.4456, allocations: 0 / 1.182 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004928/0.4506, allocations: 1.269 MB / 1.184 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.4506, allocations: 4 kB / 1.184 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.4506, allocations: 4 kB / 1.184 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004862/0.4511, allocations: 152.9 kB / 1.184 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.4517, allocations: 155.8 kB / 1.184 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007938/0.4525, allocations: 0.7006 MB / 1.185 GB, free: 4 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.4535, allocations: 99.62 kB / 1.185 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.4537, allocations: 31.98 kB / 1.185 GB, free: 15.87 MB / 0.9512 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.4539, allocations: 236 kB / 1.185 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.4542, allocations: 138.2 kB / 1.185 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004997/0.4592, allocations: 1.271 MB / 1.186 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.4592, allocations: 12 kB / 1.186 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4592, allocations: 4 kB / 1.186 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004949/0.4642, allocations: 1.096 MB / 1.187 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.475, allocations: 2.614 MB / 1.19 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.475, allocations: 4 kB / 1.19 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008429/0.4759, allocations: 115.8 kB / 1.19 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008376/0.4767, allocations: 129.2 kB / 1.19 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/0.4768, allocations: 23.98 kB / 1.19 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008931/0.4858, allocations: 2.634 MB / 1.193 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.4858, allocations: 7.938 kB / 1.193 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008994/0.4948, allocations: 1.699 MB / 1.194 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009129/0.4957, allocations: 311.2 kB / 1.195 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003953/0.4962, allocations: 12 kB / 1.195 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.4977, allocations: 63.89 kB / 1.195 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.4979, allocations: 56.25 kB / 1.195 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.498, allocations: 31.98 kB / 1.195 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00233/0.5004, allocations: 0.8818 MB / 1.196 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.2e-07/0.5004, allocations: 0 / 1.196 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003269/0.5037, allocations: 0.7213 MB / 1.196 GB, free: 3.41 MB / 0.9512 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01064/0.5143, allocations: 2.597 MB / 1.199 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004628/0.519, allocations: 1.156 MB / 1.2 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.519, allocations: 0 / 1.2 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.5215, allocations: 0.5682 MB / 1.201 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006007/0.5275, allocations: 0.7958 MB / 1.201 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02416/0.5517, allocations: 10.48 MB / 1.212 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008492/0.5525, allocations: 1.179 MB / 1.213 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001368/0.5539, allocations: 308.6 kB / 1.213 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007762/0.5547, allocations: 0.5188 MB / 1.214 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of SimCode: time 8.71e-07/0.5547, allocations: 0 / 1.214 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6079/1.163, allocations: 42.36 MB / 1.255 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.8, allocations: 11.98 kB / 1.255 GB, free: 186.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)