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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008617/0.0008618, allocations: 92 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.004709/0.004709, allocations: 170.4 kB / 16.26 MB, free: 6.676 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.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.386/2.386, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.0002931, allocations: 12.5 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2253, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06297/0.2883, allocations: 73.51 MB / 1.131 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01645/0.3048, allocations: 15.04 MB / 1.145 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.3064, allocations: 55.62 kB / 1.145 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.308, allocations: 0.676 MB / 1.146 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.3131, allocations: 2.395 MB / 1.148 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.3156, allocations: 1.274 MB / 1.15 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005198/0.3208, allocations: 5.554 MB / 1.155 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.3224, allocations: 1.147 MB / 1.156 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.3246, allocations: 1.33 MB / 1.157 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.3261, allocations: 1.147 MB / 1.159 GB, free: 14.39 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.3263, allocations: 56 kB / 1.159 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.3285, allocations: 1.235 MB / 1.16 GB, free: 13.1 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.3288, allocations: 290.6 kB / 1.16 GB, free: 12.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007422/0.3295, allocations: 0.8061 MB / 1.161 GB, free: 12 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002396/0.3319, allocations: 2.706 MB / 1.163 GB, free: 9.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3319, allocations: 4 kB / 1.163 GB, free: 9.281 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3319, allocations: 0 / 1.163 GB, free: 9.281 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.332, allocations: 0 / 1.163 GB, free: 9.281 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.00271/0.3347, allocations: 1.787 MB / 1.165 GB, free: 7.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3347, allocations: 15.97 kB / 1.165 GB, free: 7.414 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.3349, allocations: 148.1 kB / 1.165 GB, free: 7.262 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006678/0.3355, allocations: 234.9 kB / 1.166 GB, free: 7.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.3375, allocations: 1.501 MB / 1.167 GB, free: 5.473 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.3376, allocations: 81.94 kB / 1.167 GB, free: 5.395 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.3377, allocations: 104 kB / 1.167 GB, free: 5.293 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.3395, allocations: 1.12 MB / 1.168 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.3395, allocations: 3.938 kB / 1.168 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/0.3396, allocations: 36 kB / 1.168 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.3396, allocations: 32 kB / 1.168 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.3414, allocations: 0.9329 MB / 1.169 GB, free: 3.133 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.004851/0.3463, allocations: 4.915 MB / 1.174 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.3476, allocations: 0.6431 MB / 1.175 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006807/0.3483, allocations: 370.3 kB / 1.175 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005401/0.3488, allocations: 0.8277 MB / 1.176 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.3488, allocations: 39.12 kB / 1.176 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 1.733e-06/0.3488, allocations: 4 kB / 1.176 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.006908/0.3558, allocations: 1.896 MB / 1.178 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.3558, allocations: 59.97 kB / 1.178 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.3571, allocations: 1.214 MB / 1.179 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/0.3572, allocations: 37.7 kB / 1.179 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.3576, allocations: 0.6065 MB / 1.18 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.3578, allocations: 220.9 kB / 1.18 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.3579, allocations: 57.69 kB / 1.18 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.358, allocations: 337.9 kB / 1.18 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006283/0.3586, allocations: 301.8 kB / 1.181 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007671/0.3594, allocations: 0.5153 MB / 1.181 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.3608, allocations: 0.7481 MB / 1.182 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3608, allocations: 0 / 1.182 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004463/0.3652, allocations: 1.41 MB / 1.183 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-05/0.3653, allocations: 195.7 kB / 1.183 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3654, allocations: 4 kB / 1.183 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/0.3659, allocations: 148.7 kB / 1.183 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.3664, allocations: 167.7 kB / 1.184 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007653/0.3672, allocations: 0.7162 MB / 1.184 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009378/0.3682, allocations: 171 kB / 1.185 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.3682, allocations: 27.98 kB / 1.185 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.469e-06/0.3682, allocations: 4 kB / 1.185 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004277/0.3725, allocations: 1.253 MB / 1.186 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3725, allocations: 7.938 kB / 1.186 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004415/0.373, allocations: 149.1 kB / 1.186 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/0.3735, allocations: 167.8 kB / 1.186 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007284/0.3743, allocations: 0.7161 MB / 1.187 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.3751, allocations: 164.6 kB / 1.187 GB, free: 280 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.3752, allocations: 35.98 kB / 1.187 GB, free: 244 kB / 0.9356 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.0004558/0.3757, allocations: 413 kB / 1.187 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.3758, allocations: 142.2 kB / 1.187 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/0.3803, allocations: 1.4 MB / 1.189 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.3804, allocations: 11.98 kB / 1.189 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3804, allocations: 0 / 1.189 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004096/0.3845, allocations: 1.232 MB / 1.19 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005906/0.3904, allocations: 2.754 MB / 1.193 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.3904, allocations: 4 kB / 1.193 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.3909, allocations: 124.2 kB / 1.193 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/0.3913, allocations: 144.7 kB / 1.193 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.3913, allocations: 16 kB / 1.193 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004443/0.3958, allocations: 2.482 MB / 1.195 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3958, allocations: 7.938 kB / 1.195 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005031/0.4008, allocations: 1.852 MB / 1.197 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.4012, allocations: 331.1 kB / 1.198 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.4014, allocations: 16 kB / 1.198 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008071/0.4022, allocations: 99.81 kB / 1.198 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4023, allocations: 60.34 kB / 1.198 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.4024, allocations: 35.92 kB / 1.198 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00103/0.4034, allocations: 0.8701 MB / 1.199 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4034, allocations: 4 kB / 1.199 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001536/0.405, allocations: 0.7096 MB / 1.199 GB, free: 3.137 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.005965/0.4109, allocations: 2.751 MB / 1.202 GB, free: 320 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002352/0.4133, allocations: 1.164 MB / 1.203 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.4133, allocations: 4 kB / 1.203 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.4147, allocations: 0.5994 MB / 1.204 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/0.4185, allocations: 0.7948 MB / 1.205 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/0.4404, allocations: 11.19 MB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.4411, allocations: 1.179 MB / 1.217 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00103/0.4421, allocations: 314.2 kB / 1.217 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006261/0.4428, allocations: 0.5188 MB / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.4428, allocations: 0 / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9489/1.392, allocations: 42.52 MB / 1.259 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/1.392, allocations: 275.2 kB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.449/5.841, allocations: 0 / 1.259 GB, free: 181.8 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)