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.311/2.311, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001315/0.001315, allocations: 172.9 kB / 496.1 MB, free: 12.88 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.469/1.469, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009107/0.0009107, allocations: 87.95 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.078e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.266, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.398, allocations: 437.1 MB / 1.646 GB, free: 13.31 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.398, allocations: 91.94 kB / 1.646 GB, free: 13.22 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.253/5.651, allocations: 1.066 GB / 2.712 GB, free: 169.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.014e-06/5.651, allocations: 1.875 kB / 2.712 GB, free: 169.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005586/5.652, allocations: 83.12 kB / 2.712 GB, free: 169.8 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.01065/5.662, allocations: 3.175 MB / 2.715 GB, free: 168.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/5.662, allocations: 11.5 kB / 2.715 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001149/5.664, allocations: 316.8 kB / 2.715 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009354/5.673, allocations: 1.217 MB / 2.716 GB, free: 168.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/5.684, allocations: 3.307 MB / 2.72 GB, free: 167.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/5.684, allocations: 259.7 kB / 2.72 GB, free: 167.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/5.685, allocations: 226.4 kB / 2.72 GB, free: 167.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007958/5.693, allocations: 2.787 MB / 2.723 GB, free: 167.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/5.693, allocations: 10.7 kB / 2.723 GB, free: 167.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007705/5.694, allocations: 103.3 kB / 2.723 GB, free: 167.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/5.694, allocations: 75.61 kB / 2.723 GB, free: 167.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005533/5.7, allocations: 2.103 MB / 2.725 GB, free: 167.1 MB / 1.167 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.02557/5.725, allocations: 13.13 MB / 2.738 GB, free: 161.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/5.727, allocations: 1.165 MB / 2.739 GB, free: 161.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/5.729, allocations: 0.6277 MB / 2.74 GB, free: 161.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/5.73, allocations: 1.775 MB / 2.741 GB, free: 159.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001765/5.732, allocations: 0.9616 MB / 2.742 GB, free: 159 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 1.078e-05/5.732, allocations: 3.609 kB / 2.742 GB, free: 159 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.006025/5.738, allocations: 1.697 MB / 2.744 GB, free: 158.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002695/5.739, allocations: 0.9368 MB / 2.745 GB, free: 157.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005691/5.744, allocations: 2.259 MB / 2.747 GB, free: 157.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005565/5.745, allocations: 60.95 kB / 2.747 GB, free: 157.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001715/5.747, allocations: 1.362 MB / 2.749 GB, free: 156.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008173/5.748, allocations: 422.7 kB / 2.749 GB, free: 156.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/5.748, allocations: 30.53 kB / 2.749 GB, free: 156.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001736/5.748, allocations: 368.3 kB / 2.749 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/5.749, allocations: 0.6194 MB / 2.75 GB, free: 156.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/5.751, allocations: 1.232 MB / 2.751 GB, free: 155.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/5.753, allocations: 0.7702 MB / 2.752 GB, free: 155.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/5.753, allocations: 6.375 kB / 2.752 GB, free: 155.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00517/5.758, allocations: 2.227 MB / 2.754 GB, free: 155.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001113/5.759, allocations: 5.035 MB / 2.759 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/5.759, allocations: 13.34 kB / 2.759 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002161/5.761, allocations: 0.6334 MB / 2.76 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/5.764, allocations: 0.4894 MB / 2.76 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/5.766, allocations: 1.698 MB / 2.762 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005599/5.771, allocations: 0.5067 MB / 2.762 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005589/5.772, allocations: 106.4 kB / 2.762 GB, free: 148.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/5.772, allocations: 5.312 kB / 2.762 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004464/5.776, allocations: 1.96 MB / 2.764 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/5.777, allocations: 14.8 kB / 2.764 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/5.779, allocations: 0.6446 MB / 2.765 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/5.781, allocations: 481.2 kB / 2.765 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/5.783, allocations: 1.696 MB / 2.767 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005149/5.788, allocations: 435.9 kB / 2.767 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000493/5.789, allocations: 108.5 kB / 2.768 GB, free: 147.7 MB / 1.167 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 () * 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.0009447/5.79, allocations: 218.6 kB / 2.768 GB, free: 147.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/5.791, allocations: 276.2 kB / 2.768 GB, free: 147.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005594/5.796, allocations: 1.704 MB / 2.77 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.3e-05/5.796, allocations: 17.8 kB / 2.77 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/5.796, allocations: 6.438 kB / 2.77 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003889/5.8, allocations: 1.494 MB / 2.771 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/5.816, allocations: 6.415 MB / 2.777 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.556e-05/5.816, allocations: 10.42 kB / 2.777 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/5.818, allocations: 291.4 kB / 2.778 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/5.82, allocations: 0.6318 MB / 2.778 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/5.82, allocations: 50.39 kB / 2.778 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/5.822, allocations: 1.675 MB / 2.78 GB, free: 143.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/5.822, allocations: 19.23 kB / 2.78 GB, free: 143.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005755/5.828, allocations: 3.282 MB / 2.783 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002499/5.83, allocations: 0.6561 MB / 2.784 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/5.832, allocations: 37.33 kB / 2.784 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004415/5.836, allocations: 276.8 kB / 2.784 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/5.836, allocations: 115.7 kB / 2.784 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/5.837, allocations: 77.72 kB / 2.784 GB, free: 142.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004359/5.841, allocations: 1.744 MB / 2.786 GB, free: 142 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/5.841, allocations: 0 / 2.786 GB, free: 142 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009151/5.85, allocations: 1.848 MB / 2.788 GB, free: 141.8 MB / 1.167 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) * 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.01105/5.861, allocations: 6.829 MB / 2.795 GB, free: 138.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005986/5.867, allocations: 2.705 MB / 2.797 GB, free: 137.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.15e-05/5.868, allocations: 9.844 kB / 2.797 GB, free: 137.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002264/5.87, allocations: 0.7714 MB / 2.798 GB, free: 137.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008738/5.879, allocations: 1.379 MB / 2.799 GB, free: 137.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/5.897, allocations: 4.667 MB / 2.804 GB, free: 136.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002329/5.9, allocations: 1.77 MB / 2.806 GB, free: 135.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00641/5.906, allocations: 0.8562 MB / 2.806 GB, free: 135.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002244/5.908, allocations: 1.11 MB / 2.807 GB, free: 135.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.864e-06/5.909, allocations: 3.594 kB / 2.807 GB, free: 135.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1825/6.091, allocations: 103.2 MB / 2.908 GB, free: 81.98 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/6.091, allocations: 247.7 kB / 2.908 GB, free: 81.64 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.235/12.33, allocations: 0 / 2.908 GB, free: 81.64 MB / 1.167 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