Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.45/2.45, 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.00198/0.00198, allocations: 191.5 kB / 0.4902 GB, free: 2.223 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.694/1.694, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001125/0.001125, allocations: 102.3 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 10.91 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3525, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/1.679, allocations: 435.5 MB / 1.655 GB, free: 10.51 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.679, allocations: 99.27 kB / 1.655 GB, free: 10.46 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.049/3.728, allocations: 0.562 GB / 2.217 GB, free: 106.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.314e-06/3.728, allocations: 4 kB / 2.217 GB, free: 106.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001771/3.728, allocations: 39.98 kB / 2.217 GB, free: 106.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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006092/3.734, allocations: 2.111 MB / 2.219 GB, free: 104.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/3.735, allocations: 12.03 kB / 2.219 GB, free: 104.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004767/3.735, allocations: 185.3 kB / 2.219 GB, free: 104.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00469/3.74, allocations: 0.6066 MB / 2.22 GB, free: 103.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004787/3.745, allocations: 1.797 MB / 2.221 GB, free: 101.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/3.745, allocations: 128 kB / 2.221 GB, free: 101.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/3.745, allocations: 120 kB / 2.222 GB, free: 101.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004007/3.749, allocations: 1.616 MB / 2.223 GB, free: 99.77 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/3.749, allocations: 4 kB / 2.223 GB, free: 99.76 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/3.749, allocations: 52 kB / 2.223 GB, free: 99.71 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/3.749, allocations: 46.16 kB / 2.223 GB, free: 99.66 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004424/3.754, allocations: 1.441 MB / 2.225 GB, free: 98.21 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.01087/3.765, allocations: 6.991 MB / 2.231 GB, free: 90.89 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/3.767, allocations: 0.7293 MB / 2.232 GB, free: 90.15 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/3.768, allocations: 1.274 MB / 2.233 GB, free: 88.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/3.768, allocations: 43.12 kB / 2.233 GB, free: 88.55 MB / 1.167 GB Notification: Performance of pre-optimization done (n=64): time 2.755e-06/3.768, allocations: 0 / 2.233 GB, free: 88.55 MB / 1.167 GB Notification: Performance of matching and sorting (n=64): time 0.01171/3.78, allocations: 2.382 MB / 2.236 GB, free: 86.14 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/3.78, allocations: 111.4 kB / 2.236 GB, free: 86 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/3.782, allocations: 1.27 MB / 2.237 GB, free: 84.73 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/3.782, allocations: 41.7 kB / 2.237 GB, free: 84.68 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/3.783, allocations: 0.6997 MB / 2.238 GB, free: 83.97 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/3.783, allocations: 224.8 kB / 2.238 GB, free: 83.75 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/3.783, allocations: 20 kB / 2.238 GB, free: 83.73 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/3.783, allocations: 337.9 kB / 2.238 GB, free: 83.39 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/3.785, allocations: 473.6 kB / 2.239 GB, free: 82.93 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/3.787, allocations: 0.7475 MB / 2.24 GB, free: 82.06 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/3.789, allocations: 0.5292 MB / 2.24 GB, free: 81.53 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/3.789, allocations: 0 / 2.24 GB, free: 81.53 MB / 1.167 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005058/3.794, allocations: 1.475 MB / 2.242 GB, free: 80.05 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009846/3.795, allocations: 2.495 MB / 2.244 GB, free: 77.41 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/3.795, allocations: 8 kB / 2.244 GB, free: 77.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/3.797, allocations: 453.6 kB / 2.244 GB, free: 76.96 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/3.798, allocations: 251.6 kB / 2.245 GB, free: 76.71 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/3.8, allocations: 1.079 MB / 2.246 GB, free: 75.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/3.803, allocations: 270.6 kB / 2.246 GB, free: 75.34 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/3.803, allocations: 47.95 kB / 2.246 GB, free: 75.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/3.803, allocations: 7.984 kB / 2.246 GB, free: 75.29 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004473/3.807, allocations: 1.318 MB / 2.247 GB, free: 73.97 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/3.808, allocations: 8 kB / 2.247 GB, free: 73.96 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/3.809, allocations: 460 kB / 2.248 GB, free: 73.52 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/3.81, allocations: 247.6 kB / 2.248 GB, free: 73.27 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/3.812, allocations: 1.06 MB / 2.249 GB, free: 72.19 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/3.815, allocations: 246.7 kB / 2.249 GB, free: 71.95 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/3.815, allocations: 51.95 kB / 2.249 GB, free: 71.89 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 (74): * Single equations (assignments): 73 * 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001263/3.816, allocations: 452.8 kB / 2.25 GB, free: 71.44 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005923/3.817, allocations: 142.2 kB / 2.25 GB, free: 71.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004373/3.821, allocations: 1.228 MB / 2.251 GB, free: 70.05 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/3.821, allocations: 12 kB / 2.251 GB, free: 70.04 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/3.821, allocations: 3.984 kB / 2.251 GB, free: 70.04 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003285/3.824, allocations: 1.096 MB / 2.252 GB, free: 68.91 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009236/3.834, allocations: 3.307 MB / 2.255 GB, free: 65.39 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/3.834, allocations: 4 kB / 2.255 GB, free: 65.39 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009837/3.835, allocations: 159.9 kB / 2.256 GB, free: 65.23 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/3.836, allocations: 452.6 kB / 2.256 GB, free: 64.79 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.534e-05/3.836, allocations: 23.97 kB / 2.256 GB, free: 64.77 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/3.838, allocations: 1.056 MB / 2.257 GB, free: 63.69 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/3.838, allocations: 7.953 kB / 2.257 GB, free: 63.68 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/3.842, allocations: 1.553 MB / 2.259 GB, free: 61.96 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/3.843, allocations: 386.9 kB / 2.259 GB, free: 61.56 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006173/3.844, allocations: 20 kB / 2.259 GB, free: 61.54 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002304/3.846, allocations: 139.8 kB / 2.259 GB, free: 61.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/3.846, allocations: 60.27 kB / 2.259 GB, free: 61.34 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/3.847, allocations: 39.95 kB / 2.259 GB, free: 61.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002387/3.849, allocations: 0.9929 MB / 2.26 GB, free: 60.31 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/3.849, allocations: 4 kB / 2.26 GB, free: 60.31 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004553/3.854, allocations: 0.9786 MB / 2.261 GB, free: 59.33 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * 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 (40): * Single equations (assignments): 37 * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.006813/3.86, allocations: 3.809 MB / 2.265 GB, free: 55.41 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006034/3.866, allocations: 1.743 MB / 2.267 GB, free: 53.68 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/3.867, allocations: 8.125 kB / 2.267 GB, free: 53.67 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/3.868, allocations: 0.5095 MB / 2.267 GB, free: 53.15 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/3.872, allocations: 0.7773 MB / 2.268 GB, free: 52.39 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02621/3.899, allocations: 13.25 MB / 2.281 GB, free: 38.66 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/3.9, allocations: 1.238 MB / 2.282 GB, free: 37.39 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002348/3.902, allocations: 331.8 kB / 2.282 GB, free: 37.06 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/3.903, allocations: 0.5578 MB / 2.283 GB, free: 36.5 MB / 1.167 GB Notification: Performance of SimCode: time 3.276e-06/3.903, allocations: 0 / 2.283 GB, free: 36.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.814/4.717, allocations: 53.94 MB / 2.335 GB, free: 250.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/4.718, allocations: 277.2 kB / 2.336 GB, free: 250.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.078/8.796, allocations: 1.156 kB / 2.336 GB, free: 250.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat does not exist to compare? outputFormat=mat