Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_etaCar,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_10_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.001633/0.001633, allocations: 108 kB / 15.61 MB, free: 152 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.001741/0.001741, allocations: 195.1 kB / 16.53 MB, free: 6.699 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.89 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4985, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07366/0.5722, allocations: 75.24 MB / 1.091 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01974/0.592, allocations: 15.17 MB / 1.106 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/0.5941, allocations: 67.62 kB / 1.106 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.596, allocations: 0.8267 MB / 1.107 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005768/0.6018, allocations: 2.581 MB / 1.109 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.6047, allocations: 1.385 MB / 1.11 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004816/0.6095, allocations: 4.4 MB / 1.115 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.6113, allocations: 1.445 MB / 1.116 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/0.6144, allocations: 1.633 MB / 1.118 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.616, allocations: 1.202 MB / 1.119 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.6163, allocations: 160 kB / 1.119 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/0.6192, allocations: 1.4 MB / 1.12 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004262/0.6196, allocations: 398.6 kB / 1.121 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.6207, allocations: 0.9099 MB / 1.122 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003996/0.6247, allocations: 2.828 MB / 1.124 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6247, allocations: 0 / 1.124 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6247, allocations: 4 kB / 1.124 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.526e-05/0.6248, allocations: 0 / 1.124 GB, free: 4.449 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.003663/0.6284, allocations: 2.083 MB / 1.127 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.6285, allocations: 8.031 kB / 1.127 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.6287, allocations: 144.1 kB / 1.127 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007977/0.6295, allocations: 234.8 kB / 1.127 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.6318, allocations: 1.45 MB / 1.128 GB, free: 416 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.856e-05/0.6319, allocations: 78 kB / 1.128 GB, free: 340 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.632, allocations: 100 kB / 1.128 GB, free: 240 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.634, allocations: 1.104 MB / 1.13 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.634, allocations: 7.938 kB / 1.13 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-05/0.6341, allocations: 36 kB / 1.13 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/0.6341, allocations: 24 kB / 1.13 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.636, allocations: 0.8939 MB / 1.131 GB, free: 14.14 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.006196/0.6422, allocations: 4.943 MB / 1.135 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.6436, allocations: 0.6275 MB / 1.136 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006962/0.6443, allocations: 342.3 kB / 1.136 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006886/0.645, allocations: 0.8277 MB / 1.137 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.6451, allocations: 43.12 kB / 1.137 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 2.395e-06/0.6451, allocations: 0 / 1.137 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.007071/0.6521, allocations: 1.693 MB / 1.139 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.6522, allocations: 59.97 kB / 1.139 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.6539, allocations: 1.226 MB / 1.14 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.654, allocations: 45.64 kB / 1.14 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005482/0.6546, allocations: 0.6065 MB / 1.141 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.6548, allocations: 208.9 kB / 1.141 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.655, allocations: 154.6 kB / 1.141 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6552, allocations: 333.9 kB / 1.141 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000661/0.6558, allocations: 296.6 kB / 1.142 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008459/0.6567, allocations: 0.4928 MB / 1.142 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.6581, allocations: 0.7128 MB / 1.143 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6581, allocations: 0 / 1.143 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004616/0.6627, allocations: 1.273 MB / 1.144 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6628, allocations: 8 kB / 1.144 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6628, allocations: 4 kB / 1.144 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/0.6634, allocations: 133.1 kB / 1.144 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.6639, allocations: 155.8 kB / 1.144 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008476/0.6648, allocations: 0.7083 MB / 1.145 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009752/0.6658, allocations: 123.1 kB / 1.145 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.6658, allocations: 32 kB / 1.145 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001022/0.6669, allocations: 0.5526 MB / 1.146 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007964/0.6677, allocations: 496.7 kB / 1.146 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001352/0.669, allocations: 0.709 MB / 1.147 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.669, allocations: 3.938 kB / 1.147 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00441/0.6735, allocations: 1.265 MB / 1.148 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.6735, allocations: 9.094 kB / 1.148 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6735, allocations: 4 kB / 1.148 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004506/0.674, allocations: 141 kB / 1.148 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.6745, allocations: 159.8 kB / 1.148 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007787/0.6753, allocations: 0.6967 MB / 1.149 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008037/0.6761, allocations: 105.2 kB / 1.149 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/0.6762, allocations: 32 kB / 1.149 GB, free: 10.06 MB / 0.9044 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.0002164/0.6764, allocations: 231.1 kB / 1.149 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.6766, allocations: 142.3 kB / 1.15 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/0.6811, allocations: 1.264 MB / 1.151 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.6812, allocations: 8 kB / 1.151 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6812, allocations: 0 / 1.151 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004018/0.6852, allocations: 1.111 MB / 1.152 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006128/0.6914, allocations: 2.618 MB / 1.154 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.6914, allocations: 4 kB / 1.154 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.6918, allocations: 111.8 kB / 1.155 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/0.6923, allocations: 133.2 kB / 1.155 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.6923, allocations: 20 kB / 1.155 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005135/0.6974, allocations: 2.656 MB / 1.157 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.6975, allocations: 7.984 kB / 1.157 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005172/0.7027, allocations: 1.695 MB / 1.159 GB, free: 15.68 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/0.7031, allocations: 299.2 kB / 1.159 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.7033, allocations: 27.92 kB / 1.159 GB, free: 15.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007148/0.704, allocations: 55.88 kB / 1.159 GB, free: 15.28 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.7041, allocations: 56.38 kB / 1.159 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/0.7042, allocations: 35.97 kB / 1.159 GB, free: 15.19 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001187/0.7054, allocations: 0.8779 MB / 1.16 GB, free: 14.31 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7054, allocations: 0 / 1.16 GB, free: 14.31 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001674/0.7071, allocations: 0.7213 MB / 1.161 GB, free: 13.59 MB / 0.92 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.006114/0.7132, allocations: 2.594 MB / 1.164 GB, free: 10.93 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002624/0.7158, allocations: 1.156 MB / 1.165 GB, free: 9.77 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7159, allocations: 4 kB / 1.165 GB, free: 9.766 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.7173, allocations: 0.5603 MB / 1.165 GB, free: 9.191 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/0.7205, allocations: 0.8076 MB / 1.166 GB, free: 8.414 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.7393, allocations: 10.47 MB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007564/0.74, allocations: 1.175 MB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001048/0.7411, allocations: 310.9 kB / 1.178 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006478/0.7417, allocations: 0.5226 MB / 1.178 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/0.7418, allocations: 0 / 1.178 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.452/2.194, allocations: 42.36 MB / 1.22 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.38/23.57, allocations: 7.719 kB / 1.22 GB, free: 1.562 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)