Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.6/1.6, allocations: 288.4 MB / 303.6 MB, free: 8.188 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.001071/0.001071, allocations: 179.3 kB / 372.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0007393/0.0007393, allocations: 94.28 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 16.81 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1634, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06034/0.2237, allocations: 69.48 MB / 1.048 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.2391, allocations: 14.08 MB / 1.062 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.2406, allocations: 59.62 kB / 1.062 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.242, allocations: 0.5627 MB / 1.062 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004744/0.2467, allocations: 2.105 MB / 1.064 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.2495, allocations: 0.9928 MB / 1.065 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.3486/0.5981, allocations: 4.809 MB / 1.07 GB, free: 34.23 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.6001, allocations: 1.137 MB / 1.071 GB, free: 34.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002546/0.6027, allocations: 1.308 MB / 1.073 GB, free: 34.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.6043, allocations: 1.082 MB / 1.074 GB, free: 34.09 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.6045, allocations: 55.88 kB / 1.074 GB, free: 34.09 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.6073, allocations: 1.175 MB / 1.075 GB, free: 34.09 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.6077, allocations: 272.2 kB / 1.075 GB, free: 34.09 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.6088, allocations: 0.7656 MB / 1.076 GB, free: 34.05 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.612, allocations: 2.158 MB / 1.078 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.612, allocations: 0 / 1.078 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.593e-06/0.612, allocations: 1 kB / 1.078 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.852e-05/0.6121, allocations: 0 / 1.078 GB, free: 33.99 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.00365/0.6157, allocations: 1.778 MB / 1.08 GB, free: 33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.6158, allocations: 9.625 kB / 1.08 GB, free: 33 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.616, allocations: 151.1 kB / 1.08 GB, free: 32.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007516/0.6167, allocations: 242.2 kB / 1.08 GB, free: 32.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.619, allocations: 1.48 MB / 1.081 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/0.6191, allocations: 78.91 kB / 1.082 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.6192, allocations: 104.4 kB / 1.082 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.6213, allocations: 1.111 MB / 1.083 GB, free: 32.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.6213, allocations: 4.125 kB / 1.083 GB, free: 32.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-05/0.6214, allocations: 39.5 kB / 1.083 GB, free: 32.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.6214, allocations: 25.47 kB / 1.083 GB, free: 32.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.6233, allocations: 0.9212 MB / 1.084 GB, free: 32.3 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.005255/0.6286, allocations: 4.92 MB / 1.088 GB, free: 30.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.63, allocations: 0.6396 MB / 1.089 GB, free: 30.06 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007169/0.6308, allocations: 379 kB / 1.089 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004577/0.6312, allocations: 0.8224 MB / 1.09 GB, free: 29.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.6313, allocations: 47.22 kB / 1.09 GB, free: 29.06 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 2.594e-06/0.6313, allocations: 0 / 1.09 GB, free: 29.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.007144/0.6384, allocations: 1.896 MB / 1.092 GB, free: 28.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.6385, allocations: 57.22 kB / 1.092 GB, free: 28.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.6402, allocations: 1.192 MB / 1.093 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.6402, allocations: 40.36 kB / 1.093 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.6407, allocations: 0.6019 MB / 1.094 GB, free: 28.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.6408, allocations: 216.7 kB / 1.094 GB, free: 28.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.6409, allocations: 14.72 kB / 1.094 GB, free: 28.17 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/0.6409, allocations: 333 kB / 1.095 GB, free: 27.87 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.6416, allocations: 297.6 kB / 1.095 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000763/0.6424, allocations: 0.5106 MB / 1.095 GB, free: 27.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.6437, allocations: 0.7408 MB / 1.096 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.6437, allocations: 3.938 kB / 1.096 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004338/0.6481, allocations: 1.389 MB / 1.097 GB, free: 27.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/0.6481, allocations: 199.8 kB / 1.098 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6482, allocations: 4.031 kB / 1.098 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005281/0.6487, allocations: 143.2 kB / 1.098 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/0.6493, allocations: 171 kB / 1.098 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006528/0.6499, allocations: 0.7139 MB / 1.099 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.6512, allocations: 174.2 kB / 1.099 GB, free: 26.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.329e-05/0.6512, allocations: 28.08 kB / 1.099 GB, free: 26.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.762e-06/0.6513, allocations: 10.16 kB / 1.099 GB, free: 26.54 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004077/0.6553, allocations: 1.247 MB / 1.1 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6554, allocations: 6.562 kB / 1.1 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004361/0.6558, allocations: 150.2 kB / 1.1 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.6563, allocations: 165 kB / 1.1 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006076/0.657, allocations: 0.7167 MB / 1.101 GB, free: 25.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.6581, allocations: 165.8 kB / 1.101 GB, free: 25.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.6581, allocations: 37.5 kB / 1.101 GB, free: 25.89 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.0005887/0.6587, allocations: 416.6 kB / 1.102 GB, free: 25.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.6589, allocations: 142.4 kB / 1.102 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.6632, allocations: 1.399 MB / 1.103 GB, free: 25.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.6632, allocations: 6 kB / 1.103 GB, free: 25.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6632, allocations: 1 kB / 1.103 GB, free: 25.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003778/0.667, allocations: 1.234 MB / 1.104 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00579/0.6728, allocations: 2.731 MB / 1.107 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.6728, allocations: 3.156 kB / 1.107 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004445/0.6733, allocations: 122.6 kB / 1.107 GB, free: 24.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.6737, allocations: 136 kB / 1.107 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.6738, allocations: 18.92 kB / 1.107 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004072/0.6779, allocations: 2.493 MB / 1.11 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.6779, allocations: 7.25 kB / 1.11 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004757/0.6826, allocations: 1.836 MB / 1.111 GB, free: 22.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005134/0.6832, allocations: 332.5 kB / 1.112 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.6833, allocations: 27.95 kB / 1.112 GB, free: 22.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008249/0.6841, allocations: 88.16 kB / 1.112 GB, free: 22.69 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.6843, allocations: 59.27 kB / 1.112 GB, free: 22.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/0.6843, allocations: 36.2 kB / 1.112 GB, free: 22.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001063/0.6854, allocations: 0.8544 MB / 1.113 GB, free: 22.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6854, allocations: 0 / 1.113 GB, free: 22.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001815/0.6872, allocations: 0.7142 MB / 1.114 GB, free: 22.48 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.005754/0.693, allocations: 2.736 MB / 1.116 GB, free: 21.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.6954, allocations: 1.15 MB / 1.117 GB, free: 21.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.6954, allocations: 7.375 kB / 1.117 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.6967, allocations: 0.5977 MB / 1.118 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/0.7005, allocations: 0.7915 MB / 1.119 GB, free: 21.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/0.7174, allocations: 8.342 MB / 1.127 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/0.7181, allocations: 1.173 MB / 1.128 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001312/0.7194, allocations: 312.6 kB / 1.128 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000584/0.72, allocations: 0.5126 MB / 1.129 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of SimCode: time 7.32e-07/0.72, allocations: 0 / 1.129 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.212/1.932, allocations: 45.19 MB / 1.173 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/1.932, allocations: 263.3 kB / 1.173 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.14/6.072, allocations: 3.938 kB / 1.173 GB, free: 10.79 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)