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.761/1.761, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001172/0.001172, allocations: 183.5 kB / 371.8 MB, free: 10.28 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.639/1.639, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009459/0.000946, allocations: 104.3 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005493/0.0005494, allocations: 20.38 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2331, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06048/0.2936, allocations: 63.02 MB / 1.041 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02488/0.3185, allocations: 12.87 MB / 1.054 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/0.3215, allocations: 51.62 kB / 1.054 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003568/0.3251, allocations: 0.7462 MB / 1.054 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.336, allocations: 2.347 MB / 1.057 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007532/0.3436, allocations: 1.546 MB / 1.058 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00644/0.35, allocations: 2.487 MB / 1.061 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.3521, allocations: 1.033 MB / 1.062 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00266/0.3548, allocations: 1.156 MB / 1.063 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.3564, allocations: 0.7895 MB / 1.063 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003228/0.3568, allocations: 56 kB / 1.064 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.3592, allocations: 0.8386 MB / 1.064 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.3596, allocations: 266.9 kB / 1.065 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006013/0.3602, allocations: 352.9 kB / 1.065 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.3631, allocations: 2.018 MB / 1.067 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3631, allocations: 0 / 1.067 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3631, allocations: 4 kB / 1.067 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.492e-05/0.3632, allocations: 0 / 1.067 GB, free: 1.836 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.004061/0.3673, allocations: 1.772 MB / 1.069 GB, free: 0 / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.7602, allocations: 9.703 kB / 1.069 GB, free: 91.71 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004598/0.7607, allocations: 143.9 kB / 1.069 GB, free: 91.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.7618, allocations: 239.1 kB / 1.069 GB, free: 91.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.7647, allocations: 1.361 MB / 1.07 GB, free: 91.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-05/0.7648, allocations: 82.14 kB / 1.07 GB, free: 91.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.765, allocations: 107.1 kB / 1.071 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.7672, allocations: 1.108 MB / 1.072 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.7672, allocations: 1.375 kB / 1.072 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/0.7673, allocations: 36.25 kB / 1.072 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/0.7674, allocations: 29.3 kB / 1.072 GB, free: 90.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.7693, allocations: 0.9277 MB / 1.073 GB, free: 90.21 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.005943/0.7753, allocations: 4.962 MB / 1.077 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.7768, allocations: 0.6387 MB / 1.078 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004226/0.7772, allocations: 0.8285 MB / 1.079 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.7772, allocations: 40.14 kB / 1.079 GB, free: 85.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 2.875e-06/0.7772, allocations: 0 / 1.079 GB, free: 85.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.007577/0.7848, allocations: 1.886 MB / 1.081 GB, free: 85.15 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.7849, allocations: 58.33 kB / 1.081 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.7868, allocations: 1.243 MB / 1.082 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.7869, allocations: 44.36 kB / 1.082 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.7873, allocations: 0.5999 MB / 1.083 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.7875, allocations: 218.2 kB / 1.083 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.7875, allocations: 11.69 kB / 1.083 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.076e-05/0.7876, allocations: 336.2 kB / 1.083 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006674/0.7883, allocations: 301.8 kB / 1.083 GB, free: 83.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008141/0.7891, allocations: 0.5033 MB / 1.084 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007357/0.7899, allocations: 360.9 kB / 1.084 GB, free: 83.03 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.7899, allocations: 1.375 kB / 1.084 GB, free: 83.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004775/0.7946, allocations: 1.396 MB / 1.086 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002376/0.7949, allocations: 1.422 MB / 1.087 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.7949, allocations: 4.094 kB / 1.087 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005854/0.7955, allocations: 141 kB / 1.087 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/0.7961, allocations: 173.4 kB / 1.087 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007376/0.7969, allocations: 0.7114 MB / 1.088 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.7981, allocations: 178 kB / 1.088 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.7982, allocations: 34.8 kB / 1.088 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.854e-06/0.7982, allocations: 3.5 kB / 1.088 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00455/0.8028, allocations: 1.257 MB / 1.09 GB, free: 80.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8028, allocations: 4.453 kB / 1.09 GB, free: 80.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005277/0.8034, allocations: 144.9 kB / 1.09 GB, free: 80.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.804, allocations: 165.1 kB / 1.09 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007112/0.8047, allocations: 0.7141 MB / 1.091 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.806, allocations: 167.9 kB / 1.091 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/0.8061, allocations: 29.69 kB / 1.091 GB, free: 79.39 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.0007041/0.8068, allocations: 430.8 kB / 1.091 GB, free: 79.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.807, allocations: 131.3 kB / 1.091 GB, free: 78.99 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00478/0.8118, allocations: 1.392 MB / 1.093 GB, free: 78.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.8118, allocations: 12.16 kB / 1.093 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.8119, allocations: 4 kB / 1.093 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004241/0.8161, allocations: 1.233 MB / 1.094 GB, free: 78.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007945/0.8241, allocations: 2.756 MB / 1.096 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.8241, allocations: 7.703 kB / 1.097 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/0.8246, allocations: 121.8 kB / 1.097 GB, free: 76.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/0.8251, allocations: 140.1 kB / 1.097 GB, free: 76.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.8252, allocations: 27.55 kB / 1.097 GB, free: 76.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/0.8298, allocations: 2.544 MB / 1.099 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.8298, allocations: 2.812 kB / 1.099 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00535/0.8351, allocations: 2.057 MB / 1.101 GB, free: 73.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006982/0.8358, allocations: 350.5 kB / 1.102 GB, free: 73.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.836, allocations: 22.88 kB / 1.102 GB, free: 73.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008604/0.8369, allocations: 90.17 kB / 1.102 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.837, allocations: 57.27 kB / 1.102 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/0.8371, allocations: 28.69 kB / 1.102 GB, free: 73.37 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001202/0.8383, allocations: 0.9021 MB / 1.103 GB, free: 72.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8383, allocations: 4 kB / 1.103 GB, free: 72.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001894/0.8402, allocations: 0.7248 MB / 1.103 GB, free: 72.72 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.005984/0.8462, allocations: 3.857 MB / 1.107 GB, free: 69.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002707/0.8489, allocations: 1.162 MB / 1.108 GB, free: 69.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.8489, allocations: 1 kB / 1.108 GB, free: 69.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.8504, allocations: 0.5963 MB / 1.109 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/0.8539, allocations: 0.7681 MB / 1.11 GB, free: 68.69 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/0.8592, allocations: 5.923 MB / 1.115 GB, free: 63.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.8599, allocations: 1.201 MB / 1.117 GB, free: 62.81 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001439/0.8613, allocations: 305.9 kB / 1.117 GB, free: 62.67 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005888/0.8619, allocations: 0.5121 MB / 1.117 GB, free: 62.24 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/0.8619, allocations: 0 / 1.117 GB, free: 62.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05879/0.9207, allocations: 42.24 MB / 1.159 GB, free: 25.67 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.9209, allocations: 256.4 kB / 1.159 GB, free: 25.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.263/4.184, allocations: 0 / 1.159 GB, free: 25.31 MB / 0.6823 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)