Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.477/2.477, allocations: 390.5 MB / 398 MB, free: 10.94 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.001092/0.001092, allocations: 183.8 kB / 491.2 MB, free: 1.57 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.571/1.571, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.00102/0.00102, allocations: 87.92 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.678e-05/2.682e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3199, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.459/1.779, allocations: 435.2 MB / 1.637 GB, free: 11.49 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/1.78, allocations: 90.97 kB / 1.637 GB, free: 11.44 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.039/3.818, allocations: 0.5576 GB / 2.195 GB, free: 2.734 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.963e-06/3.818, allocations: 0 / 2.195 GB, free: 2.734 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001468/3.818, allocations: 39.98 kB / 2.195 GB, free: 2.695 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.00424/3.823, allocations: 1.84 MB / 2.197 GB, free: 0.793 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/3.823, allocations: 12.03 kB / 2.197 GB, free: 0.7812 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/3.827, allocations: 0.6613 MB / 2.198 GB, free: 120 kB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9223/4.75, allocations: 1.785 MB / 2.199 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/4.75, allocations: 81.94 kB / 2.199 GB, free: 237.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/4.75, allocations: 72.59 kB / 2.199 GB, free: 237.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002537/4.753, allocations: 1.035 MB / 2.2 GB, free: 237.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/4.755, allocations: 1.282 MB / 2.202 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/4.756, allocations: 7.141 kB / 2.202 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/4.756, allocations: 3.125 kB / 2.202 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.867e-05/4.756, allocations: 53.89 kB / 2.202 GB, free: 237.5 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.01152/4.767, allocations: 6.518 MB / 2.208 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009808/4.768, allocations: 0.5185 MB / 2.209 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/4.769, allocations: 320.9 kB / 2.209 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/4.77, allocations: 1.267 MB / 2.21 GB, free: 233.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/4.77, allocations: 44.22 kB / 2.21 GB, free: 233.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=64): time 3.747e-06/4.77, allocations: 2.625 kB / 2.21 GB, free: 233.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=64): time 0.01156/4.782, allocations: 1.507 MB / 2.212 GB, free: 233.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/4.782, allocations: 111.4 kB / 2.212 GB, free: 233 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/4.784, allocations: 0.9701 MB / 2.213 GB, free: 232.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002788/4.784, allocations: 35.8 kB / 2.213 GB, free: 232.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007589/4.785, allocations: 0.7179 MB / 2.213 GB, free: 232.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/4.785, allocations: 213.6 kB / 2.214 GB, free: 232.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/4.785, allocations: 0 / 2.214 GB, free: 232.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001025/4.785, allocations: 347.5 kB / 2.214 GB, free: 232.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/4.786, allocations: 313.5 kB / 2.214 GB, free: 232.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000777/4.787, allocations: 0.5914 MB / 2.215 GB, free: 231.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/4.789, allocations: 496.2 kB / 2.215 GB, free: 231.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/4.789, allocations: 1.5 kB / 2.215 GB, free: 231.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01169/4.801, allocations: 1.764 MB / 2.217 GB, free: 231.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005651/4.801, allocations: 2.463 MB / 2.219 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/4.801, allocations: 6.344 kB / 2.22 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/4.802, allocations: 363.9 kB / 2.22 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/4.804, allocations: 255 kB / 2.22 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/4.805, allocations: 0.9528 MB / 2.221 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/4.808, allocations: 228.5 kB / 2.221 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/4.808, allocations: 58.11 kB / 2.221 GB, free: 228.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/4.808, allocations: 3.75 kB / 2.221 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0121/4.821, allocations: 1.606 MB / 2.223 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.634e-05/4.821, allocations: 8.562 kB / 2.223 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/4.822, allocations: 359.5 kB / 2.223 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/4.824, allocations: 254.7 kB / 2.223 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/4.826, allocations: 0.953 MB / 2.224 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/4.829, allocations: 185.4 kB / 2.225 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003786/4.829, allocations: 57.34 kB / 2.225 GB, free: 228.1 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.000645/4.83, allocations: 135.7 kB / 2.225 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01218/4.842, allocations: 1.507 MB / 2.226 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009365/4.843, allocations: 124.5 kB / 2.226 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004398/4.847, allocations: 0.9941 MB / 2.227 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/4.847, allocations: 10.86 kB / 2.227 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/4.847, allocations: 1.281 kB / 2.227 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002858/4.85, allocations: 0.8942 MB / 2.228 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008828/4.859, allocations: 2.596 MB / 2.231 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/4.859, allocations: 5.828 kB / 2.231 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/4.86, allocations: 151.6 kB / 2.231 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009174/4.861, allocations: 361.2 kB / 2.231 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/4.861, allocations: 16.91 kB / 2.231 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/4.863, allocations: 0.9515 MB / 2.232 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/4.863, allocations: 8.578 kB / 2.232 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/4.867, allocations: 1.727 MB / 2.234 GB, free: 225.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/4.869, allocations: 367.9 kB / 2.234 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000603/4.869, allocations: 15.38 kB / 2.234 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/4.872, allocations: 130.4 kB / 2.234 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/4.872, allocations: 60.28 kB / 2.234 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/4.872, allocations: 46.17 kB / 2.234 GB, free: 225.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001964/4.874, allocations: 0.7402 MB / 2.235 GB, free: 225.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.51e-07/4.874, allocations: 1.031 kB / 2.235 GB, free: 225.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007907/4.882, allocations: 0.9761 MB / 2.236 GB, free: 225.6 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.01067/4.893, allocations: 4.139 MB / 2.24 GB, free: 223.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0042/4.897, allocations: 1.269 MB / 2.241 GB, free: 223.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/4.897, allocations: 1.844 kB / 2.241 GB, free: 223.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009665/4.898, allocations: 368.6 kB / 2.242 GB, free: 223.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/4.902, allocations: 0.5702 MB / 2.242 GB, free: 223.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009122/4.911, allocations: 2.264 MB / 2.245 GB, free: 222.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/4.913, allocations: 1.235 MB / 2.246 GB, free: 221.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003155/4.916, allocations: 401.5 kB / 2.246 GB, free: 221.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009545/4.917, allocations: 0.545 MB / 2.247 GB, free: 221.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.493e-06/4.917, allocations: 0 / 2.247 GB, free: 221.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0961/5.013, allocations: 45.6 MB / 2.291 GB, free: 220.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/5.013, allocations: 199.9 kB / 2.291 GB, free: 220.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/8.613, allocations: 0 / 2.291 GB, free: 220.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat does not exist to compare? outputFormat=mat