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.25/2.25, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001359/0.001359, allocations: 168.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.001031/0.001031, allocations: 87.97 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.091e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2639, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.41, allocations: 435.5 MB / 1.644 GB, free: 14.92 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/1.41, allocations: 91.94 kB / 1.644 GB, free: 14.83 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.529/3.94, allocations: 0.5602 GB / 2.204 GB, free: 238.4 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.773e-06/3.94, allocations: 0 / 2.204 GB, free: 238.4 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001875/3.94, allocations: 42.23 kB / 2.204 GB, free: 238.4 MB / 1.135 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.006229/3.946, allocations: 1.855 MB / 2.206 GB, free: 237.7 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 7.204e-05/3.946, allocations: 11.28 kB / 2.206 GB, free: 237.7 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005467/3.947, allocations: 175.3 kB / 2.206 GB, free: 237.7 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006538/3.954, allocations: 0.6156 MB / 2.207 GB, free: 237.6 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00541/3.959, allocations: 1.777 MB / 2.209 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/3.959, allocations: 136 kB / 2.209 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/3.959, allocations: 114 kB / 2.209 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003612/3.963, allocations: 1.438 MB / 2.21 GB, free: 236.9 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/3.963, allocations: 6.016 kB / 2.21 GB, free: 236.9 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/3.963, allocations: 47.25 kB / 2.211 GB, free: 236.9 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-05/3.963, allocations: 52.58 kB / 2.211 GB, free: 236.9 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/3.966, allocations: 1.08 MB / 2.212 GB, free: 236.9 MB / 1.135 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.01366/3.98, allocations: 6.99 MB / 2.218 GB, free: 233.8 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/3.981, allocations: 0.5838 MB / 2.219 GB, free: 233.7 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006976/3.982, allocations: 333.8 kB / 2.219 GB, free: 233.7 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/3.984, allocations: 1.269 MB / 2.221 GB, free: 232.3 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/3.984, allocations: 51.41 kB / 2.221 GB, free: 232.3 MB / 1.135 GB Notification: Performance of pre-optimization done (n=64): time 4.448e-06/3.984, allocations: 0 / 2.221 GB, free: 232.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=64): time 0.002275/3.986, allocations: 0.8057 MB / 2.221 GB, free: 232.1 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/3.986, allocations: 110.5 kB / 2.222 GB, free: 232 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/3.988, allocations: 1.227 MB / 2.223 GB, free: 231.9 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/3.988, allocations: 44.05 kB / 2.223 GB, free: 231.8 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/3.988, allocations: 0.6962 MB / 2.223 GB, free: 231.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/3.988, allocations: 231.9 kB / 2.224 GB, free: 231.5 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/3.988, allocations: 18.44 kB / 2.224 GB, free: 231.5 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/3.988, allocations: 336.7 kB / 2.224 GB, free: 231.2 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/3.989, allocations: 300.4 kB / 2.224 GB, free: 231.2 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/3.99, allocations: 0.5845 MB / 2.225 GB, free: 230.8 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/3.99, allocations: 357.7 kB / 2.225 GB, free: 230.8 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/3.99, allocations: 0 / 2.225 GB, free: 230.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001744/3.992, allocations: 1.116 MB / 2.226 GB, free: 230.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004202/3.992, allocations: 2.497 MB / 2.229 GB, free: 228.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/3.992, allocations: 10.97 kB / 2.229 GB, free: 228.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/3.994, allocations: 438.5 kB / 2.229 GB, free: 228.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/3.995, allocations: 247.5 kB / 2.229 GB, free: 228.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/3.996, allocations: 1.026 MB / 2.23 GB, free: 227.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/3.998, allocations: 271.5 kB / 2.231 GB, free: 227.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/3.999, allocations: 51.8 kB / 2.231 GB, free: 227.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/3.999, allocations: 6.062 kB / 2.231 GB, free: 227.6 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001562/4, allocations: 0.9541 MB / 2.232 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/4, allocations: 14.89 kB / 2.232 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/4.001, allocations: 439.6 kB / 2.232 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/4.003, allocations: 240.7 kB / 2.232 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000952/4.004, allocations: 1.013 MB / 2.233 GB, free: 227 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/4.006, allocations: 237.7 kB / 2.234 GB, free: 226.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/4.006, allocations: 58.91 kB / 2.234 GB, free: 226.9 MB / 1.135 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 (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 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003063/4.006, allocations: 155.4 kB / 2.234 GB, free: 226.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/4.006, allocations: 143.2 kB / 2.234 GB, free: 226.8 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/4.008, allocations: 0.934 MB / 2.235 GB, free: 226.7 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/4.008, allocations: 7.875 kB / 2.235 GB, free: 226.7 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/4.008, allocations: 3.953 kB / 2.235 GB, free: 226.7 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/4.009, allocations: 0.8035 MB / 2.236 GB, free: 226.5 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004614/4.014, allocations: 3.007 MB / 2.238 GB, free: 225.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/4.014, allocations: 5.766 kB / 2.238 GB, free: 225.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008775/4.015, allocations: 166.5 kB / 2.239 GB, free: 225.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/4.016, allocations: 407.4 kB / 2.239 GB, free: 225.5 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/4.016, allocations: 25.25 kB / 2.239 GB, free: 225.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/4.018, allocations: 1.093 MB / 2.24 GB, free: 225 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/4.018, allocations: 9.531 kB / 2.24 GB, free: 225 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/4.019, allocations: 1.255 MB / 2.241 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007586/4.02, allocations: 387.1 kB / 2.242 GB, free: 224.2 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/4.02, allocations: 17.95 kB / 2.242 GB, free: 224.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/4.022, allocations: 140.4 kB / 2.242 GB, free: 224.2 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/4.022, allocations: 53.52 kB / 2.242 GB, free: 224.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/4.022, allocations: 49.59 kB / 2.242 GB, free: 224.2 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001328/4.023, allocations: 0.952 MB / 2.243 GB, free: 224.1 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.7e-07/4.023, allocations: 0 / 2.243 GB, free: 224.1 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002756/4.026, allocations: 0.9754 MB / 2.244 GB, free: 223.9 MB / 1.135 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) * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.003425/4.03, allocations: 3.515 MB / 2.247 GB, free: 221.7 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.00316/4.033, allocations: 1.334 MB / 2.249 GB, free: 221.7 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/4.033, allocations: 3.25 kB / 2.249 GB, free: 221.7 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/4.034, allocations: 475.6 kB / 2.249 GB, free: 221.7 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004065/4.038, allocations: 0.771 MB / 2.25 GB, free: 221.7 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/4.044, allocations: 2.172 MB / 2.252 GB, free: 221 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/4.045, allocations: 1.239 MB / 2.253 GB, free: 220.3 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002416/4.048, allocations: 438.5 kB / 2.254 GB, free: 220.2 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/4.048, allocations: 0.5345 MB / 2.254 GB, free: 220.2 MB / 1.135 GB Notification: Performance of SimCode: time 7.72e-07/4.048, allocations: 0 / 2.254 GB, free: 220.2 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/4.165, allocations: 56.08 MB / 2.309 GB, free: 216.3 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/4.166, allocations: 251.2 kB / 2.309 GB, free: 216 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.946/8.112, allocations: 0 / 2.309 GB, free: 216 MB / 1.135 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