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_etaPL.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_etaPL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",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.654/1.654, allocations: 288.2 MB / 303.2 MB, free: 8.043 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.001136/0.001136, allocations: 178.4 kB / 371.8 MB, free: 10.3 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.6/1.6, allocations: 205.4 MB / 0.6305 GB, free: 10.06 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.000867/0.000867, allocations: 98.8 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003973, allocations: 12.25 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2123, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05656/0.2689, allocations: 63.02 MB / 1.041 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01824/0.2872, allocations: 12.88 MB / 1.054 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.2895, allocations: 51.62 kB / 1.054 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.2923, allocations: 0.7423 MB / 1.054 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007809/0.3001, allocations: 2.351 MB / 1.057 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004777/0.3049, allocations: 1.545 MB / 1.058 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005153/0.3101, allocations: 2.481 MB / 1.061 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.3122, allocations: 1.029 MB / 1.062 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.3153, allocations: 1.168 MB / 1.063 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.3173, allocations: 0.7934 MB / 1.064 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003617/0.3177, allocations: 63.94 kB / 1.064 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.321, allocations: 0.8465 MB / 1.064 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.3214, allocations: 258.9 kB / 1.065 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009342/0.3224, allocations: 356.9 kB / 1.065 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.3262, allocations: 2.026 MB / 1.067 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3263, allocations: 0 / 1.067 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3263, allocations: 3.938 kB / 1.067 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.621e-05/0.3263, 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.3853/0.7116, allocations: 1.787 MB / 1.069 GB, free: 91.53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.7117, allocations: 10.06 kB / 1.069 GB, free: 91.53 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004783/0.7122, allocations: 147.5 kB / 1.069 GB, free: 91.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.7135, allocations: 243.1 kB / 1.069 GB, free: 91.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.7168, allocations: 1.377 MB / 1.07 GB, free: 90.92 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.303e-05/0.7169, allocations: 79.7 kB / 1.071 GB, free: 90.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/0.7172, allocations: 102.4 kB / 1.071 GB, free: 90.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.7195, allocations: 1.102 MB / 1.072 GB, free: 90.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.7196, allocations: 1.766 kB / 1.072 GB, free: 90.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.7196, allocations: 41.84 kB / 1.072 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.7197, allocations: 24.94 kB / 1.072 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.7216, allocations: 0.9329 MB / 1.073 GB, free: 90.03 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.007059/0.7287, allocations: 4.972 MB / 1.078 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.7304, allocations: 0.6452 MB / 1.078 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004979/0.731, allocations: 0.8341 MB / 1.079 GB, free: 85.47 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.731, allocations: 38.78 kB / 1.079 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 2.885e-06/0.731, allocations: 0 / 1.079 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.005712/0.7367, allocations: 1.51 MB / 1.08 GB, free: 84.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7368, allocations: 62.56 kB / 1.081 GB, free: 84.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.7393, allocations: 1.249 MB / 1.082 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.7395, allocations: 45.64 kB / 1.082 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006029/0.7401, allocations: 0.5993 MB / 1.082 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.7404, allocations: 223.5 kB / 1.083 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.7405, allocations: 14.41 kB / 1.083 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.7406, allocations: 333.7 kB / 1.083 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000779/0.7413, allocations: 300.1 kB / 1.083 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/0.7422, allocations: 0.4979 MB / 1.084 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008248/0.743, allocations: 367.1 kB / 1.084 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.743, allocations: 4.062 kB / 1.084 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005468/0.7485, allocations: 1.386 MB / 1.085 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002502/0.7488, allocations: 1.334 MB / 1.087 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.7488, allocations: 3.656 kB / 1.087 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007585/0.7496, allocations: 162 kB / 1.087 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007458/0.7504, allocations: 168.6 kB / 1.087 GB, free: 81.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009245/0.7513, allocations: 0.7282 MB / 1.088 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.7529, allocations: 173.1 kB / 1.088 GB, free: 80.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.7531, allocations: 34.48 kB / 1.088 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.7531, allocations: 4.484 kB / 1.088 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004977/0.7581, allocations: 1.244 MB / 1.089 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.7582, allocations: 4.281 kB / 1.089 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007481/0.7589, allocations: 161.4 kB / 1.089 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/0.7597, allocations: 167.8 kB / 1.089 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008656/0.7606, allocations: 0.7247 MB / 1.09 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.7623, allocations: 168 kB / 1.09 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.7625, allocations: 34.92 kB / 1.09 GB, free: 79.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009309/0.7634, allocations: 420.8 kB / 1.091 GB, free: 78.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004215/0.7639, allocations: 132.1 kB / 1.091 GB, free: 78.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005134/0.769, allocations: 1.39 MB / 1.092 GB, free: 78.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.889e-05/0.7691, allocations: 7.609 kB / 1.092 GB, free: 78.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.7691, allocations: 0 / 1.092 GB, free: 78.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004454/0.7735, allocations: 1.219 MB / 1.093 GB, free: 78.08 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/0.7793, allocations: 2.372 MB / 1.096 GB, free: 76.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.7794, allocations: 2.562 kB / 1.096 GB, free: 76.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.7799, allocations: 130.9 kB / 1.096 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006164/0.7806, allocations: 154.1 kB / 1.096 GB, free: 76.85 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.7806, allocations: 19.19 kB / 1.096 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007955/0.7814, allocations: 0.7236 MB / 1.097 GB, free: 76.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.7815, allocations: 8.469 kB / 1.097 GB, free: 76.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/0.7849, allocations: 1.657 MB / 1.098 GB, free: 75.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.7862, allocations: 354.8 kB / 1.099 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.7866, allocations: 15.95 kB / 1.099 GB, free: 74.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.7877, allocations: 93.58 kB / 1.099 GB, free: 74.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.7878, allocations: 56.12 kB / 1.099 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/0.7879, allocations: 34 kB / 1.099 GB, free: 74.86 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001501/0.7894, allocations: 0.9003 MB / 1.1 GB, free: 74.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7895, allocations: 0 / 1.1 GB, free: 74.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002544/0.792, allocations: 0.7144 MB / 1.101 GB, free: 74.36 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004317/0.7964, allocations: 3.474 MB / 1.104 GB, free: 71.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003045/0.7994, allocations: 1.174 MB / 1.105 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.7995, allocations: 0 / 1.105 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.8005, allocations: 416.5 kB / 1.105 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004325/0.8049, allocations: 0.7624 MB / 1.106 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007741/0.8127, allocations: 5.782 MB / 1.112 GB, free: 66.02 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008049/0.8135, allocations: 1.197 MB / 1.113 GB, free: 65.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001677/0.8152, allocations: 312 kB / 1.113 GB, free: 64.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000717/0.816, allocations: 0.5148 MB / 1.114 GB, free: 64.49 MB / 0.6823 GB Notification: Performance of SimCode: time 1.433e-06/0.816, allocations: 3.938 kB / 1.114 GB, free: 64.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06882/0.8848, allocations: 42.13 MB / 1.155 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/0.885, allocations: 257.9 kB / 1.155 GB, free: 29.15 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.377/4.262, allocations: 0 / 1.155 GB, free: 29.15 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)