Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_9_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.00546/0.00546, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001262/0.001262, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 72.05 kB / 0.9504 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2668, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07149/0.3384, allocations: 75.23 MB / 1.161 GB, free: 6.555 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01826/0.3567, allocations: 15.17 MB / 1.176 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.3588, allocations: 63.62 kB / 1.176 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.3609, allocations: 0.8345 MB / 1.177 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005795/0.3667, allocations: 2.586 MB / 1.179 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.3697, allocations: 1.4 MB / 1.181 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004528/0.3742, allocations: 4.389 MB / 1.185 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/0.376, allocations: 1.445 MB / 1.186 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/0.379, allocations: 1.643 MB / 1.188 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.3807, allocations: 1.214 MB / 1.189 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.381, allocations: 160 kB / 1.189 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.3835, allocations: 1.4 MB / 1.191 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004/0.3839, allocations: 402.5 kB / 1.191 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.3849, allocations: 0.906 MB / 1.192 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003457/0.3884, allocations: 2.856 MB / 1.195 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3884, allocations: 0 / 1.195 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3884, allocations: 0 / 1.195 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.129e-05/0.3885, allocations: 0 / 1.195 GB, free: 3.98 MB / 0.9512 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.003208/0.3917, allocations: 2.079 MB / 1.197 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3917, allocations: 11.97 kB / 1.197 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.3919, allocations: 152.1 kB / 1.197 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007384/0.3926, allocations: 230.7 kB / 1.197 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.3949, allocations: 1.524 MB / 1.199 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.395, allocations: 78 kB / 1.199 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.3951, allocations: 100 kB / 1.199 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.3969, allocations: 1.096 MB / 1.2 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.3969, allocations: 0 / 1.2 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/0.397, allocations: 44 kB / 1.2 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.397, allocations: 27.94 kB / 1.2 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.3988, allocations: 0.8978 MB / 1.201 GB, free: 13.59 MB / 0.9669 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.005144/0.404, allocations: 4.907 MB / 1.205 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.4053, allocations: 0.6159 MB / 1.206 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006679/0.406, allocations: 352.8 kB / 1.206 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/0.4065, allocations: 0.8238 MB / 1.207 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.4066, allocations: 47.06 kB / 1.207 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=61): time 2.074e-06/0.4066, allocations: 0 / 1.207 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=61): time 0.006968/0.4136, allocations: 1.689 MB / 1.209 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.4136, allocations: 63.91 kB / 1.209 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.4151, allocations: 1.23 MB / 1.21 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/0.4152, allocations: 41.7 kB / 1.21 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00048/0.4157, allocations: 0.5987 MB / 1.211 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.4159, allocations: 216.9 kB / 1.211 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.4161, allocations: 154.5 kB / 1.211 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.4162, allocations: 337.9 kB / 1.211 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.4169, allocations: 296.6 kB / 1.212 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008083/0.4177, allocations: 0.489 MB / 1.212 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.419, allocations: 0.709 MB / 1.213 GB, free: 348 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.419, allocations: 0 / 1.213 GB, free: 348 kB / 0.9669 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004563/0.4236, allocations: 1.269 MB / 1.214 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4236, allocations: 8 kB / 1.214 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.4237, allocations: 0 / 1.214 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/0.4242, allocations: 137.1 kB / 1.214 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.4248, allocations: 159.7 kB / 1.214 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008055/0.4256, allocations: 0.7122 MB / 1.215 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009431/0.4266, allocations: 115 kB / 1.215 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/0.4267, allocations: 31.98 kB / 1.215 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009853/0.4277, allocations: 0.5527 MB / 1.216 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007674/0.4284, allocations: 496.8 kB / 1.216 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001334/0.4298, allocations: 0.709 MB / 1.217 GB, free: 12 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.4298, allocations: 0 / 1.217 GB, free: 12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004508/0.4343, allocations: 1.261 MB / 1.218 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.4343, allocations: 7.938 kB / 1.218 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4343, allocations: 4 kB / 1.218 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004736/0.4348, allocations: 149 kB / 1.218 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.4354, allocations: 155.8 kB / 1.219 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007473/0.4362, allocations: 0.7006 MB / 1.219 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009481/0.4371, allocations: 107.4 kB / 1.219 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.4372, allocations: 28 kB / 1.219 GB, free: 9.555 MB / 0.9825 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.4374, allocations: 228 kB / 1.22 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.4377, allocations: 130.4 kB / 1.22 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/0.4422, allocations: 1.283 MB / 1.221 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.4422, allocations: 11.98 kB / 1.221 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4422, allocations: 0 / 1.221 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00408/0.4463, allocations: 1.103 MB / 1.222 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006315/0.4527, allocations: 2.606 MB / 1.225 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4527, allocations: 8.094 kB / 1.225 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004536/0.4531, allocations: 115.8 kB / 1.225 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/0.4536, allocations: 128.7 kB / 1.225 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.4537, allocations: 20 kB / 1.225 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004816/0.4585, allocations: 2.637 MB / 1.227 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.4585, allocations: 7.938 kB / 1.227 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00512/0.4636, allocations: 1.703 MB / 1.229 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004962/0.4641, allocations: 307.1 kB / 1.229 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.4643, allocations: 19.98 kB / 1.229 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007824/0.4651, allocations: 52 kB / 1.229 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.4653, allocations: 64.25 kB / 1.23 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.4653, allocations: 31.97 kB / 1.23 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001103/0.4664, allocations: 0.8779 MB / 1.23 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4664, allocations: 0 / 1.23 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001666/0.4681, allocations: 0.7213 MB / 1.231 GB, free: 13.1 MB / 0.9981 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.006128/0.4743, allocations: 2.598 MB / 1.234 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002534/0.4768, allocations: 1.117 MB / 1.235 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4768, allocations: 0 / 1.235 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.4783, allocations: 0.5682 MB / 1.235 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003423/0.4817, allocations: 0.789 MB / 1.236 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/0.5012, allocations: 9.824 MB / 1.246 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.502, allocations: 1.175 MB / 1.247 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001117/0.5031, allocations: 314.9 kB / 1.247 GB, free: 12.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006704/0.5038, allocations: 0.511 MB / 1.248 GB, free: 11.81 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/0.5038, allocations: 0 / 1.248 GB, free: 11.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6671/1.171, allocations: 42.59 MB / 1.289 GB, free: 158.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.67, allocations: 4.812 kB / 1.289 GB, free: 158.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)