Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.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.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate",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.436/2.436, allocations: 390.5 MB / 398 MB, free: 10.97 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.00103/0.00103, allocations: 176.8 kB / 491.2 MB, free: 1.602 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.63/1.63, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008952/0.0008954, allocations: 97.47 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.021e-05, allocations: 4.219 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3554, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.687/7.043, allocations: 2.197 GB / 3.41 GB, free: 77.52 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/7.043, allocations: 87.45 kB / 3.41 GB, free: 77.48 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.341/12.38, allocations: 1.351 GB / 4.76 GB, free: 35.91 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.372e-06/12.38, allocations: 0 / 4.76 GB, free: 35.91 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004363/12.38, allocations: 59.98 kB / 4.76 GB, free: 35.85 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: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.0101/12.39, allocations: 2.703 MB / 4.763 GB, free: 33.09 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/12.39, allocations: 12.03 kB / 4.763 GB, free: 33.08 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004167/12.4, allocations: 0.5357 MB / 4.764 GB, free: 32.54 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007024/12.41, allocations: 2.391 MB / 4.766 GB, free: 30.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/12.41, allocations: 60 kB / 4.766 GB, free: 30.04 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005406/12.41, allocations: 104 kB / 4.766 GB, free: 29.94 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003309/12.41, allocations: 1.615 MB / 4.768 GB, free: 28.32 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/12.41, allocations: 1.95 MB / 4.77 GB, free: 26.28 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.013e-05/12.41, allocations: 11.84 kB / 4.77 GB, free: 26.27 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/12.41, allocations: 6.406 kB / 4.77 GB, free: 26.26 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.7e-05/12.41, allocations: 79.17 kB / 4.77 GB, free: 26.18 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.01105/12.42, allocations: 10.08 MB / 4.78 GB, free: 15.45 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/12.43, allocations: 1.2 MB / 4.781 GB, free: 14.21 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006381/12.43, allocations: 0.602 MB / 4.781 GB, free: 13.61 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009443/12.43, allocations: 1.207 MB / 4.783 GB, free: 12.14 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/12.43, allocations: 51.28 kB / 4.783 GB, free: 12.08 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 3.125e-06/12.43, allocations: 0 / 4.783 GB, free: 12.08 MB / 1.167 GB Notification: Performance of matching and sorting (n=99): time 0.006542/12.43, allocations: 2.899 MB / 4.785 GB, free: 9.125 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/12.43, allocations: 60.72 kB / 4.785 GB, free: 9.055 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/12.44, allocations: 1.387 MB / 4.787 GB, free: 7.664 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/12.44, allocations: 25.7 kB / 4.787 GB, free: 7.633 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005533/12.44, allocations: 0.9768 MB / 4.788 GB, free: 6.641 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/12.44, allocations: 343.4 kB / 4.788 GB, free: 6.301 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/12.44, allocations: 4 kB / 4.788 GB, free: 6.297 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/12.44, allocations: 357.9 kB / 4.788 GB, free: 5.941 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/12.44, allocations: 494.4 kB / 4.789 GB, free: 5.457 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007765/12.44, allocations: 0.862 MB / 4.79 GB, free: 4.434 MB / 1.167 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.005252/12.44, allocations: 2.011 MB / 4.792 GB, free: 2.406 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/12.44, allocations: 3.938 kB / 4.792 GB, free: 2.402 MB / 1.167 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002679/12.45, allocations: 1.486 MB / 4.793 GB, free: 0.9141 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001615/12.45, allocations: 3.686 MB / 4.797 GB, free: 12.88 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/12.45, allocations: 12 kB / 4.797 GB, free: 12.87 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.02e-05/12.45, allocations: 16 kB / 4.797 GB, free: 12.86 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/12.45, allocations: 279.5 kB / 4.797 GB, free: 12.58 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/12.45, allocations: 19.94 kB / 4.797 GB, free: 12.56 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/12.45, allocations: 171.5 kB / 4.797 GB, free: 12.39 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/12.45, allocations: 59.98 kB / 4.797 GB, free: 12.34 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/12.45, allocations: 8 kB / 4.797 GB, free: 12.33 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002641/12.45, allocations: 1.287 MB / 4.799 GB, free: 11.04 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/12.45, allocations: 8 kB / 4.799 GB, free: 11.04 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/12.45, allocations: 20 kB / 4.799 GB, free: 11.02 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/12.46, allocations: 276.3 kB / 4.799 GB, free: 10.75 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/12.46, allocations: 19.92 kB / 4.799 GB, free: 10.73 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/12.46, allocations: 159.6 kB / 4.799 GB, free: 10.57 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/12.46, allocations: 63.98 kB / 4.799 GB, free: 10.51 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: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0003521/12.46, allocations: 148.5 kB / 4.799 GB, free: 10.36 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00253/12.46, allocations: 1.19 MB / 4.8 GB, free: 9.16 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/12.46, allocations: 169.9 kB / 4.801 GB, free: 8.992 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/12.46, allocations: 1.432 MB / 4.802 GB, free: 7.543 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/12.46, allocations: 19.94 kB / 4.802 GB, free: 7.523 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/12.46, allocations: 0 / 4.802 GB, free: 7.523 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00203/12.47, allocations: 1.432 MB / 4.803 GB, free: 6.008 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007304/12.47, allocations: 3.706 MB / 4.807 GB, free: 2.168 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/12.47, allocations: 11.98 kB / 4.807 GB, free: 2.156 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/12.47, allocations: 219.7 kB / 4.807 GB, free: 1.941 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.037e-05/12.47, allocations: 16.52 kB / 4.807 GB, free: 1.926 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-05/12.47, allocations: 27.97 kB / 4.807 GB, free: 1.898 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/12.47, allocations: 8 kB / 4.807 GB, free: 1.891 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/12.47, allocations: 11.94 kB / 4.807 GB, free: 1.879 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004034/12.48, allocations: 2.511 MB / 4.81 GB, free: 15.13 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/12.48, allocations: 434.8 kB / 4.81 GB, free: 14.69 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/12.48, allocations: 19.94 kB / 4.81 GB, free: 14.67 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/12.48, allocations: 127.6 kB / 4.81 GB, free: 14.54 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/12.48, allocations: 84.58 kB / 4.81 GB, free: 14.46 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/12.48, allocations: 43.92 kB / 4.81 GB, free: 14.42 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001783/12.48, allocations: 1.064 MB / 4.811 GB, free: 13.36 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.3e-07/12.48, allocations: 0 / 4.811 GB, free: 13.36 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004022/12.49, allocations: 1.09 MB / 4.813 GB, free: 12.27 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 100 * 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.009378/12.5, allocations: 7.589 MB / 4.82 GB, free: 4.266 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003727/12.5, allocations: 1.926 MB / 4.822 GB, free: 2.344 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/12.5, allocations: 0 / 4.822 GB, free: 2.344 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/12.5, allocations: 0.5933 MB / 4.822 GB, free: 1.754 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005396/12.51, allocations: 0.9112 MB / 4.823 GB, free: 0.8633 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8359/13.34, allocations: 4.222 MB / 4.827 GB, free: 177.6 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/13.35, allocations: 1.967 MB / 4.829 GB, free: 176.8 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005142/13.35, allocations: 1.145 MB / 4.83 GB, free: 176.8 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/13.35, allocations: 0.7993 MB / 4.831 GB, free: 176.8 MB / 1.198 GB Notification: Performance of SimCode: time 9.72e-07/13.35, allocations: 0 / 4.831 GB, free: 176.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/13.5, allocations: 71.44 MB / 4.901 GB, free: 175.7 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/13.5, allocations: 203.1 kB / 4.901 GB, free: 175.4 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.664/18.17, allocations: 6.109 kB / 4.901 GB, free: 175.4 MB / 1.198 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate_res.mat does not exist to compare? outputFormat=mat