Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_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.697/1.697, allocations: 288.4 MB / 303.3 MB, free: 8.105 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.001443/0.001443, allocations: 180.5 kB / 372 MB, free: 10.27 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.618/1.618, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0007703/0.0007705, allocations: 100.7 kB / 0.744 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.000437, allocations: 16.66 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2371, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04759/0.2847, allocations: 56.55 MB / 1.035 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01709/0.3019, allocations: 11.14 MB / 1.046 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.3043, allocations: 51.62 kB / 1.046 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.3062, allocations: 460.9 kB / 1.046 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.3116, allocations: 1.515 MB / 1.048 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.3148, allocations: 0.8782 MB / 1.049 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005341/0.3202, allocations: 3.393 MB / 1.052 GB, free: 1.395 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.3218, allocations: 0.7743 MB / 1.053 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.325, allocations: 1.05 MB / 1.054 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.3272, allocations: 0.8166 MB / 1.054 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.3273, allocations: 44 kB / 1.054 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.3302, allocations: 1.107 MB / 1.056 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.3304, allocations: 203 kB / 1.056 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005311/0.3309, allocations: 281 kB / 1.056 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.3332, allocations: 1.66 MB / 1.058 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3333, allocations: 0 / 1.058 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.647e-06/0.3333, allocations: 0 / 1.058 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.3333, allocations: 3.938 kB / 1.058 GB, free: 11.42 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002801/0.3361, allocations: 1.505 MB / 1.059 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3361, allocations: 8.031 kB / 1.059 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.3363, allocations: 122.7 kB / 1.059 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.3384, allocations: 473.9 kB / 1.06 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.3406, allocations: 1.101 MB / 1.061 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/0.341, allocations: 121.9 kB / 1.061 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3411, allocations: 84 kB / 1.061 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.3432, allocations: 1.003 MB / 1.062 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3432, allocations: 3.938 kB / 1.062 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.999e-05/0.3433, allocations: 35.94 kB / 1.062 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.3434, allocations: 23.94 kB / 1.062 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.3457, allocations: 0.9251 MB / 1.063 GB, free: 5.867 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.006881/0.3526, allocations: 4.627 MB / 1.067 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.506/0.8586, allocations: 0.942 MB / 1.068 GB, free: 90.58 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00222/0.8608, allocations: 341.2 kB / 1.069 GB, free: 90.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009812/0.8618, allocations: 0.9022 MB / 1.07 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.8619, allocations: 37.56 kB / 1.07 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 5.741e-06/0.8619, allocations: 1.656 kB / 1.07 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.01782/0.8798, allocations: 2.211 MB / 1.072 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.8799, allocations: 58.56 kB / 1.072 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.883, allocations: 1.053 MB / 1.073 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.8832, allocations: 33.55 kB / 1.073 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/0.8839, allocations: 0.5223 MB / 1.073 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.8841, allocations: 163.9 kB / 1.074 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.8842, allocations: 10.12 kB / 1.074 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.8843, allocations: 332.2 kB / 1.074 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/0.8863, allocations: 331.8 kB / 1.074 GB, free: 88.35 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.8885, allocations: 0.5301 MB / 1.075 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.8906, allocations: 368.2 kB / 1.075 GB, free: 87.94 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.8906, allocations: 1.344 kB / 1.075 GB, free: 87.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005721/0.8963, allocations: 1.078 MB / 1.076 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.8965, allocations: 190 kB / 1.076 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.8965, allocations: 4.688 kB / 1.076 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002511/0.8991, allocations: 333.2 kB / 1.077 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.9003, allocations: 137.1 kB / 1.077 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/0.9031, allocations: 0.9395 MB / 1.078 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/0.9059, allocations: 197.4 kB / 1.078 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.906, allocations: 30.52 kB / 1.078 GB, free: 86.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.9061, allocations: 4.594 kB / 1.078 GB, free: 86.56 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005256/0.9113, allocations: 0.9361 MB / 1.079 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.9114, allocations: 4.438 kB / 1.079 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/0.9138, allocations: 331.9 kB / 1.079 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.915, allocations: 138.3 kB / 1.079 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.9177, allocations: 0.9271 MB / 1.08 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.9202, allocations: 183.4 kB / 1.08 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.9204, allocations: 29.7 kB / 1.08 GB, free: 85.45 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009545/0.9214, allocations: 354 kB / 1.081 GB, free: 85.17 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.9217, allocations: 108.8 kB / 1.081 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007806/0.9295, allocations: 1.249 MB / 1.082 GB, free: 84.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/0.9296, allocations: 14.59 kB / 1.082 GB, free: 84.72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.9296, allocations: 0 / 1.082 GB, free: 84.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.9296, allocations: 3.812 kB / 1.082 GB, free: 84.72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.94, allocations: 2.341 MB / 1.084 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.9401, allocations: 3.094 kB / 1.084 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006625/0.9408, allocations: 82.41 kB / 1.084 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002084/0.9429, allocations: 331.8 kB / 1.085 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/0.943, allocations: 14.03 kB / 1.085 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.9456, allocations: 0.9691 MB / 1.086 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/0.9456, allocations: 10.62 kB / 1.086 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007566/0.9532, allocations: 1.315 MB / 1.087 GB, free: 82.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.9543, allocations: 287.6 kB / 1.087 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.9546, allocations: 13.91 kB / 1.087 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/0.9564, allocations: 110.5 kB / 1.087 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.9566, allocations: 44.75 kB / 1.087 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.9567, allocations: 29.53 kB / 1.087 GB, free: 82.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00225/0.959, allocations: 0.7366 MB / 1.088 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.959, allocations: 0 / 1.088 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002861/0.9619, allocations: 0.5673 MB / 1.089 GB, free: 81.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (38): * Single equations (assignments): 33 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.008686/0.9706, allocations: 2.131 MB / 1.091 GB, free: 80.56 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00661/0.9773, allocations: 1.207 MB / 1.092 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.9773, allocations: 8.047 kB / 1.092 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.9792, allocations: 387.7 kB / 1.092 GB, free: 80.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00526/0.9845, allocations: 0.5252 MB / 1.093 GB, free: 79.99 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/1.007, allocations: 6.944 MB / 1.1 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/1.008, allocations: 1.069 MB / 1.101 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00122/1.009, allocations: 238.6 kB / 1.101 GB, free: 75.74 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/1.009, allocations: 414.9 kB / 1.101 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of SimCode: time 9.02e-07/1.009, allocations: 0 / 1.101 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05261/1.062, allocations: 34.19 MB / 1.135 GB, free: 50.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/1.062, allocations: 264.1 kB / 1.135 GB, free: 50.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.031/4.093, allocations: 0 / 1.135 GB, free: 50.43 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)