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.362/2.362, allocations: 390.5 MB / 398 MB, free: 10.95 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.001367/0.001367, allocations: 185.7 kB / 491.2 MB, free: 1.582 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.633/1.633, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001084/0.001084, allocations: 90.62 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.066e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3212, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.596, allocations: 434.8 MB / 1.637 GB, free: 12.42 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.596, allocations: 94.38 kB / 1.637 GB, free: 12.37 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.444/6.04, allocations: 1.063 GB / 2.7 GB, free: 250.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.633e-06/6.04, allocations: 6.469 kB / 2.7 GB, free: 250.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002114/6.041, allocations: 30.42 kB / 2.7 GB, free: 250.6 MB / 1.151 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.004154/6.045, allocations: 1.492 MB / 2.702 GB, free: 250 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/6.045, allocations: 10.09 kB / 2.702 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/6.047, allocations: 351.5 kB / 2.702 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/6.051, allocations: 1.265 MB / 2.703 GB, free: 249.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/6.051, allocations: 98.28 kB / 2.704 GB, free: 249.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/6.051, allocations: 49.28 kB / 2.704 GB, free: 249.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001415/6.053, allocations: 0.6036 MB / 2.704 GB, free: 249.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/6.054, allocations: 0.7474 MB / 2.705 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/6.054, allocations: 1.125 kB / 2.705 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/6.054, allocations: 3.953 kB / 2.705 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/6.054, allocations: 34.05 kB / 2.705 GB, free: 249.5 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006264/6.061, allocations: 4.441 MB / 2.709 GB, free: 247.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/6.062, allocations: 426.1 kB / 2.71 GB, free: 247.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/6.062, allocations: 185.3 kB / 2.71 GB, free: 247.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/6.063, allocations: 1.365 MB / 2.711 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/6.063, allocations: 42.47 kB / 2.711 GB, free: 245.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 3.356e-06/6.063, allocations: 0 / 2.711 GB, free: 245.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.006207/6.069, allocations: 1.314 MB / 2.713 GB, free: 245.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/6.069, allocations: 55.28 kB / 2.713 GB, free: 245.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/6.071, allocations: 0.7423 MB / 2.713 GB, free: 245.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/6.071, allocations: 28.77 kB / 2.713 GB, free: 245.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/6.072, allocations: 0.5347 MB / 2.714 GB, free: 245 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/6.072, allocations: 145 kB / 2.714 GB, free: 244.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/6.072, allocations: 0 / 2.714 GB, free: 244.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.388e-05/6.072, allocations: 327.9 kB / 2.714 GB, free: 244.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/6.072, allocations: 161.8 kB / 2.714 GB, free: 244.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/6.073, allocations: 393.5 kB / 2.715 GB, free: 244.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00395/6.077, allocations: 0.8293 MB / 2.716 GB, free: 244.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/6.077, allocations: 0 / 2.716 GB, free: 244.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.006304/6.083, allocations: 1.481 MB / 2.717 GB, free: 244.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003321/6.083, allocations: 1.571 MB / 2.719 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/6.083, allocations: 3.688 kB / 2.719 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006843/6.084, allocations: 231 kB / 2.719 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/6.084, allocations: 103.4 kB / 2.719 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009709/6.085, allocations: 0.8786 MB / 2.72 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/6.087, allocations: 152.6 kB / 2.72 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.572e-05/6.087, allocations: 34.38 kB / 2.72 GB, free: 242.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/6.087, allocations: 5.656 kB / 2.72 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005812/6.093, allocations: 1.338 MB / 2.721 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/6.093, allocations: 7.406 kB / 2.721 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/6.093, allocations: 234.2 kB / 2.722 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/6.094, allocations: 104.9 kB / 2.722 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008711/6.095, allocations: 0.8666 MB / 2.722 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/6.096, allocations: 122.4 kB / 2.723 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.545e-05/6.096, allocations: 29.11 kB / 2.723 GB, free: 241.5 MB / 1.151 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 () * 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.0002143/6.096, allocations: 124.9 kB / 2.723 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005829/6.102, allocations: 1.309 MB / 2.724 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/6.102, allocations: 95.62 kB / 2.724 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006334/6.109, allocations: 1.503 MB / 2.726 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/6.109, allocations: 6.812 kB / 2.726 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/6.109, allocations: 3.469 kB / 2.726 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/6.109, allocations: 2.766 kB / 2.726 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008037/6.117, allocations: 2.387 MB / 2.728 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/6.117, allocations: 0 / 2.728 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/6.117, allocations: 58.75 kB / 2.728 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006402/6.118, allocations: 248.6 kB / 2.728 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/6.118, allocations: 11.3 kB / 2.728 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009699/6.119, allocations: 0.8905 MB / 2.729 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/6.119, allocations: 4.375 kB / 2.729 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00634/6.125, allocations: 1.648 MB / 2.731 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007374/6.126, allocations: 267.7 kB / 2.731 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/6.126, allocations: 2.344 kB / 2.731 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/6.127, allocations: 94.62 kB / 2.731 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/6.128, allocations: 33.52 kB / 2.731 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.452e-05/6.128, allocations: 18.44 kB / 2.731 GB, free: 239.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001152/6.129, allocations: 0.5683 MB / 2.732 GB, free: 239.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.5e-07/6.129, allocations: 3.156 kB / 2.732 GB, free: 239.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002623/6.132, allocations: 0.6298 MB / 2.732 GB, free: 239.5 MB / 1.151 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 () * 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.007812/6.139, allocations: 3.33 MB / 2.736 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001628/6.141, allocations: 0.7489 MB / 2.736 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/6.141, allocations: 2.438 kB / 2.736 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004639/6.141, allocations: 252.9 kB / 2.737 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/6.144, allocations: 391.7 kB / 2.737 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/6.148, allocations: 1.525 MB / 2.738 GB, free: 237.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/6.148, allocations: 1.086 MB / 2.739 GB, free: 236.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001345/6.15, allocations: 232.9 kB / 2.74 GB, free: 236.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/6.15, allocations: 386.8 kB / 2.74 GB, free: 236.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.02e-07/6.15, allocations: 2.094 kB / 2.74 GB, free: 236.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07379/6.224, allocations: 32.34 MB / 2.772 GB, free: 235.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/6.224, allocations: 191 kB / 2.772 GB, free: 235.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/9.455, allocations: 0 / 2.772 GB, free: 235.4 MB / 1.151 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