Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_10_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.0007092/0.0007092, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004231/0.004231, allocations: 171.9 kB / 16.27 MB, free: 6.66 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.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 8 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4813, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06517/0.5465, allocations: 73.51 MB / 1.095 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.5645, allocations: 15.05 MB / 1.11 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.5664, allocations: 55.62 kB / 1.11 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.5684, allocations: 0.676 MB / 1.11 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005691/0.5741, allocations: 2.374 MB / 1.113 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.577, allocations: 1.284 MB / 1.114 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005635/0.5826, allocations: 5.566 MB / 1.119 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.5844, allocations: 1.151 MB / 1.12 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.5869, allocations: 1.326 MB / 1.122 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.589, allocations: 1.143 MB / 1.123 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002746/0.5893, allocations: 56 kB / 1.123 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.5919, allocations: 1.236 MB / 1.124 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003867/0.5923, allocations: 290.6 kB / 1.124 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.5934, allocations: 0.7984 MB / 1.125 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.5967, allocations: 2.722 MB / 1.128 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5967, allocations: 4 kB / 1.128 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5967, allocations: 0 / 1.128 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.404e-05/0.5968, allocations: 0 / 1.128 GB, free: 4.246 MB / 0.8731 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.003508/0.6003, allocations: 1.783 MB / 1.13 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.6004, allocations: 12.03 kB / 1.13 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002391/0.6006, allocations: 144.1 kB / 1.13 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008242/0.6014, allocations: 242.8 kB / 1.13 GB, free: 2 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.6038, allocations: 1.485 MB / 1.131 GB, free: 468 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.6039, allocations: 78 kB / 1.131 GB, free: 392 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.6041, allocations: 103.9 kB / 1.132 GB, free: 288 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.6061, allocations: 1.116 MB / 1.133 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.6061, allocations: 4 kB / 1.133 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.6062, allocations: 39.94 kB / 1.133 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.6063, allocations: 39.92 kB / 1.133 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.6083, allocations: 0.9252 MB / 1.134 GB, free: 14.12 MB / 0.8887 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.005369/0.6136, allocations: 4.927 MB / 1.138 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.6151, allocations: 0.6482 MB / 1.139 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.6158, allocations: 363.9 kB / 1.139 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/0.6164, allocations: 0.8238 MB / 1.14 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.6164, allocations: 39.12 kB / 1.14 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 1.853e-06/0.6164, allocations: 0 / 1.14 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.007418/0.6238, allocations: 1.904 MB / 1.142 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.6239, allocations: 59.97 kB / 1.142 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.6253, allocations: 1.206 MB / 1.143 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.6254, allocations: 45.7 kB / 1.143 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.6259, allocations: 0.6026 MB / 1.144 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.626, allocations: 213 kB / 1.144 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.6261, allocations: 65.67 kB / 1.144 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6262, allocations: 337.9 kB / 1.145 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006682/0.6269, allocations: 301.8 kB / 1.145 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008133/0.6277, allocations: 0.5085 MB / 1.145 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.6291, allocations: 0.7481 MB / 1.146 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.6291, allocations: 0 / 1.146 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004762/0.6339, allocations: 1.41 MB / 1.148 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.634, allocations: 198.3 kB / 1.148 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6341, allocations: 4 kB / 1.148 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.6346, allocations: 140.7 kB / 1.148 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.6352, allocations: 171.8 kB / 1.148 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008036/0.636, allocations: 0.7162 MB / 1.149 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.6371, allocations: 168.3 kB / 1.149 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.6372, allocations: 35.92 kB / 1.149 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.6372, allocations: 4 kB / 1.149 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004575/0.6418, allocations: 1.261 MB / 1.15 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6418, allocations: 4 kB / 1.15 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/0.6423, allocations: 141.1 kB / 1.15 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.6429, allocations: 171.7 kB / 1.15 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007649/0.6436, allocations: 0.72 MB / 1.151 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.6447, allocations: 155.5 kB / 1.151 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.6448, allocations: 35.98 kB / 1.151 GB, free: 11.22 MB / 0.9044 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.0005477/0.6453, allocations: 412.9 kB / 1.152 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.6455, allocations: 138.3 kB / 1.152 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/0.6504, allocations: 1.408 MB / 1.153 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.6505, allocations: 8 kB / 1.153 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6505, allocations: 4 kB / 1.153 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004325/0.6548, allocations: 1.24 MB / 1.154 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006436/0.6613, allocations: 2.735 MB / 1.157 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.6613, allocations: 4 kB / 1.157 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.6618, allocations: 120.2 kB / 1.157 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/0.6623, allocations: 144.7 kB / 1.157 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.6623, allocations: 23.98 kB / 1.157 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00471/0.667, allocations: 2.478 MB / 1.16 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.667, allocations: 4 kB / 1.16 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005349/0.6724, allocations: 1.855 MB / 1.162 GB, free: 272 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/0.6729, allocations: 343 kB / 1.162 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.6731, allocations: 16 kB / 1.162 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008981/0.674, allocations: 91.91 kB / 1.162 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.6741, allocations: 64.23 kB / 1.162 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.6741, allocations: 32.08 kB / 1.162 GB, free: 15.71 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001094/0.6752, allocations: 0.87 MB / 1.163 GB, free: 14.84 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6753, allocations: 0 / 1.163 GB, free: 14.84 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001652/0.6769, allocations: 0.7134 MB / 1.164 GB, free: 14.12 MB / 0.92 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.00628/0.6832, allocations: 2.735 MB / 1.166 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.6857, allocations: 1.168 MB / 1.168 GB, free: 10.16 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6857, allocations: 4 kB / 1.168 GB, free: 10.16 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.6873, allocations: 0.5994 MB / 1.168 GB, free: 9.543 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004082/0.6913, allocations: 0.7942 MB / 1.169 GB, free: 8.762 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02367/0.715, allocations: 11.21 MB / 1.18 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/0.7158, allocations: 1.179 MB / 1.181 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001162/0.7169, allocations: 307 kB / 1.181 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006981/0.7176, allocations: 0.5227 MB / 1.182 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of SimCode: time 7.61e-07/0.7176, allocations: 3.938 kB / 1.182 GB, free: 11 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.483/3.201, allocations: 42.51 MB / 1.223 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/3.201, allocations: 281.2 kB / 1.224 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/5.937, allocations: 0 / 1.224 GB, free: 0.6797 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)