Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_11_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.00495/0.00495, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001418/0.001418, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.396/2.396, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 63.91 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5796/0.5817, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06611/0.6478, allocations: 75.24 MB / 1.294 GB, free: 6.543 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.017/0.6649, allocations: 15.17 MB / 1.308 GB, free: 7.332 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.6659, allocations: 63.62 kB / 1.309 GB, free: 7.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.6674, allocations: 0.8384 MB / 1.309 GB, free: 6.426 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004351/0.6718, allocations: 2.586 MB / 1.312 GB, free: 3.828 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.6742, allocations: 1.396 MB / 1.313 GB, free: 2.445 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003922/0.6782, allocations: 4.396 MB / 1.318 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.6797, allocations: 1.444 MB / 1.319 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.682, allocations: 1.636 MB / 1.321 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.6833, allocations: 1.214 MB / 1.322 GB, free: 9.699 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.6835, allocations: 164 kB / 1.322 GB, free: 9.539 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.6856, allocations: 1.4 MB / 1.323 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.6859, allocations: 402.6 kB / 1.324 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007468/0.6867, allocations: 0.9059 MB / 1.325 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.6895, allocations: 2.87 MB / 1.327 GB, free: 3.953 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.6895, allocations: 0 / 1.327 GB, free: 3.953 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6895, allocations: 0 / 1.327 GB, free: 3.953 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.6896, allocations: 4 kB / 1.327 GB, free: 3.949 MB / 1.045 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.002967/0.6925, allocations: 2.135 MB / 1.329 GB, free: 1.742 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.6926, allocations: 8.031 kB / 1.329 GB, free: 1.734 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.6927, allocations: 148.1 kB / 1.33 GB, free: 1.582 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006803/0.6934, allocations: 239.7 kB / 1.33 GB, free: 1.348 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.6955, allocations: 1.534 MB / 1.331 GB, free: 15.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.6956, allocations: 78 kB / 1.331 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.6957, allocations: 100 kB / 1.331 GB, free: 15.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.6975, allocations: 1.104 MB / 1.333 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.6975, allocations: 0 / 1.333 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.207e-05/0.6976, allocations: 40 kB / 1.333 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.6976, allocations: 28 kB / 1.333 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.6993, allocations: 0.89 MB / 1.333 GB, free: 13.48 MB / 1.061 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.005022/0.7044, allocations: 4.917 MB / 1.338 GB, free: 8.281 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.7057, allocations: 0.6158 MB / 1.339 GB, free: 7.656 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/0.7063, allocations: 354.8 kB / 1.339 GB, free: 7.309 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000597/0.7069, allocations: 0.8238 MB / 1.34 GB, free: 6.289 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.707, allocations: 43.12 kB / 1.34 GB, free: 6.238 MB / 1.061 GB Notification: Performance of pre-optimization done (n=61): time 1.563e-06/0.707, allocations: 0 / 1.34 GB, free: 6.238 MB / 1.061 GB Notification: Performance of matching and sorting (n=61): time 0.006369/0.7134, allocations: 1.694 MB / 1.342 GB, free: 4.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.7134, allocations: 59.91 kB / 1.342 GB, free: 4.449 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.7148, allocations: 1.23 MB / 1.343 GB, free: 3.203 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.7148, allocations: 41.7 kB / 1.343 GB, free: 3.156 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004884/0.7153, allocations: 0.6191 MB / 1.344 GB, free: 2.531 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.7155, allocations: 226.1 kB / 1.344 GB, free: 2.309 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.7157, allocations: 150.6 kB / 1.344 GB, free: 2.156 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7159, allocations: 337.9 kB / 1.344 GB, free: 1.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006185/0.7165, allocations: 292.6 kB / 1.345 GB, free: 1.531 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007803/0.7173, allocations: 0.489 MB / 1.345 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.7186, allocations: 0.7051 MB / 1.346 GB, free: 212 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.7186, allocations: 4 kB / 1.346 GB, free: 208 kB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00414/0.7227, allocations: 1.282 MB / 1.347 GB, free: 14.91 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.7227, allocations: 7.938 kB / 1.347 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.7228, allocations: 4 kB / 1.347 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000494/0.7233, allocations: 141 kB / 1.347 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.7238, allocations: 151.8 kB / 1.347 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007681/0.7246, allocations: 0.7122 MB / 1.348 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007224/0.7253, allocations: 127.3 kB / 1.348 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/0.7254, allocations: 35.98 kB / 1.348 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009107/0.7263, allocations: 0.5537 MB / 1.349 GB, free: 13.15 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007736/0.7271, allocations: 492.7 kB / 1.349 GB, free: 12.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001285/0.7284, allocations: 0.7051 MB / 1.35 GB, free: 11.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.7284, allocations: 4 kB / 1.35 GB, free: 11.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004123/0.7325, allocations: 1.274 MB / 1.351 GB, free: 10.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.7325, allocations: 8 kB / 1.351 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7325, allocations: 4 kB / 1.351 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004277/0.733, allocations: 148.7 kB / 1.351 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/0.7335, allocations: 151.8 kB / 1.351 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007345/0.7342, allocations: 0.7006 MB / 1.352 GB, free: 9.516 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/0.735, allocations: 103.6 kB / 1.352 GB, free: 9.414 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/0.735, allocations: 35.98 kB / 1.352 GB, free: 9.379 MB / 1.076 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.0001677/0.7352, allocations: 228 kB / 1.352 GB, free: 9.148 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.7354, allocations: 143.1 kB / 1.353 GB, free: 9.008 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.7396, allocations: 1.268 MB / 1.354 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.7396, allocations: 8 kB / 1.354 GB, free: 7.711 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7396, allocations: 0 / 1.354 GB, free: 7.711 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003721/0.7433, allocations: 1.099 MB / 1.355 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005568/0.7489, allocations: 2.625 MB / 1.357 GB, free: 3.844 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7489, allocations: 7.938 kB / 1.357 GB, free: 3.836 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.7493, allocations: 108.3 kB / 1.358 GB, free: 3.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/0.7498, allocations: 136.7 kB / 1.358 GB, free: 3.594 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.7498, allocations: 23.98 kB / 1.358 GB, free: 3.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004601/0.7544, allocations: 2.63 MB / 1.36 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.7544, allocations: 7.938 kB / 1.36 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/0.7591, allocations: 1.704 MB / 1.362 GB, free: 15.01 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/0.7595, allocations: 312 kB / 1.362 GB, free: 14.68 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.7597, allocations: 16 kB / 1.362 GB, free: 14.67 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006671/0.7603, allocations: 59.86 kB / 1.362 GB, free: 14.61 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.7605, allocations: 68.3 kB / 1.362 GB, free: 14.54 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.7605, allocations: 35.98 kB / 1.362 GB, free: 14.51 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001022/0.7615, allocations: 0.8818 MB / 1.363 GB, free: 13.62 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7615, allocations: 0 / 1.363 GB, free: 13.62 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001379/0.7629, allocations: 0.7174 MB / 1.364 GB, free: 12.91 MB / 1.092 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.005679/0.7686, allocations: 2.602 MB / 1.367 GB, free: 10.24 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.7709, allocations: 1.129 MB / 1.368 GB, free: 9.117 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7709, allocations: 0 / 1.368 GB, free: 9.117 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.7723, allocations: 0.5564 MB / 1.368 GB, free: 8.547 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/0.7752, allocations: 0.8014 MB / 1.369 GB, free: 7.766 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/0.7923, allocations: 9.856 MB / 1.379 GB, free: 13.61 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007161/0.7931, allocations: 1.183 MB / 1.38 GB, free: 12.4 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007892/0.7939, allocations: 307 kB / 1.38 GB, free: 12.09 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006189/0.7945, allocations: 0.5149 MB / 1.381 GB, free: 11.58 MB / 1.107 GB Notification: Performance of SimCode: time 2.51e-07/0.7945, allocations: 0 / 1.381 GB, free: 11.58 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.822/2.616, allocations: 42.61 MB / 1.422 GB, free: 1.512 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/19.16, allocations: 12 kB / 1.422 GB, free: 1.5 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)