Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",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.396/2.396, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001389/0.001389, allocations: 178.9 kB / 0.4901 GB, free: 2.23 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.642/1.642, allocations: 223.1 MB / 0.7992 GB, free: 15.65 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.001116/0.001116, allocations: 100.2 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004002, allocations: 10.34 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3286, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.547, allocations: 436.4 MB / 1.655 GB, free: 5.156 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.547, allocations: 101 kB / 1.656 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.974/3.521, allocations: 0.5647 GB / 2.22 GB, free: 85.19 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.673e-06/3.521, allocations: 0 / 2.22 GB, free: 85.19 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003557/3.521, allocations: 51.92 kB / 2.22 GB, free: 85.14 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.007651/3.529, allocations: 2.269 MB / 2.223 GB, free: 82.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/3.529, allocations: 8.031 kB / 2.223 GB, free: 82.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007784/3.53, allocations: 202.5 kB / 2.223 GB, free: 82.59 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005483/3.535, allocations: 0.6923 MB / 2.223 GB, free: 81.89 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005426/3.541, allocations: 1.869 MB / 2.225 GB, free: 79.97 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/3.541, allocations: 140.3 kB / 2.225 GB, free: 79.82 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005282/3.541, allocations: 136 kB / 2.225 GB, free: 79.69 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005357/3.547, allocations: 1.814 MB / 2.227 GB, free: 77.78 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/3.547, allocations: 11.92 kB / 2.227 GB, free: 77.77 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/3.547, allocations: 56 kB / 2.227 GB, free: 77.71 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.306e-05/3.547, allocations: 54.47 kB / 2.227 GB, free: 77.66 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005493/3.553, allocations: 1.579 MB / 2.229 GB, free: 76.07 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.01321/3.566, allocations: 7.391 MB / 2.236 GB, free: 68.36 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/3.568, allocations: 0.8272 MB / 2.237 GB, free: 67.53 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/3.569, allocations: 1.271 MB / 2.238 GB, free: 65.98 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/3.57, allocations: 55.11 kB / 2.238 GB, free: 65.92 MB / 1.167 GB Notification: Performance of pre-optimization done (n=77): time 2.896e-06/3.57, allocations: 0 / 2.238 GB, free: 65.92 MB / 1.167 GB Notification: Performance of matching and sorting (n=77): time 0.0259/3.595, allocations: 3.667 MB / 2.242 GB, free: 62.22 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/3.596, allocations: 196.6 kB / 2.242 GB, free: 61.98 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/3.599, allocations: 1.332 MB / 2.243 GB, free: 60.64 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003011/3.599, allocations: 49.92 kB / 2.243 GB, free: 60.59 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008971/3.6, allocations: 0.7665 MB / 2.244 GB, free: 59.81 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004052/3.6, allocations: 272.1 kB / 2.244 GB, free: 59.54 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/3.601, allocations: 20 kB / 2.244 GB, free: 59.52 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001201/3.601, allocations: 341.9 kB / 2.245 GB, free: 59.18 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/3.603, allocations: 0.5211 MB / 2.245 GB, free: 58.66 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/3.605, allocations: 0.8337 MB / 2.246 GB, free: 57.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/3.607, allocations: 0.5748 MB / 2.247 GB, free: 57.13 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/3.607, allocations: 4 kB / 2.247 GB, free: 57.12 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007115/3.614, allocations: 1.688 MB / 2.248 GB, free: 55.43 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006671/3.615, allocations: 2.514 MB / 2.251 GB, free: 52.67 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/3.615, allocations: 8 kB / 2.251 GB, free: 52.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/3.617, allocations: 492 kB / 2.251 GB, free: 52.18 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/3.619, allocations: 271.5 kB / 2.251 GB, free: 51.92 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/3.62, allocations: 0.9955 MB / 2.252 GB, free: 50.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/3.623, allocations: 302.5 kB / 2.253 GB, free: 50.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/3.624, allocations: 59.94 kB / 2.253 GB, free: 50.54 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/3.624, allocations: 4 kB / 2.253 GB, free: 50.54 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006469/3.63, allocations: 1.527 MB / 2.254 GB, free: 49.01 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/3.63, allocations: 12.06 kB / 2.254 GB, free: 49 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/3.632, allocations: 494.7 kB / 2.255 GB, free: 48.52 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/3.633, allocations: 271.6 kB / 2.255 GB, free: 48.25 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/3.635, allocations: 1.001 MB / 2.256 GB, free: 47.22 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/3.638, allocations: 258.8 kB / 2.256 GB, free: 46.97 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/3.638, allocations: 59.95 kB / 2.256 GB, free: 46.91 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.00135/3.639, allocations: 482.2 kB / 2.257 GB, free: 46.43 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006312/3.64, allocations: 162.1 kB / 2.257 GB, free: 46.27 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006247/3.646, allocations: 1.412 MB / 2.258 GB, free: 44.84 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/3.646, allocations: 8 kB / 2.258 GB, free: 44.83 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/3.646, allocations: 0 / 2.258 GB, free: 44.83 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005378/3.652, allocations: 1.262 MB / 2.259 GB, free: 43.53 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/3.662, allocations: 3.328 MB / 2.263 GB, free: 40.09 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/3.663, allocations: 4 kB / 2.263 GB, free: 40.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/3.664, allocations: 175.7 kB / 2.263 GB, free: 39.91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/3.665, allocations: 474.7 kB / 2.263 GB, free: 39.45 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/3.665, allocations: 35.95 kB / 2.263 GB, free: 39.41 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/3.667, allocations: 0.9779 MB / 2.264 GB, free: 38.41 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/3.667, allocations: 11.89 kB / 2.264 GB, free: 38.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/3.681, allocations: 2.875 MB / 2.267 GB, free: 35.33 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/3.683, allocations: 418.8 kB / 2.268 GB, free: 34.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007618/3.683, allocations: 31.98 kB / 2.268 GB, free: 34.87 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/3.686, allocations: 163.8 kB / 2.268 GB, free: 34.71 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/3.686, allocations: 84.34 kB / 2.268 GB, free: 34.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/3.686, allocations: 51.94 kB / 2.268 GB, free: 34.57 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002367/3.689, allocations: 1.05 MB / 2.269 GB, free: 33.52 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.81e-07/3.689, allocations: 0 / 2.269 GB, free: 33.52 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004646/3.693, allocations: 1.045 MB / 2.27 GB, free: 32.48 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01676/3.71, allocations: 5.114 MB / 2.275 GB, free: 27.26 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007071/3.717, allocations: 1.929 MB / 2.277 GB, free: 25.34 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/3.717, allocations: 4.5 kB / 2.277 GB, free: 25.33 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/3.719, allocations: 0.6196 MB / 2.277 GB, free: 24.71 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004463/3.724, allocations: 0.7922 MB / 2.278 GB, free: 23.93 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03085/3.755, allocations: 14.48 MB / 2.292 GB, free: 8.949 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/3.756, allocations: 1.297 MB / 2.294 GB, free: 7.621 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002614/3.759, allocations: 400.1 kB / 2.294 GB, free: 7.227 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/3.76, allocations: 0.6437 MB / 2.295 GB, free: 6.582 MB / 1.167 GB Notification: Performance of SimCode: time 1.282e-06/3.76, allocations: 0 / 2.295 GB, free: 6.582 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8255/4.585, allocations: 57.7 MB / 2.351 GB, free: 244.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/4.586, allocations: 280.2 kB / 2.351 GB, free: 244 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.43/9.016, allocations: 0 / 2.351 GB, free: 244 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection_res.mat does not exist to compare? outputFormat=mat