Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.766/1.766, allocations: 288.4 MB / 303.3 MB, free: 8.18 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.0009895/0.0009898, allocations: 180.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0008592/0.0008592, allocations: 82.42 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004422, allocations: 11.84 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2664, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06826/0.3348, allocations: 69.46 MB / 1.047 GB, free: 5.902 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02126/0.3561, allocations: 14.09 MB / 1.061 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003521/0.3596, allocations: 51.62 kB / 1.061 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002838/0.3625, allocations: 0.5627 MB / 1.062 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009694/0.3723, allocations: 1.964 MB / 1.064 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.376, allocations: 0.9985 MB / 1.065 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.6465/1.022, allocations: 4.755 MB / 1.069 GB, free: 33.61 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003667/1.026, allocations: 1.015 MB / 1.07 GB, free: 33.52 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004863/1.031, allocations: 1.285 MB / 1.072 GB, free: 33.52 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003576/1.035, allocations: 1.084 MB / 1.073 GB, free: 33.52 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007478/1.036, allocations: 54.78 kB / 1.073 GB, free: 33.52 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004621/1.04, allocations: 0.942 MB / 1.074 GB, free: 33.51 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001078/1.041, allocations: 271.7 kB / 1.074 GB, free: 33.51 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00171/1.043, allocations: 359.2 kB / 1.074 GB, free: 33.48 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006396/1.049, allocations: 2.095 MB / 1.076 GB, free: 33.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/1.05, allocations: 1.188 kB / 1.076 GB, free: 33.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.697e-06/1.05, allocations: 0 / 1.076 GB, free: 33.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001473/1.05, allocations: 0 / 1.076 GB, free: 33.41 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.007946/1.058, allocations: 1.804 MB / 1.078 GB, free: 32.42 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.57e-05/1.058, allocations: 9.312 kB / 1.078 GB, free: 32.42 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008213/1.059, allocations: 146.4 kB / 1.078 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/1.06, allocations: 247.9 kB / 1.078 GB, free: 32.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/1.065, allocations: 1.443 MB / 1.08 GB, free: 31.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/1.065, allocations: 75.91 kB / 1.08 GB, free: 31.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/1.065, allocations: 102.2 kB / 1.08 GB, free: 31.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/1.068, allocations: 1.119 MB / 1.081 GB, free: 31.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/1.068, allocations: 0.7812 kB / 1.081 GB, free: 31.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.068, allocations: 44.14 kB / 1.081 GB, free: 31.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/1.068, allocations: 29.94 kB / 1.081 GB, free: 31.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/1.071, allocations: 0.9244 MB / 1.082 GB, free: 31.77 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.008471/1.079, allocations: 4.919 MB / 1.087 GB, free: 29.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/1.081, allocations: 0.6482 MB / 1.088 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009312/1.082, allocations: 365 kB / 1.088 GB, free: 29.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/1.083, allocations: 0.8364 MB / 1.089 GB, free: 28.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.083, allocations: 38.25 kB / 1.089 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 4.058e-06/1.083, allocations: 0 / 1.089 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.00571/1.088, allocations: 1.519 MB / 1.09 GB, free: 28.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/1.088, allocations: 62.08 kB / 1.09 GB, free: 28.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/1.091, allocations: 1.196 MB / 1.091 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/1.091, allocations: 43.02 kB / 1.091 GB, free: 28.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/1.092, allocations: 0.5958 MB / 1.092 GB, free: 27.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/1.092, allocations: 222.2 kB / 1.092 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/1.092, allocations: 13.53 kB / 1.092 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.647e-05/1.092, allocations: 330.5 kB / 1.093 GB, free: 27.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007428/1.093, allocations: 305.1 kB / 1.093 GB, free: 27.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008899/1.094, allocations: 0.5006 MB / 1.093 GB, free: 27.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008335/1.095, allocations: 362 kB / 1.094 GB, free: 27.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.095, allocations: 1.031 kB / 1.094 GB, free: 27.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005362/1.1, allocations: 1.397 MB / 1.095 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/1.1, allocations: 189.8 kB / 1.095 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.1, allocations: 7.062 kB / 1.095 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008285/1.101, allocations: 156.9 kB / 1.095 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/1.102, allocations: 169.5 kB / 1.096 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009328/1.103, allocations: 0.7228 MB / 1.096 GB, free: 26.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/1.105, allocations: 171.2 kB / 1.096 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/1.105, allocations: 30.53 kB / 1.096 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.105, allocations: 3.625 kB / 1.096 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005253/1.11, allocations: 1.25 MB / 1.098 GB, free: 26.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/1.11, allocations: 3.25 kB / 1.098 GB, free: 26.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009376/1.111, allocations: 158.2 kB / 1.098 GB, free: 26.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/1.112, allocations: 167.3 kB / 1.098 GB, free: 26.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/1.113, allocations: 0.7285 MB / 1.099 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/1.116, allocations: 167 kB / 1.099 GB, free: 25.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/1.116, allocations: 32.95 kB / 1.099 GB, free: 25.57 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.001333/1.117, allocations: 425.8 kB / 1.099 GB, free: 25.37 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006788/1.118, allocations: 130.9 kB / 1.099 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005828/1.124, allocations: 1.383 MB / 1.101 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-05/1.124, allocations: 7.016 kB / 1.101 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/1.124, allocations: 1.094 kB / 1.101 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004723/1.129, allocations: 1.22 MB / 1.102 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006097/1.135, allocations: 2.352 MB / 1.104 GB, free: 24.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.135, allocations: 2.312 kB / 1.104 GB, free: 24.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/1.135, allocations: 128.6 kB / 1.104 GB, free: 24.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007004/1.136, allocations: 157.5 kB / 1.105 GB, free: 24.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.501e-05/1.136, allocations: 25.78 kB / 1.105 GB, free: 24.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008324/1.137, allocations: 0.7219 MB / 1.105 GB, free: 23.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.137, allocations: 2.938 kB / 1.105 GB, free: 23.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/1.14, allocations: 1.455 MB / 1.107 GB, free: 23.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.142, allocations: 334.3 kB / 1.107 GB, free: 23.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006634/1.142, allocations: 25.69 kB / 1.107 GB, free: 23.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/1.144, allocations: 96.2 kB / 1.107 GB, free: 23.35 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.144, allocations: 52.36 kB / 1.107 GB, free: 23.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.144, allocations: 29.62 kB / 1.107 GB, free: 23.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002557/1.147, allocations: 0.8606 MB / 1.108 GB, free: 23.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.12e-07/1.147, allocations: 0 / 1.108 GB, free: 23.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004206/1.151, allocations: 0.7091 MB / 1.109 GB, free: 23.14 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.006155/1.157, allocations: 2.307 MB / 1.111 GB, free: 22.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003863/1.161, allocations: 1.168 MB / 1.112 GB, free: 22.15 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.161, allocations: 1.031 kB / 1.112 GB, free: 22.15 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/1.162, allocations: 415 kB / 1.113 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006065/1.168, allocations: 0.7813 MB / 1.113 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02895/1.197, allocations: 8.34 MB / 1.121 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.199, allocations: 1.178 MB / 1.123 GB, free: 18.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002178/1.201, allocations: 301.4 kB / 1.123 GB, free: 18.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/1.202, allocations: 0.5087 MB / 1.123 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of SimCode: time 1.252e-06/1.202, allocations: 0 / 1.123 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0814/1.284, allocations: 42.25 MB / 1.165 GB, free: 2.062 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/1.284, allocations: 256.6 kB / 1.165 GB, free: 1.711 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.597/4.881, allocations: 4.062 kB / 1.165 GB, free: 1.707 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)