Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.492/2.492, allocations: 393.5 MB / 408.4 MB, free: 11 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.001177/0.001177, allocations: 195.3 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.734/1.734, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001034/0.001034, allocations: 98.16 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004034, allocations: 10.72 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3675, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/1.71, allocations: 436.2 MB / 1.655 GB, free: 9.332 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003676/1.711, allocations: 110.6 kB / 1.655 GB, free: 9.27 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.029/3.739, allocations: 0.5623 GB / 2.218 GB, free: 105.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.806e-06/3.739, allocations: 0 / 2.218 GB, free: 105.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000336/3.74, allocations: 47.92 kB / 2.218 GB, free: 105.6 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.007908/3.748, allocations: 2.178 MB / 2.22 GB, free: 103.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/3.748, allocations: 8.031 kB / 2.22 GB, free: 103.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007839/3.749, allocations: 185.3 kB / 2.22 GB, free: 103.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004754/3.753, allocations: 0.6145 MB / 2.221 GB, free: 102.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005041/3.758, allocations: 1.813 MB / 2.222 GB, free: 100.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/3.759, allocations: 128 kB / 2.223 GB, free: 100.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005018/3.759, allocations: 120 kB / 2.223 GB, free: 100.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004584/3.764, allocations: 1.636 MB / 2.224 GB, free: 98.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/3.764, allocations: 0 / 2.224 GB, free: 98.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/3.764, allocations: 59.92 kB / 2.224 GB, free: 98.64 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/3.764, allocations: 46.19 kB / 2.224 GB, free: 98.59 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004482/3.768, allocations: 1.464 MB / 2.226 GB, free: 97.12 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.009979/3.778, allocations: 6.758 MB / 2.232 GB, free: 90.07 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/3.781, allocations: 0.7364 MB / 2.233 GB, free: 89.32 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/3.782, allocations: 1.267 MB / 2.234 GB, free: 87.77 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001858/3.784, allocations: 0.6763 MB / 2.235 GB, free: 87.04 MB / 1.167 GB Notification: Performance of pre-optimization done (n=65): time 3.126e-06/3.784, allocations: 0 / 2.235 GB, free: 87.04 MB / 1.167 GB Notification: Performance of matching and sorting (n=65): time 0.0111/3.795, allocations: 2.303 MB / 2.237 GB, free: 84.71 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/3.795, allocations: 479.2 kB / 2.238 GB, free: 84.13 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/3.797, allocations: 1.283 MB / 2.239 GB, free: 82.84 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001883/3.797, allocations: 53.62 kB / 2.239 GB, free: 82.78 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005627/3.798, allocations: 0.7151 MB / 2.24 GB, free: 82.06 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/3.798, allocations: 224.8 kB / 2.24 GB, free: 81.84 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/3.798, allocations: 20 kB / 2.24 GB, free: 81.82 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/3.798, allocations: 337.9 kB / 2.24 GB, free: 81.48 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/3.8, allocations: 0.5015 MB / 2.241 GB, free: 80.98 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/3.802, allocations: 0.8187 MB / 2.242 GB, free: 80.03 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/3.804, allocations: 0.5767 MB / 2.242 GB, free: 79.45 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/3.804, allocations: 4 kB / 2.242 GB, free: 79.45 MB / 1.167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006649/3.811, allocations: 1.63 MB / 2.244 GB, free: 77.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006613/3.812, allocations: 2.522 MB / 2.246 GB, free: 75.13 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/3.812, allocations: 8 kB / 2.246 GB, free: 75.12 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/3.813, allocations: 366 kB / 2.247 GB, free: 74.76 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/3.815, allocations: 267.5 kB / 2.247 GB, free: 74.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/3.816, allocations: 0.9012 MB / 2.248 GB, free: 73.57 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003113/3.819, allocations: 282.7 kB / 2.248 GB, free: 73.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/3.819, allocations: 63.94 kB / 2.248 GB, free: 73.23 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/3.819, allocations: 5.25 kB / 2.248 GB, free: 73.23 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006035/3.825, allocations: 1.486 MB / 2.249 GB, free: 71.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/3.825, allocations: 8.047 kB / 2.249 GB, free: 71.73 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/3.826, allocations: 380.8 kB / 2.25 GB, free: 71.36 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/3.828, allocations: 259.6 kB / 2.25 GB, free: 71.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009812/3.829, allocations: 0.9 MB / 2.251 GB, free: 70.18 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/3.832, allocations: 246.8 kB / 2.251 GB, free: 69.93 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/3.832, allocations: 67.88 kB / 2.251 GB, free: 69.87 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: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.001058/3.833, allocations: 454.3 kB / 2.252 GB, free: 69.41 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/3.833, allocations: 154.2 kB / 2.252 GB, free: 69.26 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/3.838, allocations: 1.255 MB / 2.253 GB, free: 67.99 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/3.838, allocations: 11.94 kB / 2.253 GB, free: 67.98 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/3.838, allocations: 0 / 2.253 GB, free: 67.98 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004292/3.842, allocations: 1.139 MB / 2.254 GB, free: 66.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007888/3.85, allocations: 3.591 MB / 2.258 GB, free: 63.09 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/3.85, allocations: 4 kB / 2.258 GB, free: 63.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009877/3.851, allocations: 168 kB / 2.258 GB, free: 62.92 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/3.853, allocations: 360.6 kB / 2.258 GB, free: 62.57 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/3.853, allocations: 23.97 kB / 2.258 GB, free: 62.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009767/3.854, allocations: 0.898 MB / 2.259 GB, free: 61.62 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/3.854, allocations: 7.938 kB / 2.259 GB, free: 61.61 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006922/3.861, allocations: 2.285 MB / 2.261 GB, free: 59.09 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/3.862, allocations: 390.9 kB / 2.262 GB, free: 58.69 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/3.862, allocations: 28.05 kB / 2.262 GB, free: 58.66 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/3.864, allocations: 143.8 kB / 2.262 GB, free: 58.52 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/3.864, allocations: 68.23 kB / 2.262 GB, free: 58.46 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.41e-05/3.864, allocations: 39.95 kB / 2.262 GB, free: 58.42 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001794/3.866, allocations: 1.025 MB / 2.263 GB, free: 57.39 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/3.866, allocations: 0 / 2.263 GB, free: 57.39 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003422/3.87, allocations: 0.9981 MB / 2.264 GB, free: 56.39 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: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.008865/3.878, allocations: 4.602 MB / 2.268 GB, free: 51.68 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006881/3.885, allocations: 1.925 MB / 2.27 GB, free: 49.73 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-05/3.885, allocations: 8.188 kB / 2.27 GB, free: 49.72 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/3.887, allocations: 0.548 MB / 2.271 GB, free: 49.17 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004263/3.892, allocations: 0.7954 MB / 2.272 GB, free: 48.39 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02316/3.915, allocations: 13.74 MB / 2.285 GB, free: 34.14 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/3.915, allocations: 1.242 MB / 2.286 GB, free: 32.88 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00209/3.917, allocations: 376.2 kB / 2.287 GB, free: 32.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007512/3.918, allocations: 0.5851 MB / 2.287 GB, free: 31.92 MB / 1.167 GB Notification: Performance of SimCode: time 1.072e-06/3.918, allocations: 0 / 2.287 GB, free: 31.92 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7932/4.711, allocations: 54.85 MB / 2.341 GB, free: 243.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/4.712, allocations: 288.4 kB / 2.341 GB, free: 243.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.266/8.977, allocations: 0 / 2.341 GB, free: 243.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed_res.mat does not exist to compare? outputFormat=mat