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.344/2.344, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.002051/0.002051, allocations: 187.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.677/1.677, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.001062/0.001062, allocations: 95.88 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.454e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3516, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.834/7.186, allocations: 2.198 GB / 3.417 GB, free: 88.65 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/7.186, allocations: 87.95 kB / 3.417 GB, free: 88.56 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.305/12.49, allocations: 1.363 GB / 4.779 GB, free: 38.78 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.432e-06/12.49, allocations: 0 / 4.779 GB, free: 38.78 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002663/12.49, allocations: 58.28 kB / 4.779 GB, free: 38.72 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.008823/12.5, allocations: 2.703 MB / 4.782 GB, free: 35.97 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/12.5, allocations: 8.031 kB / 4.782 GB, free: 35.96 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005603/12.5, allocations: 253.1 kB / 4.782 GB, free: 35.71 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/12.5, allocations: 0.5356 MB / 4.783 GB, free: 35.17 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005605/12.51, allocations: 2.392 MB / 4.785 GB, free: 32.72 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.983e-05/12.51, allocations: 131.3 kB / 4.785 GB, free: 32.59 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002712/12.51, allocations: 176 kB / 4.785 GB, free: 32.42 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/12.51, allocations: 2.221 MB / 4.788 GB, free: 30.11 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/12.51, allocations: 7.906 kB / 4.788 GB, free: 30.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/12.51, allocations: 68 kB / 4.788 GB, free: 30.03 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.573e-05/12.51, allocations: 79.17 kB / 4.788 GB, free: 29.95 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/12.52, allocations: 1.785 MB / 4.79 GB, free: 28.16 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.01241/12.53, allocations: 10.46 MB / 4.8 GB, free: 17.04 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/12.53, allocations: 1.161 MB / 4.801 GB, free: 15.86 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000754/12.53, allocations: 0.6382 MB / 4.801 GB, free: 15.21 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009745/12.53, allocations: 1.211 MB / 4.803 GB, free: 13.75 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/12.53, allocations: 47.34 kB / 4.803 GB, free: 13.69 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 3.877e-06/12.53, allocations: 0 / 4.803 GB, free: 13.69 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.005864/12.54, allocations: 2.946 MB / 4.806 GB, free: 10.68 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/12.54, allocations: 68.41 kB / 4.806 GB, free: 10.61 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/12.54, allocations: 1.691 MB / 4.807 GB, free: 8.867 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/12.54, allocations: 45.7 kB / 4.807 GB, free: 8.816 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005954/12.54, allocations: 0.9785 MB / 4.808 GB, free: 7.824 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/12.54, allocations: 354.8 kB / 4.809 GB, free: 7.473 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/12.54, allocations: 28 kB / 4.809 GB, free: 7.445 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/12.54, allocations: 349.9 kB / 4.809 GB, free: 7.098 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/12.54, allocations: 0.5101 MB / 4.81 GB, free: 6.59 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008632/12.54, allocations: 0.9017 MB / 4.81 GB, free: 5.531 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.009509/12.55, allocations: 2.722 MB / 4.813 GB, free: 2.789 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/12.55, allocations: 0 / 4.813 GB, free: 2.789 MB / 1.167 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002666/12.56, allocations: 1.593 MB / 4.815 GB, free: 1.195 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001426/12.56, allocations: 3.544 MB / 4.818 GB, free: 13.38 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/12.56, allocations: 15.94 kB / 4.818 GB, free: 13.36 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.509e-05/12.56, allocations: 16 kB / 4.818 GB, free: 13.35 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/12.56, allocations: 279.6 kB / 4.818 GB, free: 13.07 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/12.56, allocations: 15.94 kB / 4.818 GB, free: 13.06 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/12.56, allocations: 199.8 kB / 4.819 GB, free: 12.86 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/12.56, allocations: 63.97 kB / 4.819 GB, free: 12.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/12.56, allocations: 7.938 kB / 4.819 GB, free: 12.79 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002333/12.56, allocations: 1.39 MB / 4.82 GB, free: 11.41 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/12.56, allocations: 8 kB / 4.82 GB, free: 11.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/12.56, allocations: 16 kB / 4.82 GB, free: 11.38 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/12.57, allocations: 279.5 kB / 4.82 GB, free: 11.11 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/12.57, allocations: 23.92 kB / 4.82 GB, free: 11.09 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/12.57, allocations: 191.6 kB / 4.82 GB, free: 10.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/12.57, allocations: 59.98 kB / 4.821 GB, free: 10.84 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 () * 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.0003779/12.57, allocations: 184.6 kB / 4.821 GB, free: 10.65 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/12.57, allocations: 193.7 kB / 4.821 GB, free: 10.46 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/12.57, allocations: 1.516 MB / 4.822 GB, free: 8.93 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/12.57, allocations: 16 kB / 4.822 GB, free: 8.914 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/12.57, allocations: 3.938 kB / 4.822 GB, free: 8.91 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001958/12.57, allocations: 1.464 MB / 4.824 GB, free: 7.359 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007605/12.58, allocations: 4.114 MB / 4.828 GB, free: 3.086 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/12.58, allocations: 12.12 kB / 4.828 GB, free: 3.074 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/12.58, allocations: 231.7 kB / 4.828 GB, free: 2.848 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/12.58, allocations: 8 kB / 4.828 GB, free: 2.84 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.772e-05/12.58, allocations: 36.27 kB / 4.828 GB, free: 2.805 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.49e-05/12.58, allocations: 19.92 kB / 4.828 GB, free: 2.785 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/12.58, allocations: 4 kB / 4.828 GB, free: 2.781 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003924/12.59, allocations: 2.709 MB / 4.831 GB, free: 15.79 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/12.59, allocations: 466.5 kB / 4.831 GB, free: 15.32 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000315/12.59, allocations: 27.98 kB / 4.831 GB, free: 15.29 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/12.59, allocations: 147.7 kB / 4.831 GB, free: 15.14 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/12.59, allocations: 88.47 kB / 4.831 GB, free: 15.06 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.622e-05/12.59, allocations: 43.98 kB / 4.832 GB, free: 15.02 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002344/12.59, allocations: 1.344 MB / 4.833 GB, free: 13.64 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.3e-07/12.59, allocations: 0 / 4.833 GB, free: 13.64 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004658/12.6, allocations: 1.222 MB / 4.834 GB, free: 12.42 MB / 1.198 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 () * 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.009539/12.61, allocations: 7.525 MB / 4.841 GB, free: 4.477 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003912/12.61, allocations: 2.069 MB / 4.843 GB, free: 2.414 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/12.61, allocations: 4 kB / 4.843 GB, free: 2.41 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/12.61, allocations: 0.6342 MB / 4.844 GB, free: 1.777 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006358/12.62, allocations: 1.16 MB / 4.845 GB, free: 0.6367 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8574/13.48, allocations: 4.395 MB / 4.849 GB, free: 174.1 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003182/13.48, allocations: 1.963 MB / 4.851 GB, free: 173.3 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.006857/13.49, allocations: 1.271 MB / 4.853 GB, free: 173.3 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/13.49, allocations: 0.8047 MB / 4.853 GB, free: 173.3 MB / 1.198 GB Notification: Performance of SimCode: time 3.126e-06/13.49, allocations: 0 / 4.853 GB, free: 173.3 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2113/13.7, allocations: 105.6 MB / 4.957 GB, free: 171.2 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/13.7, allocations: 227.2 kB / 4.957 GB, free: 171 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.827/19.53, allocations: 0 / 4.957 GB, free: 171 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