Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 94.03 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.6576, allocations: 142.3 MB / 0.9538 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05388/0.7115, allocations: 56.59 MB / 1.009 GB, free: 7.398 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01532/0.7269, allocations: 11.24 MB / 1.02 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.729, allocations: 55.62 kB / 1.02 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.7305, allocations: 460.8 kB / 1.021 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004771/0.7353, allocations: 1.539 MB / 1.022 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.7381, allocations: 0.8583 MB / 1.023 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004551/0.7426, allocations: 3.394 MB / 1.026 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.7441, allocations: 0.8127 MB / 1.027 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.7465, allocations: 1.05 MB / 1.028 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.748, allocations: 0.8049 MB / 1.029 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.7482, allocations: 44 kB / 1.029 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002677/0.7509, allocations: 1.091 MB / 1.03 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.7512, allocations: 203 kB / 1.03 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.7517, allocations: 289 kB / 1.03 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.7541, allocations: 1.633 MB / 1.032 GB, free: 15.86 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.7542, allocations: 0 / 1.032 GB, free: 15.86 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.015e-06/0.7542, allocations: 0 / 1.032 GB, free: 15.86 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.587e-05/0.7542, allocations: 0 / 1.032 GB, free: 15.86 MB / 0.795 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.002805/0.757, allocations: 1.528 MB / 1.033 GB, free: 14.28 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.7571, allocations: 12.03 kB / 1.034 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.7572, allocations: 118.8 kB / 1.034 GB, free: 14.14 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.7591, allocations: 477.9 kB / 1.034 GB, free: 13.67 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.7611, allocations: 1.098 MB / 1.035 GB, free: 12.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.7614, allocations: 129.9 kB / 1.035 GB, free: 12.39 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.7616, allocations: 80 kB / 1.035 GB, free: 12.31 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.7636, allocations: 1.025 MB / 1.036 GB, free: 11.24 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.7636, allocations: 3.938 kB / 1.036 GB, free: 11.24 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.411e-05/0.7637, allocations: 32 kB / 1.036 GB, free: 11.21 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.7637, allocations: 23.95 kB / 1.036 GB, free: 11.18 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.766, allocations: 0.9485 MB / 1.037 GB, free: 10.24 MB / 0.795 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.006703/0.7727, allocations: 4.899 MB / 1.042 GB, free: 4.984 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.7758, allocations: 0.9136 MB / 1.043 GB, free: 4.062 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/0.7766, allocations: 337.9 kB / 1.043 GB, free: 3.73 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000657/0.7773, allocations: 0.9064 MB / 1.044 GB, free: 2.621 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.7773, allocations: 38.56 kB / 1.044 GB, free: 2.574 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.645e-06/0.7773, allocations: 0 / 1.044 GB, free: 2.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.007826/0.7852, allocations: 2.207 MB / 1.046 GB, free: 344 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.7852, allocations: 67.33 kB / 1.046 GB, free: 264 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.7868, allocations: 1.052 MB / 1.047 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.38e-05/0.7869, allocations: 33.7 kB / 1.048 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/0.7873, allocations: 0.5352 MB / 1.048 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.7875, allocations: 145.8 kB / 1.048 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.7875, allocations: 12 kB / 1.048 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7877, allocations: 333.9 kB / 1.049 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008673/0.7885, allocations: 340.9 kB / 1.049 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009921/0.7895, allocations: 0.5527 MB / 1.049 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/0.7904, allocations: 383.5 kB / 1.05 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7905, allocations: 0 / 1.05 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002669/0.7931, allocations: 1.086 MB / 1.051 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.7933, allocations: 209.4 kB / 1.051 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.7933, allocations: 4 kB / 1.051 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.7946, allocations: 336.6 kB / 1.051 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/0.7951, allocations: 139.8 kB / 1.051 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.7965, allocations: 0.9366 MB / 1.052 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.7978, allocations: 207.2 kB / 1.053 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.7979, allocations: 27.98 kB / 1.053 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.7979, allocations: 4 kB / 1.053 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002352/0.8003, allocations: 0.9529 MB / 1.054 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.8003, allocations: 4 kB / 1.054 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009974/0.8013, allocations: 320.8 kB / 1.054 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.8018, allocations: 143.8 kB / 1.054 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.8032, allocations: 0.9407 MB / 1.055 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.8044, allocations: 175.4 kB / 1.055 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.8045, allocations: 24 kB / 1.055 GB, free: 7.168 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0005688/0.805, allocations: 360.9 kB / 1.055 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.8052, allocations: 110.6 kB / 1.056 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003534/0.8088, allocations: 1.249 MB / 1.057 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.8088, allocations: 4 kB / 1.057 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8088, allocations: 0 / 1.057 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.8088, allocations: 7.984 kB / 1.057 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004972/0.8138, allocations: 2.327 MB / 1.059 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.8138, allocations: 288 / 1.059 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.8142, allocations: 83.88 kB / 1.059 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009568/0.8151, allocations: 314.2 kB / 1.059 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.8152, allocations: 19.98 kB / 1.059 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.8165, allocations: 0.9716 MB / 1.06 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.8166, allocations: 4 kB / 1.06 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/0.8199, allocations: 1.318 MB / 1.062 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.8205, allocations: 283.4 kB / 1.062 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.8206, allocations: 19.97 kB / 1.062 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008221/0.8214, allocations: 111.9 kB / 1.062 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.8215, allocations: 39.91 kB / 1.062 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.8216, allocations: 27.98 kB / 1.062 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001084/0.8227, allocations: 0.7354 MB / 1.063 GB, free: 15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8227, allocations: 3.938 kB / 1.063 GB, free: 15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001456/0.8241, allocations: 0.5691 MB / 1.063 GB, free: 14.43 MB / 0.8262 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 (34): * Single equations (assignments): 29 * 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.004184/0.8283, allocations: 2.117 MB / 1.065 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003125/0.8315, allocations: 1.231 MB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.8315, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009032/0.8324, allocations: 390.4 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/0.8348, allocations: 0.5068 MB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.8493, allocations: 6.962 MB / 1.074 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.8499, allocations: 1.061 MB / 1.075 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009807/0.8509, allocations: 227.6 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/0.8514, allocations: 419.2 kB / 1.076 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of SimCode: time 8.02e-07/0.8514, allocations: 0 / 1.076 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0579/0.9093, allocations: 33.52 MB / 1.109 GB, free: 140 kB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.9096, allocations: 273.9 kB / 1.109 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/3.457, allocations: 0 / 1.109 GB, free: 15.77 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat does not exist to compare? outputFormat=mat