Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.832/2.832, allocations: 287.5 MB / 302.4 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 182 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000988/0.0009879, allocations: 89.33 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006709/0.0006711, allocations: 12.38 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2298, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.1006/0.3305, allocations: 69.47 MB / 1.046 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0288/0.3593, allocations: 14.07 MB / 1.06 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.3622, allocations: 55.62 kB / 1.06 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.3654, allocations: 0.5705 MB / 1.061 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00977/0.3753, allocations: 1.965 MB / 1.063 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005314/0.3806, allocations: 0.9855 MB / 1.064 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00983/0.3905, allocations: 4.777 MB / 1.068 GB, free: 128 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6922/1.083, allocations: 1.004 MB / 1.069 GB, free: 33.32 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/1.087, allocations: 1.283 MB / 1.07 GB, free: 33.32 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003557/1.091, allocations: 1.087 MB / 1.071 GB, free: 33.32 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005617/1.092, allocations: 55.78 kB / 1.072 GB, free: 33.32 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/1.097, allocations: 0.9375 MB / 1.072 GB, free: 33.32 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/1.098, allocations: 272.8 kB / 1.073 GB, free: 33.32 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/1.099, allocations: 355.9 kB / 1.073 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005916/1.105, allocations: 2.097 MB / 1.075 GB, free: 33.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.105, allocations: 4 kB / 1.075 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.607e-06/1.105, allocations: 0 / 1.075 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.735e-05/1.105, allocations: 0.7812 kB / 1.075 GB, free: 33.22 MB / 0.6823 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.006968/1.112, allocations: 1.803 MB / 1.077 GB, free: 32.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/1.112, allocations: 9.719 kB / 1.077 GB, free: 32.23 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006488/1.113, allocations: 146.6 kB / 1.077 GB, free: 32.19 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/1.114, allocations: 245.5 kB / 1.077 GB, free: 32.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005193/1.119, allocations: 1.437 MB / 1.079 GB, free: 31.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/1.12, allocations: 77 kB / 1.079 GB, free: 31.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/1.12, allocations: 109.3 kB / 1.079 GB, free: 31.74 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004095/1.124, allocations: 1.109 MB / 1.08 GB, free: 31.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/1.124, allocations: 4.438 kB / 1.08 GB, free: 31.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/1.124, allocations: 44.38 kB / 1.08 GB, free: 31.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.488e-05/1.124, allocations: 24.45 kB / 1.08 GB, free: 31.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003872/1.128, allocations: 0.9282 MB / 1.081 GB, free: 31.59 MB / 0.6823 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.01204/1.14, allocations: 4.92 MB / 1.086 GB, free: 29.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/1.143, allocations: 0.6416 MB / 1.086 GB, free: 29.37 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/1.145, allocations: 369 kB / 1.087 GB, free: 29.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000784/1.146, allocations: 0.8285 MB / 1.087 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/1.146, allocations: 38.34 kB / 1.088 GB, free: 28.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 4.128e-06/1.146, allocations: 2.625 kB / 1.088 GB, free: 28.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.009454/1.155, allocations: 1.524 MB / 1.089 GB, free: 28.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/1.155, allocations: 58.53 kB / 1.089 GB, free: 28.06 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/1.158, allocations: 1.195 MB / 1.09 GB, free: 27.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002908/1.159, allocations: 43.61 kB / 1.09 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007689/1.16, allocations: 0.6017 MB / 1.091 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000462/1.16, allocations: 220.2 kB / 1.091 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/1.16, allocations: 12.91 kB / 1.091 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/1.16, allocations: 334 kB / 1.091 GB, free: 27.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.162, allocations: 297.8 kB / 1.092 GB, free: 27.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/1.163, allocations: 0.5028 MB / 1.092 GB, free: 27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/1.165, allocations: 366 kB / 1.093 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/1.165, allocations: 2.906 kB / 1.093 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009025/1.174, allocations: 1.382 MB / 1.094 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/1.174, allocations: 193.8 kB / 1.094 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/1.174, allocations: 2.375 kB / 1.094 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/1.175, allocations: 169.5 kB / 1.094 GB, free: 26.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.177, allocations: 164.3 kB / 1.094 GB, free: 26.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/1.178, allocations: 0.7215 MB / 1.095 GB, free: 26.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/1.181, allocations: 171.9 kB / 1.095 GB, free: 26.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/1.181, allocations: 32.36 kB / 1.095 GB, free: 26.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.181, allocations: 3.469 kB / 1.095 GB, free: 26.04 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008519/1.19, allocations: 1.246 MB / 1.097 GB, free: 25.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/1.19, allocations: 3.359 kB / 1.097 GB, free: 25.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/1.191, allocations: 170.9 kB / 1.097 GB, free: 25.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.192, allocations: 171.8 kB / 1.097 GB, free: 25.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/1.194, allocations: 0.7278 MB / 1.098 GB, free: 25.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/1.196, allocations: 172.9 kB / 1.098 GB, free: 25.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/1.196, allocations: 31.97 kB / 1.098 GB, free: 25.38 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.001323/1.198, allocations: 419.7 kB / 1.098 GB, free: 25.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006/1.198, allocations: 133.6 kB / 1.098 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008557/1.207, allocations: 1.387 MB / 1.1 GB, free: 24.99 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.466e-05/1.207, allocations: 7.25 kB / 1.1 GB, free: 24.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.207, allocations: 0 / 1.1 GB, free: 24.99 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007881/1.215, allocations: 1.216 MB / 1.101 GB, free: 24.78 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008337/1.223, allocations: 2.358 MB / 1.103 GB, free: 24.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.223, allocations: 3.312 kB / 1.103 GB, free: 24.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009905/1.224, allocations: 119.1 kB / 1.103 GB, free: 24.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/1.226, allocations: 155.9 kB / 1.103 GB, free: 24.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/1.226, allocations: 21.28 kB / 1.103 GB, free: 24.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/1.227, allocations: 0.7215 MB / 1.104 GB, free: 23.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/1.227, allocations: 7.094 kB / 1.104 GB, free: 23.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005123/1.232, allocations: 1.452 MB / 1.106 GB, free: 23.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/1.234, allocations: 339.9 kB / 1.106 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/1.234, allocations: 19.88 kB / 1.106 GB, free: 23.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/1.236, allocations: 92.5 kB / 1.106 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/1.236, allocations: 51.22 kB / 1.106 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/1.236, allocations: 36.36 kB / 1.106 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002152/1.239, allocations: 0.8601 MB / 1.107 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.61e-07/1.239, allocations: 0 / 1.107 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004002/1.243, allocations: 0.7049 MB / 1.108 GB, free: 22.95 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00693/1.25, allocations: 2.311 MB / 1.11 GB, free: 22 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005031/1.255, allocations: 1.158 MB / 1.111 GB, free: 21.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.255, allocations: 10.73 kB / 1.111 GB, free: 21.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/1.257, allocations: 417.6 kB / 1.111 GB, free: 21.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007603/1.264, allocations: 0.7691 MB / 1.112 GB, free: 21.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03549/1.3, allocations: 8.347 MB / 1.12 GB, free: 19 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009449/1.301, allocations: 1.175 MB / 1.121 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002499/1.303, allocations: 302.1 kB / 1.122 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/1.305, allocations: 0.5129 MB / 1.122 GB, free: 18.19 MB / 0.6823 GB Notification: Performance of SimCode: time 9.71e-07/1.305, allocations: 0 / 1.122 GB, free: 18.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/1.422, allocations: 42.22 MB / 1.163 GB, free: 3.277 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003658/1.423, allocations: 248.7 kB / 1.164 GB, free: 2.949 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.573/5.996, allocations: 4 kB / 1.164 GB, free: 2.945 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)