Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.0008149/0.000815, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0008457/0.0008457, 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.342/1.342, allocations: 223.2 MB / 240 MB, free: 5.414 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.349/2.349, allocations: 390.4 MB / 0.6655 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 12 kB / 0.8149 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6633/0.6636, allocations: 142.3 MB / 0.9538 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05674/0.7204, allocations: 56.53 MB / 1.009 GB, free: 7.527 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01574/0.7362, allocations: 11.23 MB / 1.02 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/0.7385, allocations: 51.62 kB / 1.02 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.7402, allocations: 464.9 kB / 1.021 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004858/0.7451, allocations: 1.527 MB / 1.022 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.7478, allocations: 0.8507 MB / 1.023 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004456/0.7523, allocations: 3.397 MB / 1.026 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.7537, allocations: 0.8222 MB / 1.027 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.7558, allocations: 1.042 MB / 1.028 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.7569, allocations: 0.8088 MB / 1.029 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.7571, allocations: 44 kB / 1.029 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.7593, allocations: 1.099 MB / 1.03 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.7596, allocations: 203 kB / 1.03 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003264/0.7599, allocations: 289 kB / 1.03 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.7618, allocations: 1.637 MB / 1.032 GB, free: 0 / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7618, allocations: 0 / 1.032 GB, free: 0 / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7618, allocations: 0 / 1.032 GB, free: 0 / 0.7794 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.7618, allocations: 0 / 1.032 GB, free: 0 / 0.7794 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.002598/0.7644, allocations: 1.516 MB / 1.033 GB, free: 14.43 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.7645, allocations: 8.031 kB / 1.033 GB, free: 14.42 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.7646, allocations: 126.8 kB / 1.034 GB, free: 14.29 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.7669, allocations: 0.5135 MB / 1.034 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.769, allocations: 1.096 MB / 1.035 GB, free: 12.62 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.7693, allocations: 129.9 kB / 1.035 GB, free: 12.49 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.7694, allocations: 83.94 kB / 1.035 GB, free: 12.41 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.7714, allocations: 1.033 MB / 1.036 GB, free: 11.34 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.7715, allocations: 0 / 1.036 GB, free: 11.34 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/0.7716, allocations: 32 kB / 1.036 GB, free: 11.31 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.7716, allocations: 19.95 kB / 1.036 GB, free: 11.29 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.7741, allocations: 1.011 MB / 1.037 GB, free: 10.29 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.006463/0.7806, allocations: 4.701 MB / 1.042 GB, free: 5.238 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003863/0.7845, allocations: 1.122 MB / 1.043 GB, free: 4.105 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.7856, allocations: 441.9 kB / 1.043 GB, free: 3.672 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.7866, allocations: 1.029 MB / 1.044 GB, free: 2.422 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.7867, allocations: 39 kB / 1.045 GB, free: 2.375 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 2.254e-06/0.7867, allocations: 0 / 1.045 GB, free: 2.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=53): time 0.008995/0.7957, allocations: 2.49 MB / 1.047 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.7958, allocations: 59.84 kB / 1.047 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.7971, allocations: 0.9275 MB / 1.048 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.901e-05/0.7972, allocations: 45.64 kB / 1.048 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/0.7976, allocations: 0.5001 MB / 1.048 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.7978, allocations: 181.4 kB / 1.049 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.7979, allocations: 12 kB / 1.049 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.798, allocations: 326 kB / 1.049 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009913/0.799, allocations: 380.9 kB / 1.049 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.8001, allocations: 0.5441 MB / 1.05 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.8011, allocations: 405.9 kB / 1.05 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8012, allocations: 0 / 1.05 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002847/0.804, allocations: 1.123 MB / 1.051 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.8042, allocations: 173.8 kB / 1.051 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.8042, allocations: 4 kB / 1.052 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.8054, allocations: 328.5 kB / 1.052 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.8061, allocations: 143.8 kB / 1.052 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.8075, allocations: 0.9425 MB / 1.053 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.8086, allocations: 167.4 kB / 1.053 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.586e-05/0.8087, allocations: 31.97 kB / 1.053 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.8087, allocations: 4 kB / 1.053 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002548/0.8113, allocations: 0.9976 MB / 1.054 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.8113, allocations: 4.312 kB / 1.054 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.8124, allocations: 326.4 kB / 1.054 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.813, allocations: 143.8 kB / 1.054 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.8144, allocations: 0.9308 MB / 1.055 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.8155, allocations: 167.4 kB / 1.056 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/0.8156, allocations: 31.98 kB / 1.056 GB, free: 6.793 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0005768/0.8162, allocations: 345 kB / 1.056 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.8164, allocations: 114.6 kB / 1.056 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004292/0.8207, allocations: 1.439 MB / 1.057 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.8207, allocations: 8 kB / 1.057 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.8207, allocations: 0 / 1.057 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.8207, allocations: 11.91 kB / 1.057 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005899/0.8266, allocations: 2.533 MB / 1.06 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.8267, allocations: 0 / 1.06 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.8272, allocations: 124 kB / 1.06 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009883/0.8282, allocations: 316.6 kB / 1.06 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.8283, allocations: 11.98 kB / 1.06 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.8297, allocations: 0.9791 MB / 1.061 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8297, allocations: 0 / 1.061 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004007/0.8337, allocations: 1.452 MB / 1.063 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.8343, allocations: 291.4 kB / 1.063 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.8344, allocations: 12 kB / 1.063 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008829/0.8353, allocations: 127.9 kB / 1.063 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.8354, allocations: 40.28 kB / 1.063 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.8354, allocations: 23.98 kB / 1.063 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009119/0.8364, allocations: 0.6518 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8364, allocations: 0 / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00139/0.8378, allocations: 0.5652 MB / 1.064 GB, free: 13.59 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004972/0.8427, allocations: 2.274 MB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003711/0.8465, allocations: 1.389 MB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8465, allocations: 0 / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.8477, allocations: 488.9 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.8501, allocations: 0.5009 MB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.8637, allocations: 6.739 MB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.8643, allocations: 1.066 MB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001056/0.8654, allocations: 230.4 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005398/0.8659, allocations: 415.3 kB / 1.077 GB, free: 168 kB / 0.8262 GB Notification: Performance of SimCode: time 1.263e-06/0.8659, allocations: 0 / 1.077 GB, free: 168 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0558/0.9218, allocations: 33.18 MB / 1.11 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.922, allocations: 262.5 kB / 1.11 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.488, allocations: 0 / 1.11 GB, free: 15.11 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat does not exist to compare? outputFormat=mat