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.495/2.495, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001359/0.001359, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009232/0.0009231, allocations: 87.97 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.349e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2804, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.241/1.522, allocations: 435.5 MB / 1.644 GB, free: 14.9 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.522, allocations: 87.95 kB / 1.644 GB, free: 14.81 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.546/6.068, allocations: 1.068 GB / 2.712 GB, free: 247.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.764e-06/6.068, allocations: 0 / 2.712 GB, free: 247.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002213/6.069, allocations: 34.7 kB / 2.712 GB, free: 247.4 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.00447/6.073, allocations: 1.49 MB / 2.713 GB, free: 246.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/6.073, allocations: 11.22 kB / 2.713 GB, free: 246.7 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003719/6.074, allocations: 122.2 kB / 2.714 GB, free: 246.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/6.075, allocations: 352.3 kB / 2.714 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003662/6.079, allocations: 1.258 MB / 2.715 GB, free: 246 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003959/6.08, allocations: 135.3 kB / 2.715 GB, free: 246 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/6.08, allocations: 82.41 kB / 2.715 GB, free: 246 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/6.082, allocations: 0.857 MB / 2.716 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/6.082, allocations: 0 / 2.716 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/6.082, allocations: 38.73 kB / 2.716 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.554e-05/6.082, allocations: 28.66 kB / 2.716 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/6.083, allocations: 0.6261 MB / 2.717 GB, free: 245.2 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.007205/6.09, allocations: 4.628 MB / 2.721 GB, free: 241.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/6.091, allocations: 451 kB / 2.722 GB, free: 241.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/6.092, allocations: 198.3 kB / 2.722 GB, free: 241.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/6.093, allocations: 1.362 MB / 2.723 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/6.093, allocations: 47.47 kB / 2.723 GB, free: 240.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 3.196e-06/6.093, allocations: 0 / 2.723 GB, free: 240.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.002752/6.096, allocations: 0.7327 MB / 2.724 GB, free: 239.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/6.096, allocations: 56.66 kB / 2.724 GB, free: 239.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/6.097, allocations: 0.9053 MB / 2.725 GB, free: 239.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/6.097, allocations: 37.33 kB / 2.725 GB, free: 239.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/6.098, allocations: 0.5408 MB / 2.726 GB, free: 238.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/6.098, allocations: 145.5 kB / 2.726 GB, free: 238.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/6.098, allocations: 8 kB / 2.726 GB, free: 238.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/6.098, allocations: 325.2 kB / 2.726 GB, free: 238.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/6.098, allocations: 165.3 kB / 2.726 GB, free: 238.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/6.099, allocations: 411.8 kB / 2.727 GB, free: 238.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/6.099, allocations: 217.7 kB / 2.727 GB, free: 238 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/6.099, allocations: 3.875 kB / 2.727 GB, free: 238 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002887/6.102, allocations: 0.9003 MB / 2.728 GB, free: 237.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004871/6.103, allocations: 1.578 MB / 2.729 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/6.103, allocations: 3.469 kB / 2.729 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009289/6.104, allocations: 257 kB / 2.73 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/6.104, allocations: 110 kB / 2.73 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008254/6.105, allocations: 0.8247 MB / 2.73 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/6.107, allocations: 193.2 kB / 2.731 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/6.107, allocations: 26.56 kB / 2.731 GB, free: 235.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/6.107, allocations: 5.781 kB / 2.731 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002458/6.109, allocations: 0.7792 MB / 2.731 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/6.109, allocations: 6.438 kB / 2.731 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007519/6.11, allocations: 254.4 kB / 2.732 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/6.11, allocations: 111.5 kB / 2.732 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007445/6.111, allocations: 0.8123 MB / 2.733 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/6.113, allocations: 156.2 kB / 2.733 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/6.113, allocations: 33.97 kB / 2.733 GB, free: 234.3 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.0002349/6.113, allocations: 149.1 kB / 2.733 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/6.113, allocations: 110.8 kB / 2.733 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/6.117, allocations: 0.9454 MB / 2.734 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/6.117, allocations: 7.438 kB / 2.734 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/6.117, allocations: 0 / 2.734 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/6.117, allocations: 3.75 kB / 2.734 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/6.121, allocations: 1.941 MB / 2.736 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/6.121, allocations: 3.875 kB / 2.736 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/6.122, allocations: 46.56 kB / 2.736 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007486/6.122, allocations: 265 kB / 2.736 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/6.122, allocations: 26.05 kB / 2.736 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008167/6.123, allocations: 0.8474 MB / 2.737 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/6.123, allocations: 3.188 kB / 2.737 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/6.126, allocations: 1.097 MB / 2.738 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007317/6.127, allocations: 279 kB / 2.738 GB, free: 231.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/6.127, allocations: 11.86 kB / 2.738 GB, free: 231.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/6.128, allocations: 98.16 kB / 2.738 GB, free: 231.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/6.128, allocations: 33.77 kB / 2.738 GB, free: 231.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.617e-05/6.129, allocations: 22.39 kB / 2.738 GB, free: 231.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001336/6.13, allocations: 0.711 MB / 2.739 GB, free: 231 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.01e-07/6.13, allocations: 0 / 2.739 GB, free: 231 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002747/6.133, allocations: 0.635 MB / 2.74 GB, free: 230.8 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.004849/6.137, allocations: 2.77 MB / 2.742 GB, free: 229.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00203/6.14, allocations: 0.8268 MB / 2.743 GB, free: 228.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/6.14, allocations: 0 / 2.743 GB, free: 228.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005691/6.14, allocations: 268.2 kB / 2.744 GB, free: 228.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/6.143, allocations: 0.4902 MB / 2.744 GB, free: 228.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/6.148, allocations: 1.599 MB / 2.746 GB, free: 227.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007804/6.148, allocations: 1.086 MB / 2.747 GB, free: 227 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001717/6.15, allocations: 270.1 kB / 2.747 GB, free: 226.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/6.151, allocations: 386.2 kB / 2.747 GB, free: 226.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.613e-06/6.151, allocations: 0 / 2.747 GB, free: 226.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07362/6.224, allocations: 40.43 MB / 2.787 GB, free: 197.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/6.225, allocations: 247.4 kB / 2.787 GB, free: 197 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.567/9.791, allocations: 0 / 2.787 GB, free: 197 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