Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001132/0.001133, allocations: 173.2 kB / 498.1 MB, free: 5.738 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.614/1.614, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.00114/0.001141, allocations: 90.77 kB / 0.9346 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003869, allocations: 10.03 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3123, allocations: 142.4 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.434/5.746, allocations: 2.197 GB / 3.42 GB, free: 193.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/5.747, allocations: 96.98 kB / 3.42 GB, free: 193.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.664/10.41, allocations: 1.365 GB / 4.785 GB, free: 165.1 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.763e-06/10.41, allocations: 0 / 4.785 GB, free: 165.1 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002475/10.41, allocations: 64.58 kB / 4.785 GB, free: 165.1 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.009557/10.42, allocations: 3.13 MB / 4.788 GB, free: 163.1 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/10.42, allocations: 6.844 kB / 4.788 GB, free: 163.1 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000632/10.42, allocations: 252.4 kB / 4.788 GB, free: 163 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/10.42, allocations: 0.5355 MB / 4.789 GB, free: 162.8 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005553/10.43, allocations: 2.424 MB / 4.791 GB, free: 161.7 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.492e-05/10.43, allocations: 130.9 kB / 4.791 GB, free: 161.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/10.43, allocations: 171 kB / 4.791 GB, free: 161.6 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003627/10.43, allocations: 2.258 MB / 4.794 GB, free: 160.2 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/10.43, allocations: 11.06 kB / 4.794 GB, free: 160.1 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/10.43, allocations: 71.55 kB / 4.794 GB, free: 160.1 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.946e-05/10.43, allocations: 80.8 kB / 4.794 GB, free: 160.1 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/10.44, allocations: 1.855 MB / 4.796 GB, free: 159.1 MB / 1.182 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.01244/10.45, allocations: 10.46 MB / 4.806 GB, free: 150.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/10.45, allocations: 1.199 MB / 4.807 GB, free: 149.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009732/10.45, allocations: 1.206 MB / 4.808 GB, free: 148.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/10.45, allocations: 46.81 kB / 4.808 GB, free: 148.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=98): time 4.859e-06/10.45, allocations: 0 / 4.808 GB, free: 148.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=100): time 0.00667/10.46, allocations: 3.541 MB / 4.812 GB, free: 145.1 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/10.46, allocations: 68.41 kB / 4.812 GB, free: 145 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/10.46, allocations: 1.725 MB / 4.813 GB, free: 143.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/10.46, allocations: 41.7 kB / 4.814 GB, free: 143.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006533/10.46, allocations: 0.9861 MB / 4.814 GB, free: 142.2 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/10.46, allocations: 354.9 kB / 4.815 GB, free: 141.9 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/10.46, allocations: 20 kB / 4.815 GB, free: 141.9 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.847e-05/10.46, allocations: 353.9 kB / 4.815 GB, free: 141.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007993/10.46, allocations: 0.5452 MB / 4.816 GB, free: 141 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/10.46, allocations: 0.9289 MB / 4.817 GB, free: 139.9 MB / 1.182 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.ele[1].vol2.dynBal.medium.p = hex.ele[1].vol2.dynBal.p_start (sin_a.p = hex.ele[1].vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/10.47, allocations: 2.789 MB / 4.819 GB, free: 137.1 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/10.48, allocations: 4 kB / 4.819 GB, free: 137.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003073/10.48, allocations: 1.651 MB / 4.821 GB, free: 135.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001094/10.48, allocations: 3.549 MB / 4.824 GB, free: 131.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/10.48, allocations: 8 kB / 4.824 GB, free: 131.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.332e-05/10.48, allocations: 16 kB / 4.824 GB, free: 131.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/10.48, allocations: 271.6 kB / 4.825 GB, free: 131.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.632e-05/10.48, allocations: 23.92 kB / 4.825 GB, free: 131.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/10.48, allocations: 211.3 kB / 4.825 GB, free: 131.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/10.48, allocations: 59.98 kB / 4.825 GB, free: 131 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/10.48, allocations: 1.406 kB / 4.825 GB, free: 131 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002324/10.49, allocations: 1.456 MB / 4.826 GB, free: 129.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/10.49, allocations: 8 kB / 4.826 GB, free: 129.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/10.49, allocations: 16 kB / 4.826 GB, free: 129.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/10.49, allocations: 271.6 kB / 4.827 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/10.49, allocations: 23.92 kB / 4.827 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/10.49, allocations: 187.8 kB / 4.827 GB, free: 129.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/10.49, allocations: 59.98 kB / 4.827 GB, free: 129 MB / 1.182 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: hex.ele[1].vol2.dynBal.medium.p = hex.ele[1].vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001665/10.49, allocations: 0.8205 MB / 4.828 GB, free: 128.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006539/10.49, allocations: 197.7 kB / 4.828 GB, free: 128 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/10.49, allocations: 1.582 MB / 4.829 GB, free: 126.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/10.49, allocations: 12 kB / 4.829 GB, free: 126.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/10.49, allocations: 0 / 4.829 GB, free: 126.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001772/10.5, allocations: 1.53 MB / 4.831 GB, free: 124.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008182/10.5, allocations: 4.166 MB / 4.835 GB, free: 120.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/10.5, allocations: 8 kB / 4.835 GB, free: 120.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/10.51, allocations: 232.4 kB / 4.835 GB, free: 120.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/10.51, allocations: 12 kB / 4.835 GB, free: 120.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/10.51, allocations: 39.97 kB / 4.835 GB, free: 120.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/10.51, allocations: 15.94 kB / 4.835 GB, free: 120.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/10.51, allocations: 8 kB / 4.835 GB, free: 120.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/10.51, allocations: 2.798 MB / 4.838 GB, free: 117.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/10.51, allocations: 458.6 kB / 4.839 GB, free: 116.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003859/10.51, allocations: 31.98 kB / 4.839 GB, free: 116.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/10.51, allocations: 155.5 kB / 4.839 GB, free: 116.4 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/10.51, allocations: 80.78 kB / 4.839 GB, free: 116.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/10.51, allocations: 43.98 kB / 4.839 GB, free: 116.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002099/10.51, allocations: 1.371 MB / 4.84 GB, free: 114.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.91e-07/10.51, allocations: 0 / 4.84 GB, free: 114.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004376/10.52, allocations: 1.226 MB / 4.841 GB, free: 113.7 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007761/10.53, allocations: 7.609 MB / 4.849 GB, free: 105.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003688/10.53, allocations: 2.098 MB / 4.851 GB, free: 103.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/10.53, allocations: 0 / 4.851 GB, free: 103.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/10.53, allocations: 0.667 MB / 4.851 GB, free: 103 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005988/10.54, allocations: 1.172 MB / 4.853 GB, free: 101.9 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/10.55, allocations: 13.58 MB / 4.866 GB, free: 87.56 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002474/10.56, allocations: 1.959 MB / 4.868 GB, free: 85.57 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.00371/10.56, allocations: 0.81 MB / 4.869 GB, free: 84.78 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/10.56, allocations: 0.8311 MB / 4.869 GB, free: 83.95 MB / 1.182 GB Notification: Performance of SimCode: time 1.272e-06/10.56, allocations: 4 kB / 4.869 GB, free: 83.94 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1433/10.71, allocations: 95.96 MB / 4.963 GB, free: 5.129 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/10.71, allocations: 248.3 kB / 4.963 GB, free: 4.793 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.432/16.14, allocations: 1.875 kB / 4.963 GB, free: 4.793 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate_res.mat does not exist to compare? outputFormat=mat