Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",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.644/2.644, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.001421/0.00142, allocations: 178.1 kB / 371 MB, free: 10.85 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.226/2.226, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.001445/0.001445, allocations: 86.58 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004968, allocations: 14.47 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2248, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.087/0.3118, allocations: 56.58 MB / 1.034 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02445/0.3363, allocations: 11.15 MB / 1.045 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.3388, allocations: 51.62 kB / 1.045 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.3414, allocations: 468.8 kB / 1.045 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007024/0.3485, allocations: 1.516 MB / 1.047 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00436/0.3529, allocations: 0.8795 MB / 1.047 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006718/0.3596, allocations: 3.406 MB / 1.051 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.3619, allocations: 0.7911 MB / 1.052 GB, free: 1.207 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003646/0.3656, allocations: 1.05 MB / 1.053 GB, free: 156 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.3681, allocations: 0.8205 MB / 1.053 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004382/0.3686, allocations: 44 kB / 1.053 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004347/0.3729, allocations: 1.095 MB / 1.054 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006262/0.3736, allocations: 203 kB / 1.055 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006981/0.3743, allocations: 289 kB / 1.055 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.3784, allocations: 1.652 MB / 1.057 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3785, allocations: 0 / 1.057 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.146e-06/0.3785, allocations: 0 / 1.057 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.453e-05/0.3785, allocations: 0 / 1.057 GB, free: 12.04 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004902/0.3835, allocations: 1.536 MB / 1.058 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.3835, allocations: 8.031 kB / 1.058 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003905/0.3839, allocations: 126.8 kB / 1.058 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003964/0.3879, allocations: 477.9 kB / 1.059 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003689/0.3917, allocations: 1.105 MB / 1.06 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006769/0.3924, allocations: 129.9 kB / 1.06 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.3927, allocations: 80 kB / 1.06 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/0.3964, allocations: 1.027 MB / 1.061 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.3965, allocations: 4 kB / 1.061 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.3967, allocations: 32 kB / 1.061 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.3967, allocations: 16 kB / 1.061 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004716/0.4014, allocations: 0.9719 MB / 1.062 GB, free: 6.387 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.0113/0.4128, allocations: 4.635 MB / 1.066 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006667/0.4195, allocations: 0.95 MB / 1.067 GB, free: 492 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.4212, allocations: 361.9 kB / 1.068 GB, free: 128 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6235/1.045, allocations: 0.8968 MB / 1.069 GB, free: 90.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/1.045, allocations: 40.23 kB / 1.069 GB, free: 90.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.556e-06/1.045, allocations: 0 / 1.069 GB, free: 90.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.01734/1.062, allocations: 2.254 MB / 1.071 GB, free: 90.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/1.062, allocations: 60.83 kB / 1.071 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002639/1.065, allocations: 1.051 MB / 1.072 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/1.065, allocations: 38.7 kB / 1.072 GB, free: 89.69 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006037/1.066, allocations: 0.528 MB / 1.072 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/1.066, allocations: 172.2 kB / 1.073 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/1.066, allocations: 10.78 kB / 1.073 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/1.066, allocations: 329.3 kB / 1.073 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/1.068, allocations: 352.9 kB / 1.073 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/1.07, allocations: 0.5586 MB / 1.074 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/1.072, allocations: 391.7 kB / 1.074 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/1.072, allocations: 1 kB / 1.074 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005543/1.078, allocations: 1.108 MB / 1.075 GB, free: 88.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.078, allocations: 197.9 kB / 1.075 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.078, allocations: 8.906 kB / 1.075 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002228/1.08, allocations: 329 kB / 1.076 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/1.082, allocations: 143.2 kB / 1.076 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/1.084, allocations: 0.934 MB / 1.077 GB, free: 87.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/1.087, allocations: 205.9 kB / 1.077 GB, free: 87.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/1.087, allocations: 38.3 kB / 1.077 GB, free: 87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.087, allocations: 4.812 kB / 1.077 GB, free: 87 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005164/1.092, allocations: 0.9784 MB / 1.078 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.092, allocations: 11.77 kB / 1.078 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/1.094, allocations: 324.4 kB / 1.078 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/1.096, allocations: 145.9 kB / 1.079 GB, free: 86.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/1.098, allocations: 0.9368 MB / 1.079 GB, free: 85.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.101, allocations: 177.8 kB / 1.08 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/1.101, allocations: 36.28 kB / 1.08 GB, free: 85.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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.0008484/1.102, allocations: 353.7 kB / 1.08 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000374/1.102, allocations: 109.1 kB / 1.08 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00771/1.11, allocations: 1.317 MB / 1.081 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/1.11, allocations: 6.828 kB / 1.081 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.11, allocations: 0.6562 kB / 1.081 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/1.11, allocations: 6.672 kB / 1.081 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/1.12, allocations: 2.372 MB / 1.084 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.12, allocations: 7.734 kB / 1.084 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/1.121, allocations: 90.41 kB / 1.084 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001885/1.123, allocations: 324.7 kB / 1.084 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/1.123, allocations: 18.33 kB / 1.084 GB, free: 84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002397/1.125, allocations: 0.9619 MB / 1.085 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.125, allocations: 6.312 kB / 1.085 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007202/1.133, allocations: 1.355 MB / 1.086 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00092/1.133, allocations: 291 kB / 1.087 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/1.134, allocations: 9.516 kB / 1.087 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.136, allocations: 117.7 kB / 1.087 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/1.136, allocations: 55.23 kB / 1.087 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.136, allocations: 27.97 kB / 1.087 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002074/1.138, allocations: 0.7341 MB / 1.088 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.152e-06/1.138, allocations: 0 / 1.088 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002902/1.141, allocations: 0.5696 MB / 1.088 GB, free: 82.11 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.008549/1.15, allocations: 2.165 MB / 1.09 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006571/1.156, allocations: 1.275 MB / 1.091 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.156, allocations: 0 / 1.091 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/1.158, allocations: 413.9 kB / 1.092 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004923/1.163, allocations: 0.5186 MB / 1.092 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02798/1.191, allocations: 7.038 MB / 1.099 GB, free: 76.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/1.192, allocations: 1.07 MB / 1.1 GB, free: 76.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001981/1.194, allocations: 230.4 kB / 1.101 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009383/1.195, allocations: 419.7 kB / 1.101 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.163e-06/1.195, allocations: 0 / 1.101 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.303, allocations: 34.26 MB / 1.134 GB, free: 51.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/1.304, allocations: 275.5 kB / 1.135 GB, free: 50.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.188/5.492, allocations: 0 / 1.135 GB, free: 50.99 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)