Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y",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.36/2.36, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001583/0.001583, allocations: 183.9 kB / 0.4901 GB, free: 2.223 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.632/1.632, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001058/0.001058, allocations: 90.95 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003907, allocations: 10.53 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3469, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/1.649, allocations: 431.3 MB / 1.65 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/1.65, allocations: 89.64 kB / 1.651 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.041/3.69, allocations: 0.5683 GB / 2.219 GB, free: 104.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.134e-06/3.69, allocations: 0 / 2.219 GB, free: 104.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002776/3.691, allocations: 43.92 kB / 2.219 GB, free: 104.6 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006893/3.698, allocations: 2.009 MB / 2.221 GB, free: 102.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/3.698, allocations: 12.03 kB / 2.221 GB, free: 102.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000601/3.698, allocations: 144 kB / 2.221 GB, free: 102.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/3.7, allocations: 237.9 kB / 2.221 GB, free: 102.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004926/3.705, allocations: 1.731 MB / 2.223 GB, free: 100.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.869e-05/3.705, allocations: 77.94 kB / 2.223 GB, free: 100.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/3.705, allocations: 99.95 kB / 2.223 GB, free: 100.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/3.708, allocations: 1.108 MB / 2.224 GB, free: 98.98 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/3.708, allocations: 4 kB / 2.224 GB, free: 98.97 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/3.708, allocations: 40 kB / 2.224 GB, free: 98.93 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/3.708, allocations: 38 kB / 2.224 GB, free: 98.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/3.71, allocations: 0.9134 MB / 2.225 GB, free: 97.98 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.007586/3.718, allocations: 4.727 MB / 2.23 GB, free: 93.02 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/3.719, allocations: 0.6069 MB / 2.23 GB, free: 92.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00053/3.72, allocations: 0.8238 MB / 2.231 GB, free: 91.39 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/3.72, allocations: 47.12 kB / 2.231 GB, free: 91.34 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 2.464e-06/3.72, allocations: 4 kB / 2.231 GB, free: 91.33 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.007359/3.727, allocations: 1.842 MB / 2.233 GB, free: 89.46 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/3.727, allocations: 59.97 kB / 2.233 GB, free: 89.39 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/3.729, allocations: 1.11 MB / 2.234 GB, free: 88.27 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/3.729, allocations: 41.7 kB / 2.234 GB, free: 88.22 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000645/3.73, allocations: 0.63 MB / 2.235 GB, free: 87.58 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/3.73, allocations: 201 kB / 2.235 GB, free: 87.38 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/3.73, allocations: 12 kB / 2.235 GB, free: 87.37 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.383e-05/3.731, allocations: 337.9 kB / 2.235 GB, free: 87.04 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006369/3.731, allocations: 273.1 kB / 2.236 GB, free: 86.77 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007672/3.732, allocations: 0.5016 MB / 2.236 GB, free: 86.17 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/3.733, allocations: 342 kB / 2.236 GB, free: 85.84 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/3.733, allocations: 0 / 2.236 GB, free: 85.84 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004673/3.737, allocations: 1.345 MB / 2.238 GB, free: 84.48 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003881/3.738, allocations: 1.427 MB / 2.239 GB, free: 82.97 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.123e-05/3.738, allocations: 4 kB / 2.239 GB, free: 82.97 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/3.738, allocations: 148.6 kB / 2.239 GB, free: 82.82 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/3.739, allocations: 163.8 kB / 2.239 GB, free: 82.66 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000754/3.74, allocations: 0.7084 MB / 2.24 GB, free: 81.93 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/3.741, allocations: 170.9 kB / 2.24 GB, free: 81.76 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/3.742, allocations: 39.97 kB / 2.24 GB, free: 81.72 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/3.742, allocations: 4 kB / 2.24 GB, free: 81.71 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004154/3.746, allocations: 1.185 MB / 2.241 GB, free: 80.53 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.682e-05/3.746, allocations: 8.031 kB / 2.241 GB, free: 80.52 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/3.746, allocations: 148.7 kB / 2.242 GB, free: 80.37 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/3.747, allocations: 159.8 kB / 2.242 GB, free: 80.21 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007213/3.748, allocations: 0.7162 MB / 2.242 GB, free: 79.47 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/3.749, allocations: 143.2 kB / 2.243 GB, free: 79.33 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/3.749, allocations: 35.98 kB / 2.243 GB, free: 79.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 71 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.000997/3.75, allocations: 421.1 kB / 2.243 GB, free: 78.88 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000481/3.751, allocations: 134.3 kB / 2.243 GB, free: 78.74 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004776/3.756, allocations: 1.332 MB / 2.244 GB, free: 77.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/3.756, allocations: 8 kB / 2.244 GB, free: 77.39 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/3.756, allocations: 0 / 2.244 GB, free: 77.39 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00394/3.76, allocations: 1.221 MB / 2.246 GB, free: 76.14 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007775/3.768, allocations: 2.659 MB / 2.248 GB, free: 73.38 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/3.768, allocations: 0 / 2.248 GB, free: 73.38 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/3.768, allocations: 124.2 kB / 2.248 GB, free: 73.25 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004854/3.769, allocations: 144.7 kB / 2.249 GB, free: 73.11 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.397e-05/3.769, allocations: 16 kB / 2.249 GB, free: 73.09 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004925/3.774, allocations: 2.552 MB / 2.251 GB, free: 70.39 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/3.774, allocations: 7.938 kB / 2.251 GB, free: 70.38 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00556/3.779, allocations: 1.996 MB / 2.253 GB, free: 68.19 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/3.78, allocations: 327.1 kB / 2.253 GB, free: 67.85 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005266/3.781, allocations: 16 kB / 2.253 GB, free: 67.83 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/3.782, allocations: 83.94 kB / 2.253 GB, free: 67.75 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/3.782, allocations: 60.25 kB / 2.253 GB, free: 67.69 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.261e-05/3.782, allocations: 27.98 kB / 2.253 GB, free: 67.66 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001847/3.784, allocations: 0.9054 MB / 2.254 GB, free: 66.76 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.8e-07/3.784, allocations: 0 / 2.254 GB, free: 66.76 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003602/3.788, allocations: 0.7958 MB / 2.255 GB, free: 65.96 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.007294/3.795, allocations: 4.002 MB / 2.259 GB, free: 61.87 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002598/3.798, allocations: 1.097 MB / 2.26 GB, free: 60.78 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/3.798, allocations: 0 / 2.26 GB, free: 60.78 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/3.799, allocations: 0.5839 MB / 2.261 GB, free: 60.18 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/3.803, allocations: 0.7631 MB / 2.261 GB, free: 59.43 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/3.824, allocations: 10.61 MB / 2.272 GB, free: 48.41 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/3.825, allocations: 1.206 MB / 2.273 GB, free: 47.18 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001638/3.827, allocations: 303.1 kB / 2.273 GB, free: 46.88 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006344/3.827, allocations: 0.5148 MB / 2.274 GB, free: 46.36 MB / 1.167 GB Notification: Performance of SimCode: time 1.333e-06/3.827, allocations: 0 / 2.274 GB, free: 46.36 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8117/4.639, allocations: 47.55 MB / 2.32 GB, free: 244.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/4.639, allocations: 251 kB / 2.32 GB, free: 244.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.01/8.649, allocations: 0.6875 kB / 2.32 GB, free: 244.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat does not exist to compare? outputFormat=mat