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.541/2.541, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001259/0.001259, allocations: 183.1 kB / 0.4901 GB, free: 2.262 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.715/1.715, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001062/0.001062, allocations: 104 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004057, allocations: 10.44 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3152, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.604, allocations: 435.9 MB / 1.655 GB, free: 9.516 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/1.604, allocations: 102.8 kB / 1.655 GB, free: 9.461 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.897/3.501, allocations: 0.562 GB / 2.217 GB, free: 106.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.442e-06/3.501, allocations: 0 / 2.217 GB, free: 106.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001581/3.501, allocations: 43.98 kB / 2.217 GB, free: 106.2 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005507/3.506, allocations: 2.095 MB / 2.219 GB, free: 104.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.75e-05/3.507, allocations: 16.03 kB / 2.219 GB, free: 104 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002957/3.507, allocations: 177.4 kB / 2.219 GB, free: 103.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004806/3.512, allocations: 0.6613 MB / 2.22 GB, free: 103.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003589/3.515, allocations: 1.817 MB / 2.222 GB, free: 101.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/3.515, allocations: 128 kB / 2.222 GB, free: 101.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/3.516, allocations: 116 kB / 2.222 GB, free: 101.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003665/3.519, allocations: 1.631 MB / 2.224 GB, free: 99.34 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/3.519, allocations: 11.84 kB / 2.224 GB, free: 99.33 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/3.519, allocations: 52 kB / 2.224 GB, free: 99.28 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.766e-05/3.52, allocations: 54.16 kB / 2.224 GB, free: 99.22 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004389/3.524, allocations: 1.457 MB / 2.225 GB, free: 97.76 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.009791/3.534, allocations: 6.783 MB / 2.232 GB, free: 90.68 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/3.536, allocations: 0.6969 MB / 2.232 GB, free: 89.97 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/3.537, allocations: 1.271 MB / 2.234 GB, free: 88.42 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/3.537, allocations: 47.12 kB / 2.234 GB, free: 88.37 MB / 1.167 GB Notification: Performance of pre-optimization done (n=64): time 3.828e-06/3.537, allocations: 0 / 2.234 GB, free: 88.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=64): time 0.02821/3.565, allocations: 3.812 MB / 2.237 GB, free: 84.52 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/3.565, allocations: 111.3 kB / 2.238 GB, free: 84.39 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/3.568, allocations: 1.262 MB / 2.239 GB, free: 83.12 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003262/3.568, allocations: 45.7 kB / 2.239 GB, free: 83.07 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006154/3.569, allocations: 0.7032 MB / 2.24 GB, free: 82.36 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/3.569, allocations: 228.8 kB / 2.24 GB, free: 82.13 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/3.569, allocations: 12 kB / 2.24 GB, free: 82.12 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.693e-05/3.569, allocations: 341.9 kB / 2.24 GB, free: 81.78 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/3.571, allocations: 0.4938 MB / 2.241 GB, free: 81.29 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/3.573, allocations: 0.7763 MB / 2.241 GB, free: 80.39 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/3.575, allocations: 0.5379 MB / 2.242 GB, free: 79.85 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/3.575, allocations: 3.938 kB / 2.242 GB, free: 79.85 MB / 1.167 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01265/3.587, allocations: 2.097 MB / 2.244 GB, free: 77.74 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006935/3.588, allocations: 2.491 MB / 2.246 GB, free: 75.11 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/3.588, allocations: 8 kB / 2.246 GB, free: 75.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/3.59, allocations: 495.9 kB / 2.247 GB, free: 74.61 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/3.592, allocations: 251.6 kB / 2.247 GB, free: 74.37 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/3.593, allocations: 0.994 MB / 2.248 GB, free: 73.35 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/3.596, allocations: 270.6 kB / 2.248 GB, free: 73.08 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/3.596, allocations: 63.94 kB / 2.248 GB, free: 73.02 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/3.596, allocations: 5.562 kB / 2.248 GB, free: 73.02 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01237/3.609, allocations: 1.936 MB / 2.25 GB, free: 71.07 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/3.609, allocations: 8 kB / 2.25 GB, free: 71.07 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/3.61, allocations: 482.9 kB / 2.251 GB, free: 70.59 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/3.612, allocations: 251.6 kB / 2.251 GB, free: 70.35 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/3.613, allocations: 0.9952 MB / 2.252 GB, free: 69.33 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/3.616, allocations: 234.8 kB / 2.252 GB, free: 69.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/3.616, allocations: 63.94 kB / 2.252 GB, free: 69.04 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: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked 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.001201/3.618, allocations: 452.8 kB / 2.253 GB, free: 68.58 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/3.618, allocations: 154.1 kB / 2.253 GB, free: 68.43 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00403/3.622, allocations: 1.251 MB / 2.254 GB, free: 67.16 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/3.622, allocations: 7.984 kB / 2.254 GB, free: 67.15 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/3.622, allocations: 4 kB / 2.254 GB, free: 67.15 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003514/3.625, allocations: 1.123 MB / 2.255 GB, free: 66 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007542/3.633, allocations: 3.016 MB / 2.258 GB, free: 62.86 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/3.633, allocations: 4 kB / 2.258 GB, free: 62.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009622/3.634, allocations: 155.8 kB / 2.258 GB, free: 62.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/3.636, allocations: 479.1 kB / 2.259 GB, free: 62.23 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.617e-05/3.636, allocations: 23.97 kB / 2.259 GB, free: 62.21 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/3.637, allocations: 0.9933 MB / 2.26 GB, free: 61.19 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/3.637, allocations: 4 kB / 2.26 GB, free: 61.19 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005827/3.643, allocations: 2.166 MB / 2.262 GB, free: 58.79 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/3.644, allocations: 394.9 kB / 2.262 GB, free: 58.38 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/3.644, allocations: 23.92 kB / 2.262 GB, free: 58.36 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/3.646, allocations: 147.8 kB / 2.262 GB, free: 58.21 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/3.646, allocations: 56.27 kB / 2.262 GB, free: 58.16 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-05/3.646, allocations: 43.94 kB / 2.262 GB, free: 58.11 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001652/3.648, allocations: 1.009 MB / 2.263 GB, free: 57.11 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.01e-07/3.648, allocations: 0 / 2.263 GB, free: 57.11 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003057/3.651, allocations: 0.9825 MB / 2.264 GB, free: 56.12 MB / 1.167 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) * Number of clocked states: 0 () * 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.007819/3.659, allocations: 4.548 MB / 2.269 GB, free: 51.45 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006137/3.665, allocations: 1.775 MB / 2.271 GB, free: 49.68 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/3.665, allocations: 4.062 kB / 2.271 GB, free: 49.67 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/3.667, allocations: 0.5213 MB / 2.271 GB, free: 49.15 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003792/3.671, allocations: 0.7914 MB / 2.272 GB, free: 48.38 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02363/3.694, allocations: 13.64 MB / 2.285 GB, free: 34.23 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/3.695, allocations: 1.234 MB / 2.286 GB, free: 32.97 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002136/3.697, allocations: 376.1 kB / 2.287 GB, free: 32.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007397/3.698, allocations: 0.5851 MB / 2.287 GB, free: 32.01 MB / 1.167 GB Notification: Performance of SimCode: time 1.192e-06/3.698, allocations: 0 / 2.287 GB, free: 32.01 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8091/4.507, allocations: 54.8 MB / 2.341 GB, free: 244.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/4.507, allocations: 276.5 kB / 2.341 GB, free: 244.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.567/9.075, allocations: 2.156 kB / 2.341 GB, free: 244.1 MB / 1.167 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