Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_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.0009682/0.0009682, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.0072/0.0072, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.212/1.212, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.363/2.363, allocations: 462.7 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000556/0.000556, allocations: 12.36 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2517, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06566/0.3174, allocations: 73.51 MB / 1.131 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.3354, allocations: 15.04 MB / 1.145 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.3373, allocations: 55.62 kB / 1.145 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.3393, allocations: 0.676 MB / 1.146 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005784/0.3451, allocations: 2.395 MB / 1.148 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.3481, allocations: 1.274 MB / 1.15 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005914/0.354, allocations: 5.557 MB / 1.155 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.3558, allocations: 1.147 MB / 1.156 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.3583, allocations: 1.334 MB / 1.157 GB, free: 15.58 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.3602, allocations: 1.151 MB / 1.159 GB, free: 14.43 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.3604, allocations: 56 kB / 1.159 GB, free: 14.37 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.3631, allocations: 1.259 MB / 1.16 GB, free: 13.11 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/0.3635, allocations: 290.6 kB / 1.16 GB, free: 12.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.3646, allocations: 0.7983 MB / 1.161 GB, free: 12.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003206/0.3678, allocations: 2.726 MB / 1.164 GB, free: 9.281 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3678, allocations: 3.938 kB / 1.164 GB, free: 9.277 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3678, allocations: 0 / 1.164 GB, free: 9.277 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.3679, allocations: 0 / 1.164 GB, free: 9.277 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.003022/0.3709, allocations: 1.791 MB / 1.165 GB, free: 7.422 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3709, allocations: 15.97 kB / 1.165 GB, free: 7.406 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/0.3711, allocations: 148.1 kB / 1.165 GB, free: 7.254 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007313/0.3718, allocations: 234.9 kB / 1.166 GB, free: 7.023 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.374, allocations: 1.497 MB / 1.167 GB, free: 5.469 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.3741, allocations: 81.94 kB / 1.167 GB, free: 5.391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.3742, allocations: 104 kB / 1.167 GB, free: 5.289 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.3761, allocations: 1.124 MB / 1.168 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.3762, allocations: 3.938 kB / 1.168 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/0.3763, allocations: 36 kB / 1.168 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.3763, allocations: 35.98 kB / 1.168 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.3782, allocations: 0.929 MB / 1.169 GB, free: 3.125 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.005276/0.3835, allocations: 4.919 MB / 1.174 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.3849, allocations: 0.6436 MB / 1.175 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/0.3856, allocations: 370.3 kB / 1.175 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005855/0.3862, allocations: 0.8394 MB / 1.176 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.3863, allocations: 35.12 kB / 1.176 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 1.773e-06/0.3863, allocations: 4 kB / 1.176 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.004831/0.3911, allocations: 1.522 MB / 1.177 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.3912, allocations: 59.97 kB / 1.178 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.3926, allocations: 1.202 MB / 1.179 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.3927, allocations: 45.7 kB / 1.179 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.3931, allocations: 0.6104 MB / 1.179 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.3933, allocations: 212.9 kB / 1.18 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.323e-05/0.3934, allocations: 65.67 kB / 1.18 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3935, allocations: 333.9 kB / 1.18 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006865/0.3942, allocations: 305.8 kB / 1.18 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.3951, allocations: 0.5115 MB / 1.181 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.3965, allocations: 0.7471 MB / 1.181 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3965, allocations: 0 / 1.181 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004749/0.4013, allocations: 1.402 MB / 1.183 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.4014, allocations: 193.5 kB / 1.183 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.4014, allocations: 4 kB / 1.183 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/0.402, allocations: 160.7 kB / 1.183 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/0.4026, allocations: 163.8 kB / 1.183 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008299/0.4035, allocations: 0.7318 MB / 1.184 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009908/0.4045, allocations: 167.1 kB / 1.184 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.4046, allocations: 35.98 kB / 1.184 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/0.4046, allocations: 4 kB / 1.184 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00454/0.4091, allocations: 1.246 MB / 1.185 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4091, allocations: 4 kB / 1.185 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/0.4097, allocations: 161 kB / 1.186 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.4103, allocations: 159.8 kB / 1.186 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007991/0.4111, allocations: 0.7395 MB / 1.186 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009325/0.412, allocations: 157.1 kB / 1.187 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.4121, allocations: 31.98 kB / 1.187 GB, free: 0.5781 MB / 0.9356 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.0004464/0.4125, allocations: 417.9 kB / 1.187 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.4127, allocations: 134.3 kB / 1.187 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004764/0.4175, allocations: 1.4 MB / 1.189 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.4175, allocations: 8 kB / 1.189 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4175, allocations: 0 / 1.189 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004289/0.4218, allocations: 1.221 MB / 1.19 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/0.4255, allocations: 2.368 MB / 1.192 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4255, allocations: 4 kB / 1.192 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.4259, allocations: 119.8 kB / 1.192 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000533/0.4265, allocations: 157.1 kB / 1.192 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/0.4265, allocations: 16 kB / 1.192 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007779/0.4273, allocations: 0.7239 MB / 1.193 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.4273, allocations: 7.938 kB / 1.193 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.43, allocations: 1.462 MB / 1.195 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.4304, allocations: 343 kB / 1.195 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.4306, allocations: 12 kB / 1.195 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008775/0.4315, allocations: 94.72 kB / 1.195 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/0.4316, allocations: 64.19 kB / 1.195 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/0.4316, allocations: 31.97 kB / 1.195 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001077/0.4327, allocations: 0.8662 MB / 1.196 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4327, allocations: 0 / 1.196 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001572/0.4343, allocations: 0.7018 MB / 1.197 GB, free: 6.148 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003556/0.4379, allocations: 2.344 MB / 1.199 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002463/0.4403, allocations: 1.176 MB / 1.2 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4403, allocations: 0 / 1.2 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000901/0.4412, allocations: 419.2 kB / 1.2 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/0.4452, allocations: 0.7993 MB / 1.201 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/0.4685, allocations: 11.21 MB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.4692, allocations: 1.173 MB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001073/0.4703, allocations: 303 kB / 1.214 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/0.471, allocations: 0.5227 MB / 1.214 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/0.471, allocations: 4 kB / 1.214 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.032/2.503, allocations: 42.38 MB / 1.255 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/2.504, allocations: 285.7 kB / 1.256 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.736/6.239, allocations: 2.078 kB / 1.256 GB, free: 180.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)