Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.55/2.55, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.00106/0.00106, allocations: 172.9 kB / 492.3 MB, free: 0.6055 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.557/1.557, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0008803/0.0008797, allocations: 95.41 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.505e-05/4.55e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3187, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.351/1.67, allocations: 435.1 MB / 1.637 GB, free: 11.55 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/1.67, allocations: 90.89 kB / 1.637 GB, free: 11.51 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.822/4.492, allocations: 0.5603 GB / 2.198 GB, free: 237.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.134e-06/4.492, allocations: 0 / 2.198 GB, free: 237.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004757/4.493, allocations: 38.14 kB / 2.198 GB, free: 237.7 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.007995/4.501, allocations: 1.831 MB / 2.2 GB, free: 237.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.509e-05/4.501, allocations: 9 kB / 2.2 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005581/4.502, allocations: 175.1 kB / 2.2 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005545/4.507, allocations: 0.6657 MB / 2.2 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005561/4.513, allocations: 1.789 MB / 2.202 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/4.513, allocations: 128.8 kB / 2.202 GB, free: 236.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/4.513, allocations: 126.4 kB / 2.202 GB, free: 236.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/4.517, allocations: 1.447 MB / 2.204 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/4.517, allocations: 5.688 kB / 2.204 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/4.517, allocations: 49.88 kB / 2.204 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.232e-05/4.517, allocations: 52.84 kB / 2.204 GB, free: 236.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/4.519, allocations: 1.112 MB / 2.205 GB, free: 236.4 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.01187/4.531, allocations: 6.799 MB / 2.212 GB, free: 233.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/4.532, allocations: 0.5499 MB / 2.212 GB, free: 233.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006184/4.533, allocations: 344.5 kB / 2.212 GB, free: 233.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/4.534, allocations: 1.27 MB / 2.214 GB, free: 232.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/4.534, allocations: 42.33 kB / 2.214 GB, free: 232.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=64): time 2.866e-06/4.534, allocations: 0 / 2.214 GB, free: 232.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=64): time 0.01042/4.545, allocations: 1.438 MB / 2.215 GB, free: 232 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/4.545, allocations: 112.7 kB / 2.215 GB, free: 231.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/4.548, allocations: 1.226 MB / 2.216 GB, free: 231.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003467/4.548, allocations: 44.14 kB / 2.217 GB, free: 231.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007439/4.549, allocations: 0.7002 MB / 2.217 GB, free: 231.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/4.549, allocations: 226.8 kB / 2.217 GB, free: 231.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/4.549, allocations: 17.38 kB / 2.217 GB, free: 231.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001106/4.549, allocations: 342.8 kB / 2.218 GB, free: 231.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007543/4.55, allocations: 331.3 kB / 2.218 GB, free: 231.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/4.551, allocations: 0.6038 MB / 2.219 GB, free: 230.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008767/4.552, allocations: 387 kB / 2.219 GB, free: 230.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/4.552, allocations: 4.406 kB / 2.219 GB, free: 230.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01119/4.563, allocations: 1.729 MB / 2.221 GB, free: 230.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005379/4.564, allocations: 2.497 MB / 2.223 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/4.564, allocations: 6.062 kB / 2.223 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/4.565, allocations: 419 kB / 2.224 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/4.567, allocations: 259.7 kB / 2.224 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/4.568, allocations: 0.9049 MB / 2.225 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003526/4.572, allocations: 275.9 kB / 2.225 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/4.572, allocations: 60.86 kB / 2.225 GB, free: 227.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/4.572, allocations: 2.75 kB / 2.225 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01077/4.583, allocations: 1.569 MB / 2.227 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-05/4.583, allocations: 8.938 kB / 2.227 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/4.585, allocations: 412.3 kB / 2.227 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/4.587, allocations: 251.3 kB / 2.227 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/4.588, allocations: 0.9104 MB / 2.228 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/4.591, allocations: 238.6 kB / 2.228 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/4.591, allocations: 54.39 kB / 2.228 GB, free: 226.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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.0006041/4.592, allocations: 158.3 kB / 2.229 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007501/4.593, allocations: 145.9 kB / 2.229 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/4.595, allocations: 0.9415 MB / 2.23 GB, free: 226.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/4.596, allocations: 14.45 kB / 2.23 GB, free: 226.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/4.596, allocations: 0.75 kB / 2.23 GB, free: 226.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001456/4.597, allocations: 0.8194 MB / 2.23 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007221/4.604, allocations: 2.704 MB / 2.233 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/4.604, allocations: 6.969 kB / 2.233 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009729/4.605, allocations: 145.2 kB / 2.233 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/4.607, allocations: 419.3 kB / 2.234 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.119e-05/4.607, allocations: 28.52 kB / 2.234 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/4.608, allocations: 0.901 MB / 2.234 GB, free: 225.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/4.608, allocations: 5.094 kB / 2.234 GB, free: 225.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/4.611, allocations: 1.72 MB / 2.236 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/4.612, allocations: 401.5 kB / 2.237 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007131/4.613, allocations: 20.05 kB / 2.237 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002375/4.615, allocations: 141.9 kB / 2.237 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/4.616, allocations: 55.22 kB / 2.237 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/4.616, allocations: 47.11 kB / 2.237 GB, free: 224.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002368/4.618, allocations: 0.9711 MB / 2.238 GB, free: 224.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.11e-07/4.618, allocations: 2.938 kB / 2.238 GB, free: 224.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00596/4.624, allocations: 0.9835 MB / 2.239 GB, free: 224.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * 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.005958/4.63, allocations: 4.095 MB / 2.243 GB, free: 222.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003231/4.633, allocations: 1.347 MB / 2.244 GB, free: 222 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/4.633, allocations: 0 / 2.244 GB, free: 222 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008239/4.634, allocations: 391.2 kB / 2.244 GB, free: 222 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/4.639, allocations: 0.7915 MB / 2.245 GB, free: 222 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008282/4.647, allocations: 2.362 MB / 2.247 GB, free: 221.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/4.649, allocations: 1.242 MB / 2.249 GB, free: 220.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00347/4.652, allocations: 457 kB / 2.249 GB, free: 220.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009335/4.653, allocations: 0.5633 MB / 2.25 GB, free: 220.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.102e-06/4.653, allocations: 0 / 2.25 GB, free: 220.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/4.762, allocations: 57.06 MB / 2.305 GB, free: 219.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/4.763, allocations: 240.5 kB / 2.306 GB, free: 218.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.199/8.962, allocations: 0 / 2.306 GB, free: 218.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat does not exist to compare? outputFormat=mat