Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_etaCar,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_11_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.001456/0.001456, allocations: 108 kB / 15.6 MB, free: 132 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.001367/0.001367, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.546/2.546, allocations: 469.8 MB / 0.7424 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 68.86 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2349, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06819/0.3031, allocations: 75.23 MB / 1.138 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01765/0.3208, allocations: 15.17 MB / 1.152 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009664/0.3218, allocations: 63.62 kB / 1.152 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.3233, allocations: 0.8345 MB / 1.153 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.3277, allocations: 2.591 MB / 1.156 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.3302, allocations: 1.38 MB / 1.157 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003855/0.334, allocations: 4.394 MB / 1.161 GB, free: 10.21 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.3355, allocations: 1.437 MB / 1.163 GB, free: 8.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.338, allocations: 1.637 MB / 1.164 GB, free: 7.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.3392, allocations: 1.214 MB / 1.166 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002108/0.3395, allocations: 163.9 kB / 1.166 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.3416, allocations: 1.4 MB / 1.167 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003325/0.3419, allocations: 398.6 kB / 1.167 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007948/0.3427, allocations: 0.9099 MB / 1.168 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.3455, allocations: 2.824 MB / 1.171 GB, free: 188 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3455, allocations: 4 kB / 1.171 GB, free: 184 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3455, allocations: 0 / 1.171 GB, free: 184 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.3456, allocations: 0 / 1.171 GB, free: 184 kB / 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.003087/0.3486, allocations: 2.083 MB / 1.173 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.3487, allocations: 8.031 kB / 1.173 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.3489, allocations: 148.1 kB / 1.173 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007151/0.3496, allocations: 234.7 kB / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.3516, allocations: 1.458 MB / 1.175 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.3517, allocations: 70 kB / 1.175 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.3518, allocations: 100 kB / 1.175 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.3536, allocations: 1.104 MB / 1.176 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.3536, allocations: 4 kB / 1.176 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.3537, allocations: 40 kB / 1.176 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.3538, allocations: 28 kB / 1.176 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.3555, allocations: 0.8939 MB / 1.177 GB, free: 9.855 MB / 0.9356 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.005261/0.3608, allocations: 4.938 MB / 1.182 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.3622, allocations: 0.6209 MB / 1.183 GB, free: 4 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/0.3628, allocations: 355.1 kB / 1.183 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000608/0.3635, allocations: 0.8238 MB / 1.184 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3635, allocations: 39.12 kB / 1.184 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 1.452e-06/0.3635, allocations: 0 / 1.184 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.006623/0.3701, allocations: 1.693 MB / 1.185 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3702, allocations: 67.91 kB / 1.185 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.3716, allocations: 1.23 MB / 1.187 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.3717, allocations: 37.7 kB / 1.187 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.3721, allocations: 0.6104 MB / 1.187 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.3723, allocations: 208.9 kB / 1.188 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.3725, allocations: 162.5 kB / 1.188 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3727, allocations: 337.9 kB / 1.188 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006321/0.3733, allocations: 288.7 kB / 1.188 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008072/0.3741, allocations: 0.4928 MB / 1.189 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.3755, allocations: 0.7168 MB / 1.189 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3755, allocations: 0 / 1.189 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004323/0.3798, allocations: 1.265 MB / 1.191 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3798, allocations: 12.06 kB / 1.191 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3799, allocations: 4 kB / 1.191 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/0.3804, allocations: 140.7 kB / 1.191 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.3809, allocations: 155.8 kB / 1.191 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007972/0.3817, allocations: 0.7044 MB / 1.192 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007704/0.3825, allocations: 128.8 kB / 1.192 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/0.3826, allocations: 31.98 kB / 1.192 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009188/0.3835, allocations: 0.5487 MB / 1.192 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007781/0.3843, allocations: 0.489 MB / 1.193 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001313/0.3856, allocations: 0.7011 MB / 1.194 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.3856, allocations: 0 / 1.194 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004281/0.3899, allocations: 1.262 MB / 1.195 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.3899, allocations: 12.03 kB / 1.195 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3899, allocations: 4 kB / 1.195 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004315/0.3904, allocations: 140.6 kB / 1.195 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.3909, allocations: 159.7 kB / 1.195 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007432/0.3916, allocations: 0.6929 MB / 1.196 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/0.3924, allocations: 115.4 kB / 1.196 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.3925, allocations: 27.98 kB / 1.196 GB, free: 5.777 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.0001811/0.3927, allocations: 236 kB / 1.196 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.3929, allocations: 134.3 kB / 1.196 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004318/0.3972, allocations: 1.264 MB / 1.197 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.3972, allocations: 7.984 kB / 1.197 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3972, allocations: 0 / 1.197 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003876/0.4011, allocations: 1.103 MB / 1.199 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005802/0.4069, allocations: 2.63 MB / 1.201 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.407, allocations: 4 kB / 1.201 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.4074, allocations: 111.8 kB / 1.201 GB, free: 124 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00042/0.4078, allocations: 128.9 kB / 1.201 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.4079, allocations: 23.94 kB / 1.201 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004712/0.4126, allocations: 2.622 MB / 1.204 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.4126, allocations: 4 kB / 1.204 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004879/0.4175, allocations: 1.703 MB / 1.206 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/0.4179, allocations: 319.1 kB / 1.206 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.418, allocations: 16.09 kB / 1.206 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006806/0.4187, allocations: 51.88 kB / 1.206 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4188, allocations: 64.36 kB / 1.206 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.4189, allocations: 31.98 kB / 1.206 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001048/0.4199, allocations: 0.8857 MB / 1.207 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4199, allocations: 0 / 1.207 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001452/0.4214, allocations: 0.7174 MB / 1.208 GB, free: 9.324 MB / 0.9669 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.005741/0.4271, allocations: 2.594 MB / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002431/0.4296, allocations: 1.156 MB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4296, allocations: 8.125 kB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.431, allocations: 0.568 MB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/0.4339, allocations: 0.7974 MB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/0.4519, allocations: 10.47 MB / 1.223 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/0.4526, allocations: 1.179 MB / 1.224 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009612/0.4536, allocations: 313.9 kB / 1.224 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006255/0.4542, allocations: 0.511 MB / 1.225 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.4542, allocations: 0 / 1.225 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.641/5.095, allocations: 42.37 MB / 1.266 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.86/23.96, allocations: 2.375 kB / 1.266 GB, free: 170.7 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)