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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009663/0.0009664, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007429/0.007429, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.237/1.237, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.127/2.127, allocations: 390.9 MB / 0.6664 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4888, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05871/0.5475, allocations: 73.51 MB / 1.027 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.5635, allocations: 15.04 MB / 1.042 GB, free: 6.539 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.5652, allocations: 59.56 kB / 1.042 GB, free: 6.48 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.5668, allocations: 0.676 MB / 1.042 GB, free: 5.801 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004916/0.5717, allocations: 2.376 MB / 1.045 GB, free: 3.414 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.5743, allocations: 1.274 MB / 1.046 GB, free: 2.152 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004959/0.5792, allocations: 5.566 MB / 1.051 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.5807, allocations: 1.163 MB / 1.052 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.5828, allocations: 1.318 MB / 1.054 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.5843, allocations: 1.155 MB / 1.055 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.5845, allocations: 56 kB / 1.055 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.5865, allocations: 1.236 MB / 1.056 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.5867, allocations: 294.6 kB / 1.056 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006619/0.5874, allocations: 0.7905 MB / 1.057 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.5896, allocations: 2.718 MB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5896, allocations: 0 / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.796e-06/0.5897, allocations: 0 / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.5897, allocations: 3.938 kB / 1.06 GB, free: 3.773 MB / 0.8106 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.002623/0.5923, allocations: 1.78 MB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.5923, allocations: 15.97 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.5925, allocations: 148.1 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006686/0.5932, allocations: 238.8 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.5951, allocations: 1.489 MB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.5951, allocations: 78 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.5953, allocations: 100 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.597, allocations: 1.127 MB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.5971, allocations: 3.906 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/0.5972, allocations: 40 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.5972, allocations: 24 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.5989, allocations: 0.9368 MB / 1.066 GB, free: 13.64 MB / 0.8262 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.00467/0.6036, allocations: 4.911 MB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.6049, allocations: 0.6355 MB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006709/0.6056, allocations: 370.3 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004908/0.6061, allocations: 0.8238 MB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.6061, allocations: 43.12 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 1.643e-06/0.6061, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.006954/0.6131, allocations: 1.904 MB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.6131, allocations: 59.97 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.6144, allocations: 1.21 MB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.6145, allocations: 37.7 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.6149, allocations: 0.6026 MB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.6151, allocations: 216.9 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.6151, allocations: 61.69 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.6152, allocations: 345.8 kB / 1.077 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/0.6159, allocations: 301.8 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007629/0.6166, allocations: 0.5124 MB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.618, allocations: 0.7519 MB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.618, allocations: 0 / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004484/0.6225, allocations: 1.41 MB / 1.08 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.864e-05/0.6226, allocations: 194.2 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6226, allocations: 4 kB / 1.08 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/0.6231, allocations: 148.7 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/0.6236, allocations: 171.8 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007297/0.6244, allocations: 0.7162 MB / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009173/0.6253, allocations: 171 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.6254, allocations: 31.98 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.6254, allocations: 5.406 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004317/0.6297, allocations: 1.253 MB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6297, allocations: 4 kB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/0.6302, allocations: 156.8 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.6307, allocations: 163.8 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006985/0.6314, allocations: 0.7163 MB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008733/0.6323, allocations: 161.2 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.6324, allocations: 28 kB / 1.083 GB, free: 10.75 MB / 0.8419 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.0004115/0.6328, allocations: 425.4 kB / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.6329, allocations: 130.4 kB / 1.084 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004594/0.6375, allocations: 1.404 MB / 1.085 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.6376, allocations: 7.984 kB / 1.085 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6376, allocations: 0 / 1.085 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004145/0.6417, allocations: 1.236 MB / 1.086 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/0.6476, allocations: 2.747 MB / 1.089 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.6476, allocations: 4 kB / 1.089 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.648, allocations: 119.9 kB / 1.089 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/0.6485, allocations: 140.9 kB / 1.089 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.6485, allocations: 16 kB / 1.089 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004396/0.6529, allocations: 2.482 MB / 1.092 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.6529, allocations: 7.938 kB / 1.092 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005023/0.658, allocations: 1.859 MB / 1.094 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.6583, allocations: 331 kB / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.6585, allocations: 20 kB / 1.094 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/0.6593, allocations: 99.53 kB / 1.094 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/0.6594, allocations: 64.23 kB / 1.094 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.6595, allocations: 27.98 kB / 1.094 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009587/0.6604, allocations: 0.8701 MB / 1.095 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6605, allocations: 0 / 1.095 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001399/0.6619, allocations: 0.7135 MB / 1.096 GB, free: 13.66 MB / 0.8575 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.005866/0.6677, allocations: 2.728 MB / 1.098 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002215/0.67, allocations: 1.168 MB / 1.1 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.67, allocations: 4 kB / 1.1 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.6713, allocations: 0.5995 MB / 1.1 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/0.675, allocations: 0.7931 MB / 1.101 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/0.6962, allocations: 11.23 MB / 1.112 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.6969, allocations: 1.183 MB / 1.113 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009366/0.6978, allocations: 303 kB / 1.113 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006215/0.6984, allocations: 0.5149 MB / 1.114 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/0.6984, allocations: 0 / 1.114 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.224/2.922, allocations: 42.5 MB / 1.155 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/2.923, allocations: 285.6 kB / 1.156 GB, free: 192 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.594/7.516, allocations: 0 / 1.156 GB, free: 192 kB / 0.9044 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)