Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.647/2.647, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.00142/0.00142, allocations: 188.5 kB / 371 MB, free: 10.88 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.284/2.284, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009778/0.0009773, allocations: 81.3 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006636/0.0006639, allocations: 11.94 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2298, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.0932/0.3231, allocations: 56.54 MB / 1.034 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02592/0.349, allocations: 11.15 MB / 1.045 GB, free: 8.43 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.3516, allocations: 51.62 kB / 1.045 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.3544, allocations: 456.9 kB / 1.045 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007442/0.3619, allocations: 1.519 MB / 1.047 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004689/0.3666, allocations: 0.8773 MB / 1.047 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007222/0.3739, allocations: 3.384 MB / 1.051 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.3763, allocations: 0.786 MB / 1.051 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/0.3803, allocations: 1.05 MB / 1.052 GB, free: 284 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.3829, allocations: 0.8127 MB / 1.053 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000503/0.3835, allocations: 44 kB / 1.053 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004671/0.3882, allocations: 1.111 MB / 1.054 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007073/0.3889, allocations: 199 kB / 1.055 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008342/0.3898, allocations: 285.1 kB / 1.055 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004536/0.3944, allocations: 1.648 MB / 1.056 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3944, allocations: 0 / 1.056 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.15e-06/0.3945, allocations: 4 kB / 1.056 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.495e-05/0.3945, allocations: 3.938 kB / 1.056 GB, free: 12.16 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.005186/0.3997, allocations: 1.509 MB / 1.058 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.3998, allocations: 8.031 kB / 1.058 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004194/0.4002, allocations: 126.7 kB / 1.058 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.4035, allocations: 386 kB / 1.058 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004119/0.4076, allocations: 1.094 MB / 1.06 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007207/0.4084, allocations: 121.9 kB / 1.06 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.4088, allocations: 84 kB / 1.06 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.4125, allocations: 0.9605 MB / 1.061 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.4126, allocations: 0 / 1.061 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.4128, allocations: 35.94 kB / 1.061 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.4128, allocations: 20 kB / 1.061 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/0.4172, allocations: 0.8626 MB / 1.062 GB, free: 6.812 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.01205/0.4293, allocations: 4.528 MB / 1.066 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.4326, allocations: 0.6337 MB / 1.067 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.434, allocations: 298 kB / 1.067 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6799/1.114, allocations: 1.391 MB / 1.068 GB, free: 90.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/1.114, allocations: 41.25 kB / 1.068 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.527e-06/1.114, allocations: 0 / 1.068 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01481/1.129, allocations: 1.898 MB / 1.07 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/1.129, allocations: 58.84 kB / 1.07 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/1.132, allocations: 1.049 MB / 1.071 GB, free: 90.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/1.132, allocations: 38.39 kB / 1.071 GB, free: 90.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005842/1.133, allocations: 0.521 MB / 1.072 GB, free: 89.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/1.133, allocations: 164.2 kB / 1.072 GB, free: 89.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/1.133, allocations: 10 kB / 1.072 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/1.133, allocations: 331.4 kB / 1.072 GB, free: 89.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/1.135, allocations: 294.1 kB / 1.073 GB, free: 89.22 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/1.137, allocations: 0.4938 MB / 1.073 GB, free: 88.92 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/1.138, allocations: 335.5 kB / 1.073 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/1.138, allocations: 4.625 kB / 1.073 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.006684/1.145, allocations: 1.167 MB / 1.074 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/1.145, allocations: 195.5 kB / 1.075 GB, free: 88.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/1.145, allocations: 10.41 kB / 1.075 GB, free: 88.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002258/1.148, allocations: 327.3 kB / 1.075 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.149, allocations: 121.1 kB / 1.075 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/1.151, allocations: 0.9399 MB / 1.076 GB, free: 87.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/1.154, allocations: 186.5 kB / 1.076 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/1.154, allocations: 33.72 kB / 1.076 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.154, allocations: 3.969 kB / 1.076 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006046/1.16, allocations: 1.029 MB / 1.077 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/1.16, allocations: 4.344 kB / 1.077 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/1.162, allocations: 324.1 kB / 1.078 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.163, allocations: 121.4 kB / 1.078 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/1.166, allocations: 0.9312 MB / 1.079 GB, free: 86.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/1.168, allocations: 156.5 kB / 1.079 GB, free: 86.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/1.168, allocations: 32.78 kB / 1.079 GB, free: 86.34 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.0008816/1.169, allocations: 353.7 kB / 1.079 GB, free: 86.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003787/1.17, allocations: 113.4 kB / 1.079 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00692/1.177, allocations: 1.197 MB / 1.08 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-05/1.177, allocations: 6.938 kB / 1.08 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.177, allocations: 0 / 1.08 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/1.177, allocations: 3.312 kB / 1.08 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009384/1.186, allocations: 2.221 MB / 1.083 GB, free: 84.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/1.186, allocations: 6.797 kB / 1.083 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/1.187, allocations: 62.53 kB / 1.083 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/1.189, allocations: 336 kB / 1.083 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/1.189, allocations: 16.83 kB / 1.083 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/1.191, allocations: 0.9673 MB / 1.084 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.191, allocations: 10.75 kB / 1.084 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006442/1.198, allocations: 1.244 MB / 1.085 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008825/1.199, allocations: 278.8 kB / 1.085 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/1.199, allocations: 14.41 kB / 1.085 GB, free: 83.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.201, allocations: 107.7 kB / 1.085 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/1.201, allocations: 40.95 kB / 1.086 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.201, allocations: 24.86 kB / 1.086 GB, free: 83.06 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00209/1.203, allocations: 0.7309 MB / 1.086 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.72e-07/1.203, allocations: 5.312 kB / 1.086 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002711/1.206, allocations: 0.5644 MB / 1.087 GB, free: 82.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 (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.007782/1.214, allocations: 2.061 MB / 1.089 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005468/1.219, allocations: 1.095 MB / 1.09 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.219, allocations: 3.938 kB / 1.09 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/1.221, allocations: 359.5 kB / 1.09 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004894/1.226, allocations: 0.5259 MB / 1.091 GB, free: 81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02391/1.25, allocations: 6.518 MB / 1.097 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008274/1.251, allocations: 1.064 MB / 1.098 GB, free: 76.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001932/1.253, allocations: 227.5 kB / 1.098 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009732/1.254, allocations: 419.8 kB / 1.099 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/1.254, allocations: 0 / 1.099 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.356, allocations: 34.2 MB / 1.132 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003126/1.356, allocations: 264 kB / 1.132 GB, free: 53.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.092/5.448, allocations: 3.625 kB / 1.132 GB, free: 53.29 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)