Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",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.489/2.489, 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.001448/0.001447, allocations: 179 kB / 0.4901 GB, free: 2.258 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.723/1.723, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001086/0.001086, allocations: 114 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 15.38 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3417, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.277/1.619, allocations: 435.6 MB / 1.655 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.619, allocations: 94.33 kB / 1.655 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.024/5.643, allocations: 1.071 GB / 2.726 GB, free: 33.27 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.204e-06/5.643, allocations: 0 / 2.726 GB, free: 33.27 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002422/5.643, allocations: 35.98 kB / 2.726 GB, free: 33.24 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00555/5.649, allocations: 1.723 MB / 2.728 GB, free: 31.45 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/5.649, allocations: 8.031 kB / 2.728 GB, free: 31.44 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000432/5.649, allocations: 130.7 kB / 2.728 GB, free: 31.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/5.651, allocations: 346.1 kB / 2.728 GB, free: 30.96 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/5.655, allocations: 1.266 MB / 2.729 GB, free: 29.64 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/5.655, allocations: 134.6 kB / 2.729 GB, free: 29.51 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/5.656, allocations: 80 kB / 2.729 GB, free: 29.43 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/5.658, allocations: 0.963 MB / 2.73 GB, free: 28.43 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/5.658, allocations: 4 kB / 2.73 GB, free: 28.42 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.355e-05/5.658, allocations: 39.94 kB / 2.73 GB, free: 28.38 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/5.658, allocations: 33.98 kB / 2.731 GB, free: 28.35 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/5.66, allocations: 0.8314 MB / 2.731 GB, free: 27.52 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.007246/5.667, allocations: 4.636 MB / 2.736 GB, free: 22.56 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/5.669, allocations: 0.5849 MB / 2.736 GB, free: 21.96 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/5.67, allocations: 1.361 MB / 2.738 GB, free: 20.31 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/5.67, allocations: 34.56 kB / 2.738 GB, free: 20.27 MB / 1.167 GB Notification: Performance of pre-optimization done (n=42): time 3.897e-06/5.67, allocations: 4 kB / 2.738 GB, free: 20.26 MB / 1.167 GB Notification: Performance of matching and sorting (n=42): time 0.007755/5.678, allocations: 1.911 MB / 2.74 GB, free: 18.32 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/5.678, allocations: 55.41 kB / 2.74 GB, free: 18.25 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/5.68, allocations: 0.9445 MB / 2.741 GB, free: 17.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/5.68, allocations: 37.7 kB / 2.741 GB, free: 17.25 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/5.68, allocations: 0.5356 MB / 2.741 GB, free: 16.71 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/5.681, allocations: 149.8 kB / 2.741 GB, free: 16.57 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/5.681, allocations: 8 kB / 2.741 GB, free: 16.56 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.219e-05/5.681, allocations: 322 kB / 2.742 GB, free: 16.24 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006686/5.681, allocations: 269 kB / 2.742 GB, free: 15.98 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000811/5.682, allocations: 0.5035 MB / 2.742 GB, free: 15.36 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/5.683, allocations: 327.4 kB / 2.743 GB, free: 15.05 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/5.683, allocations: 0 / 2.743 GB, free: 15.05 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003826/5.687, allocations: 1.152 MB / 2.744 GB, free: 13.88 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003905/5.687, allocations: 1.58 MB / 2.745 GB, free: 12.19 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/5.687, allocations: 8 kB / 2.745 GB, free: 12.18 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/5.689, allocations: 342.8 kB / 2.746 GB, free: 11.84 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/5.689, allocations: 111.8 kB / 2.746 GB, free: 11.73 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/5.691, allocations: 0.9747 MB / 2.747 GB, free: 10.73 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/5.692, allocations: 187.2 kB / 2.747 GB, free: 10.55 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/5.692, allocations: 27.98 kB / 2.747 GB, free: 10.52 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/5.692, allocations: 4 kB / 2.747 GB, free: 10.52 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00329/5.696, allocations: 1.023 MB / 2.748 GB, free: 9.492 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/5.696, allocations: 7.984 kB / 2.748 GB, free: 9.484 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/5.697, allocations: 350.9 kB / 2.748 GB, free: 9.141 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/5.697, allocations: 111.8 kB / 2.748 GB, free: 9.031 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/5.699, allocations: 0.9659 MB / 2.749 GB, free: 8.039 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/5.7, allocations: 159.3 kB / 2.75 GB, free: 7.883 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/5.7, allocations: 31.98 kB / 2.75 GB, free: 7.852 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (46): * Single equations (assignments): 45 * 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.0007643/5.701, allocations: 349.2 kB / 2.75 GB, free: 7.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/5.701, allocations: 110.7 kB / 2.75 GB, free: 7.391 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/5.705, allocations: 1.132 MB / 2.751 GB, free: 6.242 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/5.705, allocations: 4 kB / 2.751 GB, free: 6.238 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/5.705, allocations: 3.953 kB / 2.751 GB, free: 6.234 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/5.705, allocations: 7.984 kB / 2.751 GB, free: 6.227 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005701/5.711, allocations: 2.121 MB / 2.753 GB, free: 4.027 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/5.711, allocations: 4 kB / 2.753 GB, free: 4.023 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/5.711, allocations: 55.91 kB / 2.753 GB, free: 3.969 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/5.712, allocations: 357.4 kB / 2.754 GB, free: 3.617 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/5.712, allocations: 19.98 kB / 2.754 GB, free: 3.598 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/5.714, allocations: 0.9987 MB / 2.755 GB, free: 2.574 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/5.714, allocations: 0 / 2.755 GB, free: 2.574 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/5.717, allocations: 1.278 MB / 2.756 GB, free: 1.207 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000745/5.718, allocations: 275.5 kB / 2.756 GB, free: 0.918 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/5.718, allocations: 19.98 kB / 2.756 GB, free: 0.8984 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008318/5.719, allocations: 87.83 kB / 2.756 GB, free: 0.8125 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/5.719, allocations: 47.88 kB / 2.756 GB, free: 0.7656 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/5.719, allocations: 16 kB / 2.756 GB, free: 0.75 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.892/6.611, allocations: 0.7492 MB / 2.757 GB, free: 245.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.523e-06/6.611, allocations: 0 / 2.757 GB, free: 245.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003172/6.614, allocations: 0.6384 MB / 2.758 GB, free: 245.8 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 (31): * Single equations (assignments): 26 * 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.00557/6.62, allocations: 2.958 MB / 2.76 GB, free: 244.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003213/6.623, allocations: 1.035 MB / 2.761 GB, free: 244.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/6.623, allocations: 0 / 2.761 GB, free: 244.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009349/6.624, allocations: 346.9 kB / 2.762 GB, free: 244.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/6.627, allocations: 0.4906 MB / 2.762 GB, free: 244.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/6.644, allocations: 9.196 MB / 2.771 GB, free: 239.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009537/6.645, allocations: 1.082 MB / 2.772 GB, free: 238.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001448/6.646, allocations: 207.1 kB / 2.773 GB, free: 238.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006071/6.647, allocations: 406.7 kB / 2.773 GB, free: 238.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.653e-06/6.647, allocations: 0 / 2.773 GB, free: 238.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08025/6.727, allocations: 38.43 MB / 2.81 GB, free: 238.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/6.728, allocations: 270 kB / 2.811 GB, free: 238.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.611/10.34, allocations: 1.594 kB / 2.811 GB, free: 238.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat does not exist to compare? outputFormat=mat