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.638/2.638, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001688/0.001688, allocations: 180 kB / 370.8 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.135/2.135, allocations: 205.4 MB / 0.6295 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.001172/0.001172, allocations: 85.97 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004903, allocations: 16.77 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2189, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.09633/0.3153, allocations: 63.03 MB / 1.04 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02706/0.3424, allocations: 12.87 MB / 1.052 GB, free: 236 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002776/0.3452, allocations: 51.62 kB / 1.052 GB, free: 184 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003969/0.3493, allocations: 0.7385 MB / 1.053 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.3601, allocations: 2.355 MB / 1.055 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007164/0.3673, allocations: 1.538 MB / 1.057 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006446/0.3738, allocations: 2.488 MB / 1.059 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002472/0.3763, allocations: 1.025 MB / 1.06 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003772/0.3801, allocations: 1.168 MB / 1.062 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.3822, allocations: 0.7856 MB / 1.062 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002982/0.3825, allocations: 56 kB / 1.062 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.3861, allocations: 0.8386 MB / 1.063 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004883/0.3866, allocations: 258.9 kB / 1.063 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000726/0.3873, allocations: 356.9 kB / 1.064 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.3916, allocations: 2.014 MB / 1.066 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3916, allocations: 0 / 1.066 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3917, allocations: 0 / 1.066 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.984e-05/0.3917, allocations: 0 / 1.066 GB, free: 2.543 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.005263/0.397, allocations: 1.785 MB / 1.067 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.3971, allocations: 8.031 kB / 1.067 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003321/0.3974, allocations: 144 kB / 1.068 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.3987, allocations: 245.9 kB / 1.068 GB, free: 304 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6804/1.079, allocations: 1.355 MB / 1.069 GB, free: 91.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/1.079, allocations: 81.05 kB / 1.069 GB, free: 91.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/1.08, allocations: 103.3 kB / 1.069 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003891/1.083, allocations: 1.106 MB / 1.07 GB, free: 90.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-05/1.084, allocations: 3.344 kB / 1.07 GB, free: 90.74 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/1.084, allocations: 37.95 kB / 1.07 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-05/1.084, allocations: 26.77 kB / 1.071 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/1.087, allocations: 0.9317 MB / 1.071 GB, free: 90.41 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.01112/1.099, allocations: 4.959 MB / 1.076 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/1.101, allocations: 0.6412 MB / 1.077 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000773/1.102, allocations: 0.8284 MB / 1.078 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/1.102, allocations: 39.06 kB / 1.078 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.456e-06/1.102, allocations: 0 / 1.078 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.01427/1.117, allocations: 1.889 MB / 1.08 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.117, allocations: 58.62 kB / 1.08 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/1.12, allocations: 1.243 MB / 1.081 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002176/1.12, allocations: 43.58 kB / 1.081 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007545/1.121, allocations: 0.6033 MB / 1.081 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000368/1.121, allocations: 222.5 kB / 1.082 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/1.122, allocations: 15.38 kB / 1.082 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.122, allocations: 329.8 kB / 1.082 GB, free: 83.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/1.123, allocations: 297.3 kB / 1.082 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/1.125, allocations: 0.5022 MB / 1.083 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/1.126, allocations: 358.6 kB / 1.083 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/1.127, allocations: 9.094 kB / 1.083 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0122/1.139, allocations: 1.395 MB / 1.085 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000511/1.139, allocations: 1.419 MB / 1.086 GB, free: 81.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.274e-05/1.139, allocations: 3.406 kB / 1.086 GB, free: 81.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/1.142, allocations: 148.1 kB / 1.086 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/1.144, allocations: 165.7 kB / 1.086 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/1.146, allocations: 0.7155 MB / 1.087 GB, free: 80.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003962/1.15, allocations: 172.7 kB / 1.087 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003071/1.151, allocations: 36.19 kB / 1.087 GB, free: 80.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.151, allocations: 3.906 kB / 1.087 GB, free: 80.67 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01388/1.165, allocations: 1.245 MB / 1.088 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.165, allocations: 8.156 kB / 1.088 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/1.166, allocations: 147.8 kB / 1.088 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/1.168, allocations: 169.6 kB / 1.089 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/1.169, allocations: 0.7135 MB / 1.089 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/1.171, allocations: 171.4 kB / 1.089 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/1.171, allocations: 34.25 kB / 1.09 GB, free: 79.62 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.0009897/1.172, allocations: 420.4 kB / 1.09 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003864/1.173, allocations: 131.7 kB / 1.09 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008617/1.181, allocations: 1.399 MB / 1.091 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.511e-05/1.181, allocations: 11.55 kB / 1.091 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.181, allocations: 0 / 1.091 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008086/1.19, allocations: 1.229 MB / 1.093 GB, free: 78.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/1.202, allocations: 2.753 MB / 1.095 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/1.203, allocations: 8 kB / 1.095 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/1.204, allocations: 120.6 kB / 1.095 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008832/1.204, allocations: 140.3 kB / 1.096 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/1.205, allocations: 19 kB / 1.096 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00843/1.213, allocations: 2.558 MB / 1.098 GB, free: 75.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.213, allocations: 11.84 kB / 1.098 GB, free: 75.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009867/1.223, allocations: 2.053 MB / 1.1 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.224, allocations: 349.3 kB / 1.1 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002849/1.224, allocations: 16.98 kB / 1.1 GB, free: 73.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.226, allocations: 93.58 kB / 1.101 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/1.226, allocations: 66.72 kB / 1.101 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.226, allocations: 33.45 kB / 1.101 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001926/1.228, allocations: 0.8929 MB / 1.101 GB, free: 73.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/1.228, allocations: 0 / 1.101 GB, free: 73.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003079/1.231, allocations: 0.7179 MB / 1.102 GB, free: 73.43 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.01127/1.243, allocations: 3.858 MB / 1.106 GB, free: 70.92 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004531/1.247, allocations: 1.157 MB / 1.107 GB, free: 70.44 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.247, allocations: 1.062 kB / 1.107 GB, free: 70.44 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002707/1.25, allocations: 0.6003 MB / 1.108 GB, free: 70.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006476/1.257, allocations: 0.7632 MB / 1.108 GB, free: 69.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008874/1.266, allocations: 5.922 MB / 1.114 GB, free: 64.81 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008922/1.267, allocations: 1.205 MB / 1.115 GB, free: 63.86 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002214/1.269, allocations: 314.2 kB / 1.116 GB, free: 63.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/1.27, allocations: 0.507 MB / 1.116 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/1.27, allocations: 0 / 1.116 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/1.375, allocations: 42.23 MB / 1.157 GB, free: 27.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/1.375, allocations: 256.7 kB / 1.158 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.313/5.688, allocations: 0 / 1.158 GB, free: 26.85 MB / 0.6823 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)