Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_y_etaCar,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.403/2.403, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.0009478/0.0009477, allocations: 184.8 kB / 496.1 MB, free: 12.86 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.42/1.42, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0008938/0.0008937, allocations: 99.58 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.27e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3019, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.22/1.522, allocations: 431.4 MB / 1.64 GB, free: 3.121 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/1.522, allocations: 91.94 kB / 1.64 GB, free: 3.031 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.151/4.673, allocations: 0.8753 GB / 2.515 GB, free: 22.26 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.263e-06/4.673, allocations: 0 / 2.515 GB, free: 22.26 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001409/4.674, allocations: 43.92 kB / 2.515 GB, free: 22.22 MB / 1.135 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.003326/4.677, allocations: 1.73 MB / 2.517 GB, free: 20.43 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/4.677, allocations: 12.03 kB / 2.517 GB, free: 20.41 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/4.677, allocations: 148.6 kB / 2.517 GB, free: 20.26 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007078/4.678, allocations: 239.2 kB / 2.518 GB, free: 20.03 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/4.681, allocations: 1.712 MB / 2.519 GB, free: 18.26 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/4.681, allocations: 77.98 kB / 2.519 GB, free: 18.18 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/4.681, allocations: 103.9 kB / 2.519 GB, free: 18.08 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/4.682, allocations: 1.011 MB / 2.52 GB, free: 17.04 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/4.682, allocations: 0 / 2.52 GB, free: 17.04 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.808e-05/4.683, allocations: 44 kB / 2.52 GB, free: 17 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/4.683, allocations: 34 kB / 2.52 GB, free: 16.96 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/4.684, allocations: 0.7576 MB / 2.521 GB, free: 16.2 MB / 1.135 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.004893/4.689, allocations: 4.73 MB / 2.526 GB, free: 11.23 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008682/4.69, allocations: 0.5219 MB / 2.526 GB, free: 10.7 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/4.69, allocations: 272.5 kB / 2.527 GB, free: 10.43 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004732/4.69, allocations: 0.8316 MB / 2.527 GB, free: 9.418 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/4.69, allocations: 35.12 kB / 2.527 GB, free: 9.371 MB / 1.135 GB Notification: Performance of pre-optimization done (n=59): time 1.714e-06/4.69, allocations: 0 / 2.527 GB, free: 9.371 MB / 1.135 GB Notification: Performance of matching and sorting (n=59): time 0.003608/4.694, allocations: 1.033 MB / 2.528 GB, free: 8.328 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/4.694, allocations: 59.97 kB / 2.529 GB, free: 8.258 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/4.695, allocations: 1.097 MB / 2.53 GB, free: 7.148 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/4.695, allocations: 45.7 kB / 2.53 GB, free: 7.098 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005167/4.696, allocations: 0.6377 MB / 2.53 GB, free: 6.453 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/4.696, allocations: 201 kB / 2.53 GB, free: 6.254 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/4.696, allocations: 12 kB / 2.53 GB, free: 6.242 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.748e-05/4.696, allocations: 330 kB / 2.531 GB, free: 5.914 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/4.697, allocations: 209.5 kB / 2.531 GB, free: 5.711 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/4.697, allocations: 439.1 kB / 2.531 GB, free: 5.188 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/4.698, allocations: 265.3 kB / 2.532 GB, free: 4.93 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/4.698, allocations: 0 / 2.532 GB, free: 4.93 MB / 1.135 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004106/4.702, allocations: 1.185 MB / 2.533 GB, free: 3.73 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002758/4.702, allocations: 1.429 MB / 2.534 GB, free: 2.219 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/4.702, allocations: 4 kB / 2.534 GB, free: 2.215 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/4.703, allocations: 108.7 kB / 2.534 GB, free: 2.105 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/4.703, allocations: 167.7 kB / 2.534 GB, free: 1.941 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004654/4.704, allocations: 0.6577 MB / 2.535 GB, free: 1.258 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/4.705, allocations: 163 kB / 2.535 GB, free: 1.098 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/4.705, allocations: 35.98 kB / 2.535 GB, free: 1.062 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/4.705, allocations: 10.19 kB / 2.535 GB, free: 1.055 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003445/4.708, allocations: 1.029 MB / 2.536 GB, free: 20 kB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/4.708, allocations: 4 kB / 2.536 GB, free: 16 kB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/4.709, allocations: 117.1 kB / 2.536 GB, free: 15.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/4.709, allocations: 159.7 kB / 2.537 GB, free: 15.74 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005357/4.71, allocations: 0.6577 MB / 2.537 GB, free: 15.06 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/4.711, allocations: 143.2 kB / 2.537 GB, free: 14.92 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/4.711, allocations: 35.98 kB / 2.537 GB, free: 14.88 MB / 1.151 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 () * 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.0002233/4.711, allocations: 152.9 kB / 2.538 GB, free: 14.73 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/4.712, allocations: 138.3 kB / 2.538 GB, free: 14.59 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/4.716, allocations: 1.165 MB / 2.539 GB, free: 13.42 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/4.716, allocations: 8 kB / 2.539 GB, free: 13.41 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/4.716, allocations: 0 / 2.539 GB, free: 13.41 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003661/4.719, allocations: 1.064 MB / 2.54 GB, free: 12.31 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006492/4.726, allocations: 2.511 MB / 2.542 GB, free: 9.695 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/4.726, allocations: 0 / 2.542 GB, free: 9.695 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/4.727, allocations: 132.2 kB / 2.542 GB, free: 9.566 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003669/4.727, allocations: 104.7 kB / 2.543 GB, free: 9.461 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/4.727, allocations: 19.98 kB / 2.543 GB, free: 9.441 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004491/4.732, allocations: 2.221 MB / 2.545 GB, free: 7.07 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/4.732, allocations: 7.953 kB / 2.545 GB, free: 7.062 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004766/4.736, allocations: 1.766 MB / 2.546 GB, free: 5.109 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006972/4.737, allocations: 335.1 kB / 2.547 GB, free: 4.762 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/4.737, allocations: 16 kB / 2.547 GB, free: 4.746 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008329/4.738, allocations: 83.83 kB / 2.547 GB, free: 4.664 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/4.738, allocations: 60.25 kB / 2.547 GB, free: 4.605 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/4.738, allocations: 27.98 kB / 2.547 GB, free: 4.578 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001477/4.74, allocations: 0.8842 MB / 2.548 GB, free: 3.691 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.11e-07/4.74, allocations: 0 / 2.548 GB, free: 3.691 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002535/4.742, allocations: 0.7954 MB / 2.549 GB, free: 2.895 MB / 1.151 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 () * 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.007057/4.749, allocations: 3.785 MB / 2.552 GB, free: 15 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002002/4.751, allocations: 0.9217 MB / 2.553 GB, free: 14.08 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/4.751, allocations: 0 / 2.553 GB, free: 14.08 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/4.753, allocations: 0.5172 MB / 2.554 GB, free: 13.55 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/4.756, allocations: 0.7601 MB / 2.554 GB, free: 12.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/4.761, allocations: 2.097 MB / 2.556 GB, free: 10.62 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008803/4.762, allocations: 1.213 MB / 2.558 GB, free: 9.379 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001751/4.764, allocations: 398.2 kB / 2.558 GB, free: 8.988 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006175/4.764, allocations: 499.3 kB / 2.559 GB, free: 8.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.563e-06/4.764, allocations: 0 / 2.559 GB, free: 8.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8739/5.638, allocations: 49.85 MB / 2.607 GB, free: 232.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/5.638, allocations: 221.5 kB / 2.607 GB, free: 232.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.729/9.367, allocations: 0 / 2.607 GB, free: 232.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat does not exist to compare? outputFormat=mat