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 1.605/1.605, allocations: 287.4 MB / 302.6 MB, free: 8.367 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.001034/0.001034, allocations: 172.5 kB / 371.1 MB, free: 10.84 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.577/1.577, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0007689/0.0007689, allocations: 93.28 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 10.59 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1675, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.04303/0.2106, allocations: 56.59 MB / 1.034 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01332/0.224, allocations: 11.15 MB / 1.045 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.2258, allocations: 55.62 kB / 1.045 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.2272, allocations: 452.9 kB / 1.045 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004708/0.232, allocations: 1.527 MB / 1.047 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.2347, allocations: 0.8737 MB / 1.048 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004417/0.2391, allocations: 3.455 MB / 1.051 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.2406, allocations: 0.8915 MB / 1.052 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.2429, allocations: 1.05 MB / 1.053 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.2442, allocations: 0.8166 MB / 1.054 GB, free: 15 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.2443, allocations: 44 kB / 1.054 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.2467, allocations: 1.095 MB / 1.055 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.247, allocations: 207 kB / 1.055 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000405/0.2474, allocations: 289 kB / 1.055 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.2495, allocations: 1.648 MB / 1.057 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2495, allocations: 3.984 kB / 1.057 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2495, allocations: 0 / 1.057 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.115e-05/0.2496, allocations: 0 / 1.057 GB, free: 11.71 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.00277/0.2524, allocations: 1.524 MB / 1.058 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.2524, allocations: 8.031 kB / 1.058 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.2526, allocations: 119 kB / 1.059 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.2546, allocations: 482.6 kB / 1.059 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.2568, allocations: 1.132 MB / 1.06 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003484/0.2571, allocations: 133.9 kB / 1.06 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.2573, allocations: 83.98 kB / 1.06 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.2594, allocations: 1.023 MB / 1.061 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.2594, allocations: 4 kB / 1.061 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/0.2595, allocations: 36 kB / 1.061 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.2595, allocations: 20 kB / 1.061 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.2619, allocations: 0.968 MB / 1.062 GB, free: 6.031 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.006655/0.2686, allocations: 4.647 MB / 1.067 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/0.272, allocations: 0.9477 MB / 1.068 GB, free: 120 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3687/0.6408, allocations: 350.9 kB / 1.068 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005372/0.6414, allocations: 0.9079 MB / 1.069 GB, free: 90.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.6414, allocations: 38.27 kB / 1.069 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.426e-06/0.6414, allocations: 2.062 kB / 1.069 GB, free: 90.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.009026/0.6504, allocations: 2.262 MB / 1.071 GB, free: 89.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.6505, allocations: 58.19 kB / 1.071 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.6523, allocations: 1.053 MB / 1.072 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.693e-05/0.6524, allocations: 38.48 kB / 1.072 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.6528, allocations: 0.5282 MB / 1.073 GB, free: 89.17 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.653, allocations: 168.9 kB / 1.073 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.653, allocations: 9.969 kB / 1.073 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.6531, allocations: 333.5 kB / 1.073 GB, free: 88.74 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009801/0.6541, allocations: 359 kB / 1.074 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.6552, allocations: 0.5552 MB / 1.074 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.657, allocations: 0.7731 MB / 1.075 GB, free: 88.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.657, allocations: 4.5 kB / 1.075 GB, free: 88.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00303/0.66, allocations: 1.106 MB / 1.076 GB, free: 87.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.6602, allocations: 202.4 kB / 1.076 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.6602, allocations: 4.219 kB / 1.076 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.6615, allocations: 326.3 kB / 1.077 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.6621, allocations: 143.1 kB / 1.077 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.6635, allocations: 0.9434 MB / 1.078 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.6648, allocations: 196.2 kB / 1.078 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/0.6649, allocations: 34.62 kB / 1.078 GB, free: 86.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.6649, allocations: 8.219 kB / 1.078 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002668/0.6676, allocations: 0.9741 MB / 1.079 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6676, allocations: 8.688 kB / 1.079 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.6687, allocations: 327.5 kB / 1.079 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/0.6693, allocations: 146.2 kB / 1.079 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.6706, allocations: 0.9308 MB / 1.08 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.6718, allocations: 182.8 kB / 1.08 GB, free: 85.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.6719, allocations: 31.11 kB / 1.08 GB, free: 85.48 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.0004899/0.6724, allocations: 358 kB / 1.081 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.6725, allocations: 108.6 kB / 1.081 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/0.6765, allocations: 1.31 MB / 1.082 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.6765, allocations: 7.5 kB / 1.082 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6766, allocations: 0 / 1.082 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6766, allocations: 4.062 kB / 1.082 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005257/0.6818, allocations: 2.388 MB / 1.085 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.6819, allocations: 6.562 kB / 1.085 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.6822, allocations: 88.84 kB / 1.085 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.6832, allocations: 331.6 kB / 1.085 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.6833, allocations: 17.95 kB / 1.085 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.6846, allocations: 0.9593 MB / 1.086 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6846, allocations: 1.594 kB / 1.086 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.6883, allocations: 1.356 MB / 1.087 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.6888, allocations: 293.6 kB / 1.088 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.689, allocations: 13.88 kB / 1.088 GB, free: 82.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000973/0.69, allocations: 117.2 kB / 1.088 GB, free: 82.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.6902, allocations: 52.16 kB / 1.088 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.667e-05/0.6902, allocations: 24.3 kB / 1.088 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001327/0.6916, allocations: 0.7437 MB / 1.088 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6916, allocations: 0 / 1.088 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001771/0.6934, allocations: 0.5648 MB / 1.089 GB, free: 81.7 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.004588/0.698, allocations: 2.155 MB / 1.091 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003555/0.7015, allocations: 1.271 MB / 1.092 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.7016, allocations: 9.344 kB / 1.092 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.7026, allocations: 414.3 kB / 1.093 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/0.7058, allocations: 0.5297 MB / 1.093 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/0.7229, allocations: 7.046 MB / 1.1 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007903/0.7238, allocations: 1.07 MB / 1.101 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001287/0.7251, allocations: 227.2 kB / 1.101 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/0.7256, allocations: 417.4 kB / 1.102 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/0.7256, allocations: 0 / 1.102 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4737/1.199, allocations: 34.66 MB / 1.136 GB, free: 50.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/1.2, allocations: 257.1 kB / 1.136 GB, free: 49.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.923/4.123, allocations: 4.062 kB / 1.136 GB, free: 49.88 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)