Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.86/2.86, allocations: 287.5 MB / 302.4 MB, free: 8.254 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.001356/0.001356, allocations: 186 kB / 371 MB, free: 10.87 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.137/2.137, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001367/0.001367, allocations: 78.38 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006653/0.0006657, allocations: 12.56 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2373, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.1044/0.3417, allocations: 69.47 MB / 1.046 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0299/0.3717, allocations: 14.08 MB / 1.06 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.3745, allocations: 51.62 kB / 1.06 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.3778, allocations: 0.5705 MB / 1.061 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009109/0.387, allocations: 1.963 MB / 1.063 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004982/0.392, allocations: 0.9738 MB / 1.064 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009134/0.4012, allocations: 4.783 MB / 1.068 GB, free: 172 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7017/1.103, allocations: 1 MB / 1.069 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004937/1.108, allocations: 1.276 MB / 1.07 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003965/1.112, allocations: 1.085 MB / 1.071 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007798/1.113, allocations: 54.88 kB / 1.072 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00537/1.118, allocations: 0.9233 MB / 1.072 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/1.119, allocations: 271.2 kB / 1.073 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001403/1.121, allocations: 356.5 kB / 1.073 GB, free: 33.36 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006716/1.127, allocations: 2.081 MB / 1.075 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/1.128, allocations: 1 kB / 1.075 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.386e-06/1.128, allocations: 0 / 1.075 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001055/1.128, allocations: 0 / 1.075 GB, free: 33.29 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.007936/1.136, allocations: 1.8 MB / 1.077 GB, free: 32.31 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.868e-05/1.136, allocations: 9.547 kB / 1.077 GB, free: 32.31 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000841/1.137, allocations: 148.2 kB / 1.077 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/1.139, allocations: 242.2 kB / 1.077 GB, free: 32.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006075/1.145, allocations: 1.43 MB / 1.079 GB, free: 31.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/1.145, allocations: 78.83 kB / 1.079 GB, free: 31.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004279/1.145, allocations: 105.2 kB / 1.079 GB, free: 31.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/1.15, allocations: 1.114 MB / 1.08 GB, free: 31.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/1.15, allocations: 0 / 1.08 GB, free: 31.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/1.15, allocations: 37.31 kB / 1.08 GB, free: 31.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.031e-05/1.15, allocations: 31.95 kB / 1.08 GB, free: 31.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004046/1.154, allocations: 0.9225 MB / 1.081 GB, free: 31.67 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.01117/1.166, allocations: 4.913 MB / 1.086 GB, free: 29.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/1.168, allocations: 0.636 MB / 1.086 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/1.17, allocations: 368.4 kB / 1.087 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006907/1.17, allocations: 0.8277 MB / 1.087 GB, free: 28.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/1.17, allocations: 40.44 kB / 1.087 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.587e-06/1.17, allocations: 0 / 1.087 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.0134/1.184, allocations: 1.898 MB / 1.089 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.184, allocations: 60.89 kB / 1.089 GB, free: 28.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/1.187, allocations: 1.194 MB / 1.091 GB, free: 27.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002804/1.187, allocations: 38.11 kB / 1.091 GB, free: 27.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006858/1.188, allocations: 0.603 MB / 1.091 GB, free: 27.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/1.188, allocations: 220.2 kB / 1.091 GB, free: 27.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/1.188, allocations: 14.69 kB / 1.091 GB, free: 27.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/1.189, allocations: 336.7 kB / 1.092 GB, free: 27.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/1.19, allocations: 292.4 kB / 1.092 GB, free: 27.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/1.191, allocations: 0.5079 MB / 1.092 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/1.193, allocations: 358.4 kB / 1.093 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/1.193, allocations: 1.25 kB / 1.093 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009229/1.202, allocations: 1.393 MB / 1.094 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/1.202, allocations: 195 kB / 1.094 GB, free: 26.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.202, allocations: 8.266 kB / 1.094 GB, free: 26.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/1.203, allocations: 147.8 kB / 1.095 GB, free: 26.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/1.205, allocations: 167.1 kB / 1.095 GB, free: 26.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/1.206, allocations: 0.7186 MB / 1.095 GB, free: 26.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/1.209, allocations: 174.7 kB / 1.096 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/1.209, allocations: 29.34 kB / 1.096 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/1.209, allocations: 3.875 kB / 1.096 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008558/1.218, allocations: 1.246 MB / 1.097 GB, free: 26.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.218, allocations: 7.781 kB / 1.097 GB, free: 26.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009287/1.219, allocations: 148.9 kB / 1.097 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.22, allocations: 164 kB / 1.097 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/1.221, allocations: 0.7213 MB / 1.098 GB, free: 25.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.224, allocations: 164.7 kB / 1.098 GB, free: 25.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/1.224, allocations: 30.36 kB / 1.098 GB, free: 25.43 MB / 0.6823 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 (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 10} Notification: Performance of prepare postOptimizeDAE: time 0.001193/1.225, allocations: 423 kB / 1.098 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005038/1.226, allocations: 139.9 kB / 1.099 GB, free: 25.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008379/1.234, allocations: 1.398 MB / 1.1 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/1.234, allocations: 13.33 kB / 1.1 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.234, allocations: 0 / 1.1 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007682/1.242, allocations: 1.23 MB / 1.101 GB, free: 24.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/1.254, allocations: 2.731 MB / 1.104 GB, free: 24.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/1.254, allocations: 3.953 kB / 1.104 GB, free: 24.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009968/1.255, allocations: 125.3 kB / 1.104 GB, free: 24.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008249/1.256, allocations: 136.5 kB / 1.104 GB, free: 24.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.662e-05/1.256, allocations: 23.5 kB / 1.104 GB, free: 24.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007524/1.264, allocations: 2.497 MB / 1.106 GB, free: 22.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/1.264, allocations: 8.188 kB / 1.106 GB, free: 22.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009547/1.274, allocations: 1.842 MB / 1.108 GB, free: 22.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.275, allocations: 334.5 kB / 1.109 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/1.275, allocations: 15.08 kB / 1.109 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.277, allocations: 99.28 kB / 1.109 GB, free: 22.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/1.277, allocations: 58.56 kB / 1.109 GB, free: 22.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.277, allocations: 32.69 kB / 1.109 GB, free: 22.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002032/1.279, allocations: 0.8552 MB / 1.11 GB, free: 22.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/1.279, allocations: 0 / 1.11 GB, free: 22.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003578/1.283, allocations: 0.7073 MB / 1.11 GB, free: 22.01 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01106/1.294, allocations: 2.702 MB / 1.113 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004476/1.299, allocations: 1.162 MB / 1.114 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.299, allocations: 1.062 kB / 1.114 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002595/1.301, allocations: 0.6015 MB / 1.115 GB, free: 20.85 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007075/1.308, allocations: 0.7739 MB / 1.115 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03357/1.342, allocations: 8.331 MB / 1.124 GB, free: 17.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009737/1.343, allocations: 1.18 MB / 1.125 GB, free: 17.15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002429/1.346, allocations: 302.5 kB / 1.125 GB, free: 17.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.347, allocations: 0.5082 MB / 1.126 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of SimCode: time 1.283e-06/1.347, allocations: 0 / 1.126 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/1.464, allocations: 42.32 MB / 1.167 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004034/1.465, allocations: 253.5 kB / 1.167 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.239/5.704, allocations: 0 / 1.167 GB, free: 15.64 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)