Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.405/2.405, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 186.5 kB / 0.4901 GB, free: 2.227 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.707/1.707, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001001, allocations: 100.5 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 10.59 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3351, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.507/1.843, allocations: 435.6 MB / 1.655 GB, free: 10.59 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/1.843, allocations: 98.78 kB / 1.655 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.258/4.101, allocations: 0.6535 GB / 2.308 GB, free: 11.79 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.774e-06/4.101, allocations: 3.938 kB / 2.308 GB, free: 11.79 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002192/4.101, allocations: 35.98 kB / 2.308 GB, free: 11.75 MB / 1.167 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.005356/4.106, allocations: 1.743 MB / 2.31 GB, free: 9.945 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/4.106, allocations: 12.02 kB / 2.31 GB, free: 9.934 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004018/4.107, allocations: 126.8 kB / 2.31 GB, free: 9.801 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/4.109, allocations: 446 kB / 2.311 GB, free: 9.363 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/4.113, allocations: 1.316 MB / 2.312 GB, free: 7.988 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/4.113, allocations: 130.1 kB / 2.312 GB, free: 7.863 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/4.114, allocations: 91.94 kB / 2.312 GB, free: 7.773 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/4.116, allocations: 1.014 MB / 2.313 GB, free: 6.711 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/4.116, allocations: 3.938 kB / 2.313 GB, free: 6.707 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.322e-05/4.116, allocations: 35.98 kB / 2.313 GB, free: 6.672 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/4.116, allocations: 34 kB / 2.313 GB, free: 6.641 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002388/4.119, allocations: 0.9368 MB / 2.314 GB, free: 5.699 MB / 1.167 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.007273/4.126, allocations: 4.749 MB / 2.319 GB, free: 0.6289 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.8705/4.996, allocations: 0.8849 MB / 2.319 GB, free: 251.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/4.997, allocations: 0.9069 MB / 2.32 GB, free: 250.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/4.997, allocations: 39.69 kB / 2.32 GB, free: 250.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 3.086e-06/4.997, allocations: 0 / 2.32 GB, free: 250.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=43): time 0.008434/5.006, allocations: 2.098 MB / 2.322 GB, free: 250.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/5.006, allocations: 57.34 kB / 2.323 GB, free: 250.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/5.008, allocations: 0.9504 MB / 2.323 GB, free: 250.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/5.008, allocations: 41.39 kB / 2.323 GB, free: 250 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005499/5.008, allocations: 0.5443 MB / 2.324 GB, free: 249.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/5.009, allocations: 154.5 kB / 2.324 GB, free: 249.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/5.009, allocations: 7 kB / 2.324 GB, free: 249.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/5.009, allocations: 325.9 kB / 2.324 GB, free: 249.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/5.01, allocations: 324.6 kB / 2.325 GB, free: 249.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/5.011, allocations: 0.5615 MB / 2.325 GB, free: 249.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/5.012, allocations: 358.3 kB / 2.326 GB, free: 249.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/5.012, allocations: 1 kB / 2.326 GB, free: 249.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004614/5.017, allocations: 1.265 MB / 2.327 GB, free: 249.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004798/5.017, allocations: 1.665 MB / 2.329 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/5.017, allocations: 4.781 kB / 2.329 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/5.019, allocations: 357.9 kB / 2.329 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/5.019, allocations: 132 kB / 2.329 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/5.021, allocations: 0.9693 MB / 2.33 GB, free: 246.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/5.023, allocations: 209.5 kB / 2.33 GB, free: 246.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/5.023, allocations: 30.89 kB / 2.33 GB, free: 246.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/5.023, allocations: 4.688 kB / 2.33 GB, free: 246.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004505/5.028, allocations: 1.135 MB / 2.331 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/5.028, allocations: 9.391 kB / 2.331 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/5.029, allocations: 347 kB / 2.332 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/5.03, allocations: 127.2 kB / 2.332 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/5.032, allocations: 0.9702 MB / 2.333 GB, free: 246.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/5.033, allocations: 179.7 kB / 2.333 GB, free: 246.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.491e-05/5.033, allocations: 34.61 kB / 2.333 GB, free: 246.3 MB / 1.167 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 (47): * Single equations (assignments): 46 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0008157/5.034, allocations: 348 kB / 2.333 GB, free: 246.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/5.034, allocations: 120 kB / 2.333 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004292/5.039, allocations: 1.213 MB / 2.335 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/5.039, allocations: 6.172 kB / 2.335 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/5.039, allocations: 3.438 kB / 2.335 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/5.039, allocations: 2.906 kB / 2.335 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006614/5.045, allocations: 2.277 MB / 2.337 GB, free: 245.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/5.046, allocations: 1.625 kB / 2.337 GB, free: 245.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/5.046, allocations: 77.72 kB / 2.337 GB, free: 245.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/5.047, allocations: 356 kB / 2.337 GB, free: 245.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.248e-05/5.047, allocations: 14.97 kB / 2.337 GB, free: 245.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/5.049, allocations: 1.002 MB / 2.338 GB, free: 245 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/5.049, allocations: 5.5 kB / 2.338 GB, free: 245 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/5.053, allocations: 1.396 MB / 2.34 GB, free: 244.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009739/5.054, allocations: 285.7 kB / 2.34 GB, free: 244.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/5.054, allocations: 10.83 kB / 2.34 GB, free: 244.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/5.056, allocations: 118.4 kB / 2.34 GB, free: 244.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/5.056, allocations: 45.38 kB / 2.34 GB, free: 244.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/5.056, allocations: 23.55 kB / 2.34 GB, free: 244.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001728/5.057, allocations: 0.7547 MB / 2.341 GB, free: 244.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.81e-07/5.057, allocations: 0 / 2.341 GB, free: 244.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002617/5.06, allocations: 0.6296 MB / 2.341 GB, free: 244.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 27 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.006745/5.067, allocations: 3.05 MB / 2.344 GB, free: 242.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004798/5.072, allocations: 1.216 MB / 2.346 GB, free: 242.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/5.072, allocations: 0 / 2.346 GB, free: 242.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/5.073, allocations: 393.8 kB / 2.346 GB, free: 242.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002936/5.076, allocations: 0.4959 MB / 2.346 GB, free: 242.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/5.095, allocations: 9.846 MB / 2.356 GB, free: 237.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/5.095, allocations: 1.085 MB / 2.357 GB, free: 237.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001536/5.097, allocations: 216.3 kB / 2.357 GB, free: 237.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/5.097, allocations: 419.7 kB / 2.358 GB, free: 237.2 MB / 1.167 GB Notification: Performance of SimCode: time 9.92e-07/5.097, allocations: 0 / 2.358 GB, free: 237.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07623/5.174, allocations: 38.56 MB / 2.395 GB, free: 236.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/5.174, allocations: 266.1 kB / 2.396 GB, free: 236.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.657/8.831, allocations: 0 / 2.396 GB, free: 236.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat does not exist to compare? outputFormat=mat