Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",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: 393.5 MB / 408.4 MB, free: 11.05 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.001435/0.001435, allocations: 175.5 kB / 0.4901 GB, free: 2.258 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.733/1.733, 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.0009667/0.0009667, allocations: 97.84 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003946, allocations: 14.12 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3516, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/1.675, allocations: 437.1 MB / 1.656 GB, free: 8.547 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.675, allocations: 94.83 kB / 1.656 GB, free: 8.496 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.963/5.638, allocations: 1.069 GB / 2.726 GB, free: 27.15 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.106e-06/5.638, allocations: 0 / 2.726 GB, free: 27.15 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003597/5.639, allocations: 79.92 kB / 2.726 GB, free: 27.07 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01176/5.65, allocations: 3.694 MB / 2.729 GB, free: 23.27 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/5.65, allocations: 12.02 kB / 2.729 GB, free: 23.26 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001412/5.652, allocations: 324.7 kB / 2.73 GB, free: 22.93 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009307/5.661, allocations: 1.21 MB / 2.731 GB, free: 21.72 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008055/5.669, allocations: 3.344 MB / 2.734 GB, free: 18.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/5.67, allocations: 247.9 kB / 2.734 GB, free: 18.04 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008968/5.671, allocations: 228 kB / 2.734 GB, free: 17.82 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008544/5.679, allocations: 3.136 MB / 2.737 GB, free: 14.48 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.525e-05/5.679, allocations: 15.92 kB / 2.738 GB, free: 14.47 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003372/5.68, allocations: 99.98 kB / 2.738 GB, free: 14.37 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.607e-05/5.68, allocations: 71.98 kB / 2.738 GB, free: 14.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009225/5.689, allocations: 2.768 MB / 2.74 GB, free: 11.52 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.02325/5.712, allocations: 13.13 MB / 2.753 GB, free: 13.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00444/5.717, allocations: 1.503 MB / 2.755 GB, free: 12.25 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002449/5.719, allocations: 1.773 MB / 2.756 GB, free: 10.09 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004366/5.724, allocations: 1.211 MB / 2.758 GB, free: 8.781 MB / 1.182 GB Notification: Performance of pre-optimization done (n=118): time 7.484e-06/5.724, allocations: 0 / 2.758 GB, free: 8.781 MB / 1.182 GB Notification: Performance of matching and sorting (n=118): time 0.02381/5.747, allocations: 4.278 MB / 2.762 GB, free: 4.457 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000632/5.748, allocations: 0.9358 MB / 2.763 GB, free: 3.301 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005451/5.754, allocations: 2.338 MB / 2.765 GB, free: 0.9531 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0006751/5.754, allocations: 61.69 kB / 2.765 GB, free: 0.8867 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.9786/6.733, allocations: 1.354 MB / 2.766 GB, free: 161.1 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009084/6.734, allocations: 418 kB / 2.767 GB, free: 161 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/6.734, allocations: 30.03 kB / 2.767 GB, free: 161 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001354/6.734, allocations: 368.5 kB / 2.767 GB, free: 160.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003917/6.738, allocations: 0.9418 MB / 2.768 GB, free: 160.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004389/6.743, allocations: 1.554 MB / 2.77 GB, free: 160 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/6.747, allocations: 1.084 MB / 2.771 GB, free: 160 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/6.747, allocations: 4.406 kB / 2.771 GB, free: 160 MB / 1.182 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01157/6.758, allocations: 2.902 MB / 2.773 GB, free: 159.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001211/6.76, allocations: 5.036 MB / 2.778 GB, free: 154.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/6.76, allocations: 12.64 kB / 2.778 GB, free: 154.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/6.763, allocations: 0.7178 MB / 2.779 GB, free: 154.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/6.766, allocations: 0.489 MB / 2.78 GB, free: 154.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/6.769, allocations: 1.793 MB / 2.781 GB, free: 153.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006359/6.775, allocations: 0.5156 MB / 2.782 GB, free: 153.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006358/6.776, allocations: 108 kB / 2.782 GB, free: 153.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/6.776, allocations: 6.484 kB / 2.782 GB, free: 153.3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01001/6.786, allocations: 2.584 MB / 2.784 GB, free: 153.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.481e-05/6.786, allocations: 12.16 kB / 2.784 GB, free: 153.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002651/6.789, allocations: 0.7288 MB / 2.785 GB, free: 153.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003175/6.792, allocations: 481 kB / 2.786 GB, free: 153.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/6.794, allocations: 1.795 MB / 2.787 GB, free: 152.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005539/6.8, allocations: 438.4 kB / 2.788 GB, free: 152.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005907/6.8, allocations: 105.5 kB / 2.788 GB, free: 152.1 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.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 (170): * Single equations (assignments): 167 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002729/6.803, allocations: 0.6981 MB / 2.789 GB, free: 151.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/6.804, allocations: 274.1 kB / 2.789 GB, free: 151.8 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/6.815, allocations: 2.272 MB / 2.791 GB, free: 151.7 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-05/6.815, allocations: 15.38 kB / 2.791 GB, free: 151.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/6.815, allocations: 11.33 kB / 2.791 GB, free: 151.7 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009433/6.824, allocations: 2.056 MB / 2.793 GB, free: 151.4 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/6.842, allocations: 6.993 MB / 2.8 GB, free: 149.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/6.842, allocations: 7.875 kB / 2.8 GB, free: 149.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/6.844, allocations: 292.8 kB / 2.8 GB, free: 149.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002228/6.846, allocations: 0.704 MB / 2.801 GB, free: 149.4 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/6.846, allocations: 55.75 kB / 2.801 GB, free: 149.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/6.848, allocations: 1.787 MB / 2.803 GB, free: 148.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/6.848, allocations: 10.22 kB / 2.803 GB, free: 148.4 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/6.86, allocations: 4.101 MB / 2.807 GB, free: 146.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003398/6.863, allocations: 0.6588 MB / 2.807 GB, free: 146.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/6.864, allocations: 39.8 kB / 2.807 GB, free: 146.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003992/6.868, allocations: 280 kB / 2.808 GB, free: 146.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/6.869, allocations: 116.1 kB / 2.808 GB, free: 146.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002519/6.869, allocations: 70.36 kB / 2.808 GB, free: 146.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.005467/6.874, allocations: 1.828 MB / 2.81 GB, free: 146.5 MB / 1.182 GB Notification: Performance of sort global known variables: time 6.51e-07/6.874, allocations: 0 / 2.81 GB, free: 146.5 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01016/6.885, allocations: 1.842 MB / 2.811 GB, free: 146.4 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01845/6.903, allocations: 7.652 MB / 2.819 GB, free: 142.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01332/6.916, allocations: 3.484 MB / 2.822 GB, free: 142.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-05/6.917, allocations: 6.75 kB / 2.822 GB, free: 142.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.00385/6.92, allocations: 1.034 MB / 2.823 GB, free: 142.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008351/6.929, allocations: 1.387 MB / 2.825 GB, free: 142.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06217/6.991, allocations: 26.9 MB / 2.851 GB, free: 127.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002541/6.994, allocations: 1.769 MB / 2.853 GB, free: 126.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.005624/6.999, allocations: 0.6879 MB / 2.853 GB, free: 126.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00271/7.002, allocations: 1.157 MB / 2.854 GB, free: 126.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.563e-06/7.002, allocations: 0.5312 kB / 2.854 GB, free: 126.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1714/7.173, allocations: 98.94 MB / 2.951 GB, free: 122 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/7.174, allocations: 284.1 kB / 2.951 GB, free: 121.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.037/13.21, allocations: 0 / 2.951 GB, free: 121.6 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat does not exist to compare? outputFormat=mat