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_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",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.176 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.001107/0.001107, allocations: 182.2 kB / 372 MB, free: 10.29 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.697/1.697, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0008305/0.0008301, allocations: 90.34 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004084, allocations: 12.09 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2377, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04632/0.2841, allocations: 56.55 MB / 1.035 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01728/0.3014, allocations: 11.13 MB / 1.046 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.3043, allocations: 51.62 kB / 1.046 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.3064, allocations: 464.9 kB / 1.046 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006093/0.3125, allocations: 1.51 MB / 1.048 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.316, allocations: 0.8899 MB / 1.049 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004956/0.321, allocations: 3.386 MB / 1.052 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.3227, allocations: 0.7821 MB / 1.053 GB, free: 0.6289 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.3254, allocations: 1.054 MB / 1.054 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.327, allocations: 0.8049 MB / 1.054 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.3271, allocations: 44 kB / 1.054 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.3297, allocations: 1.115 MB / 1.056 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.3299, allocations: 203 kB / 1.056 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.3304, allocations: 285.1 kB / 1.056 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.3327, allocations: 1.656 MB / 1.058 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3327, allocations: 0 / 1.058 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.514e-06/0.3327, allocations: 0 / 1.058 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.819e-05/0.3327, allocations: 0 / 1.058 GB, free: 11.46 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.002976/0.3357, allocations: 1.505 MB / 1.059 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.3358, allocations: 12.03 kB / 1.059 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.3359, allocations: 122.7 kB / 1.059 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.3377, allocations: 382 kB / 1.06 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.3399, allocations: 1.097 MB / 1.061 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/0.3403, allocations: 133.9 kB / 1.061 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.3404, allocations: 76 kB / 1.061 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.3423, allocations: 0.9644 MB / 1.062 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3424, allocations: 4 kB / 1.062 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.3424, allocations: 28 kB / 1.062 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.3425, allocations: 20 kB / 1.062 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.3445, allocations: 0.8626 MB / 1.063 GB, free: 6.102 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.006445/0.351, allocations: 4.528 MB / 1.067 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.3526, allocations: 0.629 MB / 1.068 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006371/0.3533, allocations: 302.5 kB / 1.068 GB, free: 336 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.509/0.8623, allocations: 1.387 MB / 1.069 GB, free: 89.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.8625, allocations: 38.52 kB / 1.069 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.779e-06/0.8625, allocations: 0.9375 kB / 1.069 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.0084/0.8709, allocations: 1.901 MB / 1.071 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.871, allocations: 59.16 kB / 1.071 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.873, allocations: 1.046 MB / 1.072 GB, free: 89.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.8731, allocations: 37.23 kB / 1.072 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.8736, allocations: 0.5227 MB / 1.073 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.8737, allocations: 163.7 kB / 1.073 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.8738, allocations: 14.22 kB / 1.073 GB, free: 88.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.8738, allocations: 328.5 kB / 1.073 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000826/0.8747, allocations: 298.4 kB / 1.074 GB, free: 88.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.8757, allocations: 0.4914 MB / 1.074 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/0.8766, allocations: 334.3 kB / 1.074 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.8766, allocations: 0.9375 kB / 1.074 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003904/0.8805, allocations: 1.176 MB / 1.076 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.8807, allocations: 197.5 kB / 1.076 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.8807, allocations: 4.656 kB / 1.076 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.8821, allocations: 325.4 kB / 1.076 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/0.8827, allocations: 125.4 kB / 1.076 GB, free: 87.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.8843, allocations: 0.9393 MB / 1.077 GB, free: 86.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.8858, allocations: 182.2 kB / 1.077 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.8859, allocations: 33.08 kB / 1.077 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.886, allocations: 4.875 kB / 1.077 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003551/0.8895, allocations: 1.032 MB / 1.078 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.8895, allocations: 4.828 kB / 1.078 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.8908, allocations: 324.6 kB / 1.079 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.8914, allocations: 125.2 kB / 1.079 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.893, allocations: 0.9293 MB / 1.08 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.8945, allocations: 161.9 kB / 1.08 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.8946, allocations: 29.11 kB / 1.08 GB, free: 85.68 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.0007131/0.8953, allocations: 348.7 kB / 1.08 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.8956, allocations: 116.3 kB / 1.08 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/0.9005, allocations: 1.194 MB / 1.082 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.9005, allocations: 5.797 kB / 1.082 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.9006, allocations: 1.656 kB / 1.082 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.9006, allocations: 5.812 kB / 1.082 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005991/0.9066, allocations: 2.212 MB / 1.084 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.9066, allocations: 4.094 kB / 1.084 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.9069, allocations: 65.19 kB / 1.084 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.9081, allocations: 336.5 kB / 1.084 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.9081, allocations: 17.12 kB / 1.084 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.9097, allocations: 0.9718 MB / 1.085 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.9097, allocations: 10.44 kB / 1.085 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.9136, allocations: 1.247 MB / 1.086 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007409/0.9143, allocations: 278.7 kB / 1.087 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.9145, allocations: 14 kB / 1.087 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009128/0.9154, allocations: 106.2 kB / 1.087 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.9155, allocations: 38.38 kB / 1.087 GB, free: 82.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.738e-05/0.9156, allocations: 23.72 kB / 1.087 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001443/0.9171, allocations: 0.7397 MB / 1.087 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.734e-06/0.9171, allocations: 0 / 1.087 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00204/0.9191, allocations: 0.5698 MB / 1.088 GB, free: 81.99 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 (37): * Single equations (assignments): 32 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.004642/0.9238, allocations: 2.054 MB / 1.09 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003276/0.9271, allocations: 1.094 MB / 1.091 GB, free: 80.58 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9271, allocations: 5.031 kB / 1.091 GB, free: 80.58 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009277/0.928, allocations: 356.7 kB / 1.091 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/0.9312, allocations: 0.5169 MB / 1.092 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.9469, allocations: 6.53 MB / 1.098 GB, free: 76.95 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/0.9477, allocations: 1.058 MB / 1.099 GB, free: 76.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001424/0.9491, allocations: 235.2 kB / 1.1 GB, free: 76.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.9496, allocations: 414.5 kB / 1.1 GB, free: 75.86 MB / 0.6823 GB Notification: Performance of SimCode: time 1.353e-06/0.9496, allocations: 0 / 1.1 GB, free: 75.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06279/1.012, allocations: 34.21 MB / 1.133 GB, free: 52.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/1.013, allocations: 278.4 kB / 1.134 GB, free: 51.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.086/4.098, allocations: 0 / 1.134 GB, free: 51.79 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)