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.854/1.854, allocations: 288.2 MB / 303.2 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.001176/0.001176, allocations: 173.1 kB / 371.8 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.567/1.567, 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.0009717/0.0009717, allocations: 95.41 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 15.67 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2405, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04496/0.2855, allocations: 51.36 MB / 1.03 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01572/0.3013, allocations: 10.23 MB / 1.04 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/0.3035, allocations: 47.62 kB / 1.04 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.3059, allocations: 0.618 MB / 1.04 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006925/0.3128, allocations: 1.905 MB / 1.042 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004994/0.3178, allocations: 1.325 MB / 1.043 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004707/0.3225, allocations: 1.851 MB / 1.045 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.3246, allocations: 0.7979 MB / 1.046 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003112/0.3277, allocations: 0.9847 MB / 1.047 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.3296, allocations: 0.6066 MB / 1.048 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000476/0.3301, allocations: 44 kB / 1.048 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.3335, allocations: 1.002 MB / 1.049 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005273/0.3341, allocations: 199.1 kB / 1.049 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009707/0.3351, allocations: 289 kB / 1.049 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003537/0.3386, allocations: 1.602 MB / 1.051 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3386, allocations: 0 / 1.051 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3387, allocations: 0 / 1.051 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.133e-05/0.3387, allocations: 0 / 1.051 GB, free: 2.605 MB / 0.6667 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.003865/0.3426, allocations: 1.481 MB / 1.052 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3427, allocations: 12.03 kB / 1.052 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003259/0.343, allocations: 126.6 kB / 1.052 GB, free: 0.9219 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/0.3455, allocations: 473.9 kB / 1.053 GB, free: 468 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/0.349, allocations: 1.078 MB / 1.054 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004018/0.3494, allocations: 125.9 kB / 1.054 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.3496, allocations: 87.94 kB / 1.054 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/0.3525, allocations: 0.9917 MB / 1.055 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.3526, allocations: 0 / 1.055 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.3527, allocations: 32 kB / 1.055 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.3527, allocations: 24 kB / 1.055 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/0.3555, allocations: 0.9251 MB / 1.056 GB, free: 13.1 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.007762/0.3632, allocations: 4.658 MB / 1.06 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003597/0.3669, allocations: 0.9462 MB / 1.061 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007142/0.3676, allocations: 0.9068 MB / 1.062 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.3677, allocations: 39 kB / 1.062 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 2.605e-06/0.3677, allocations: 0 / 1.062 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.009289/0.377, allocations: 2.205 MB / 1.064 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.3771, allocations: 59.84 kB / 1.064 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.3791, allocations: 1.063 MB / 1.065 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.3793, allocations: 37.7 kB / 1.065 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004963/0.3798, allocations: 0.5158 MB / 1.066 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.38, allocations: 173.5 kB / 1.066 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.38, allocations: 15.94 kB / 1.066 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3802, allocations: 329.9 kB / 1.066 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009663/0.3811, allocations: 332.9 kB / 1.067 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.3823, allocations: 0.5274 MB / 1.067 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.3833, allocations: 368.6 kB / 1.068 GB, free: 268 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3833, allocations: 0 / 1.068 GB, free: 268 kB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.4603/0.8437, allocations: 1.056 MB / 1.069 GB, free: 90.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002955/0.844, allocations: 1.41 MB / 1.07 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.844, allocations: 3.312 kB / 1.07 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.8455, allocations: 334.4 kB / 1.07 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.8461, allocations: 134.6 kB / 1.071 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.8476, allocations: 0.9408 MB / 1.071 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.849, allocations: 195.9 kB / 1.072 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.162e-05/0.8491, allocations: 30.25 kB / 1.072 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.8491, allocations: 2.594 kB / 1.072 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00256/0.8517, allocations: 0.9433 MB / 1.073 GB, free: 88.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8517, allocations: 8.219 kB / 1.073 GB, free: 88.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.8529, allocations: 329.4 kB / 1.073 GB, free: 88.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.8534, allocations: 132.3 kB / 1.073 GB, free: 88.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.8548, allocations: 0.9357 MB / 1.074 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.8561, allocations: 168.4 kB / 1.074 GB, free: 87.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/0.8562, allocations: 33.19 kB / 1.074 GB, free: 87.51 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.0006691/0.8569, allocations: 357.2 kB / 1.074 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.8571, allocations: 113.5 kB / 1.075 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/0.8613, allocations: 1.244 MB / 1.076 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.8613, allocations: 9.062 kB / 1.076 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8613, allocations: 0.5312 kB / 1.076 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.8614, allocations: 9.109 kB / 1.076 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006308/0.8677, allocations: 2.356 MB / 1.078 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.8677, allocations: 1.812 kB / 1.078 GB, free: 85.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.8681, allocations: 83.88 kB / 1.078 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.8693, allocations: 330.3 kB / 1.079 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.8694, allocations: 17.88 kB / 1.079 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.871, allocations: 0.9715 MB / 1.079 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.871, allocations: 3.672 kB / 1.08 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/0.8756, allocations: 1.434 MB / 1.081 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008145/0.8765, allocations: 290.9 kB / 1.081 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.8766, allocations: 14.77 kB / 1.081 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009372/0.8776, allocations: 122.9 kB / 1.081 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.8777, allocations: 50.3 kB / 1.081 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.8778, allocations: 24.53 kB / 1.081 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001545/0.8793, allocations: 0.7467 MB / 1.082 GB, free: 83.76 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.8793, allocations: 0 / 1.082 GB, free: 83.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002414/0.8818, allocations: 0.5731 MB / 1.083 GB, free: 83.66 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.005308/0.8871, allocations: 2.869 MB / 1.085 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003508/0.8906, allocations: 1.214 MB / 1.087 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.8906, allocations: 1.062 kB / 1.087 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.8917, allocations: 396.3 kB / 1.087 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/0.8948, allocations: 0.5066 MB / 1.088 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007929/0.9027, allocations: 5.502 MB / 1.093 GB, free: 77.06 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.9034, allocations: 1.086 MB / 1.094 GB, free: 76.33 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001296/0.9047, allocations: 235.6 kB / 1.094 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000497/0.9052, allocations: 417.8 kB / 1.095 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/0.9052, allocations: 0.6562 kB / 1.095 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06067/0.9659, allocations: 33.89 MB / 1.128 GB, free: 57.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.966, allocations: 265.3 kB / 1.128 GB, free: 57.15 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/3.887, allocations: 4 kB / 1.128 GB, free: 57.14 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)