Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.787/2.787, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.0015/0.0015, allocations: 179.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009969/0.0009965, allocations: 100.9 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005205/0.0005207, allocations: 12.95 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2244, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.09321/0.3177, allocations: 56.55 MB / 1.034 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02522/0.3429, allocations: 11.14 MB / 1.045 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/0.3454, allocations: 51.62 kB / 1.045 GB, free: 8.348 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002693/0.3482, allocations: 464.9 kB / 1.045 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007232/0.3554, allocations: 1.517 MB / 1.047 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004462/0.36, allocations: 0.875 MB / 1.047 GB, free: 5.504 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007001/0.367, allocations: 3.386 MB / 1.051 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.3694, allocations: 0.786 MB / 1.051 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00385/0.3733, allocations: 1.046 MB / 1.052 GB, free: 252 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/0.3759, allocations: 0.8089 MB / 1.053 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004748/0.3764, allocations: 44 kB / 1.053 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004483/0.3809, allocations: 1.115 MB / 1.054 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000635/0.3816, allocations: 207 kB / 1.055 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007508/0.3824, allocations: 289 kB / 1.055 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004184/0.3866, allocations: 1.645 MB / 1.056 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3866, allocations: 0 / 1.056 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.795e-06/0.3867, allocations: 0 / 1.056 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.186e-05/0.3867, allocations: 0 / 1.056 GB, free: 12.13 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.005004/0.3917, allocations: 1.505 MB / 1.058 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.3918, allocations: 12.03 kB / 1.058 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004001/0.3922, allocations: 130.6 kB / 1.058 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/0.3963, allocations: 477.9 kB / 1.059 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003935/0.4003, allocations: 1.094 MB / 1.06 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007303/0.4011, allocations: 129.9 kB / 1.06 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.4014, allocations: 80 kB / 1.06 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00394/0.4054, allocations: 1.003 MB / 1.061 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.4055, allocations: 3.938 kB / 1.061 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.4056, allocations: 32 kB / 1.061 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.4057, allocations: 16 kB / 1.061 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004802/0.4105, allocations: 0.9329 MB / 1.062 GB, free: 6.574 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.01245/0.423, allocations: 4.623 MB / 1.066 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00714/0.4302, allocations: 0.9423 MB / 1.067 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.4319, allocations: 339.5 kB / 1.068 GB, free: 360 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7243/1.156, allocations: 0.9017 MB / 1.068 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/1.156, allocations: 39.8 kB / 1.068 GB, free: 90.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.256e-06/1.156, allocations: 0 / 1.068 GB, free: 90.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.01768/1.174, allocations: 2.214 MB / 1.071 GB, free: 90.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/1.174, allocations: 58.31 kB / 1.071 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003097/1.177, allocations: 1.051 MB / 1.072 GB, free: 89.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001761/1.177, allocations: 38.86 kB / 1.072 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006695/1.178, allocations: 0.5198 MB / 1.072 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/1.178, allocations: 164 kB / 1.072 GB, free: 89.42 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/1.179, allocations: 14.03 kB / 1.072 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/1.179, allocations: 325.9 kB / 1.073 GB, free: 89.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/1.181, allocations: 335.7 kB / 1.073 GB, free: 89.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/1.183, allocations: 0.5305 MB / 1.074 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/1.185, allocations: 368.2 kB / 1.074 GB, free: 88.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/1.185, allocations: 1.438 kB / 1.074 GB, free: 88.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005803/1.191, allocations: 1.066 MB / 1.075 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/1.191, allocations: 196.1 kB / 1.075 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.191, allocations: 6.344 kB / 1.075 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/1.194, allocations: 333 kB / 1.075 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.195, allocations: 137.5 kB / 1.076 GB, free: 87.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/1.198, allocations: 0.9324 MB / 1.076 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/1.2, allocations: 201 kB / 1.077 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/1.2, allocations: 33.58 kB / 1.077 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.201, allocations: 4.125 kB / 1.077 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005139/1.206, allocations: 0.9396 MB / 1.078 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.206, allocations: 4.062 kB / 1.078 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/1.208, allocations: 331.5 kB / 1.078 GB, free: 86.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.209, allocations: 133.9 kB / 1.078 GB, free: 86.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/1.212, allocations: 0.9318 MB / 1.079 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/1.214, allocations: 176.5 kB / 1.079 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/1.215, allocations: 34.45 kB / 1.079 GB, free: 86.12 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.000936/1.216, allocations: 352.9 kB / 1.08 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004266/1.216, allocations: 108.6 kB / 1.08 GB, free: 85.78 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007668/1.224, allocations: 1.249 MB / 1.081 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-05/1.224, allocations: 13.8 kB / 1.081 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.224, allocations: 0 / 1.081 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/1.224, allocations: 2.766 kB / 1.081 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/1.234, allocations: 2.338 MB / 1.083 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/1.234, allocations: 3.641 kB / 1.083 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006984/1.235, allocations: 79.22 kB / 1.083 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/1.237, allocations: 335.4 kB / 1.084 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/1.237, allocations: 18.39 kB / 1.084 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/1.24, allocations: 0.963 MB / 1.084 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/1.24, allocations: 11.89 kB / 1.085 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007256/1.247, allocations: 1.318 MB / 1.086 GB, free: 83.03 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009528/1.248, allocations: 290.3 kB / 1.086 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/1.248, allocations: 9.75 kB / 1.086 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/1.25, allocations: 110 kB / 1.086 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/1.251, allocations: 50.8 kB / 1.086 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/1.251, allocations: 27.64 kB / 1.086 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004337/1.255, allocations: 0.7364 MB / 1.087 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.804e-06/1.255, allocations: 0 / 1.087 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004695/1.26, allocations: 0.5615 MB / 1.088 GB, free: 82.37 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.01674/1.277, allocations: 2.123 MB / 1.09 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01227/1.289, allocations: 1.21 MB / 1.091 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.289, allocations: 1.25 kB / 1.091 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001977/1.291, allocations: 395.6 kB / 1.091 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005181/1.296, allocations: 0.5283 MB / 1.092 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/1.325, allocations: 6.952 MB / 1.098 GB, free: 77.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/1.326, allocations: 1.066 MB / 1.1 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001988/1.328, allocations: 235.1 kB / 1.1 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.329, allocations: 419.8 kB / 1.1 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of SimCode: time 1.523e-06/1.329, allocations: 1.125 kB / 1.1 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.432, allocations: 34.17 MB / 1.133 GB, free: 52.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/1.433, allocations: 257.5 kB / 1.134 GB, free: 51.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.16/5.592, allocations: 0 / 1.134 GB, free: 51.82 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)