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.382/2.382, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.001413/0.001413, allocations: 169 kB / 492.3 MB, free: 0.6289 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.697/1.697, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.001024/0.001024, allocations: 97.25 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.754e-05/3.756e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3724, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.808/7.18, allocations: 2.197 GB / 3.41 GB, free: 79.77 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/7.181, allocations: 95 kB / 3.41 GB, free: 79.72 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.422/12.6, allocations: 1.362 GB / 4.772 GB, free: 26.05 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.545e-06/12.6, allocations: 8 kB / 4.772 GB, free: 26.05 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003943/12.6, allocations: 67.84 kB / 4.772 GB, free: 25.98 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.009475/12.61, allocations: 2.682 MB / 4.775 GB, free: 23.25 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/12.61, allocations: 12.03 kB / 4.775 GB, free: 23.23 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009456/12.61, allocations: 256.5 kB / 4.775 GB, free: 22.98 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/12.62, allocations: 0.5279 MB / 4.776 GB, free: 22.45 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005343/12.62, allocations: 2.403 MB / 4.778 GB, free: 19.99 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/12.62, allocations: 135.3 kB / 4.778 GB, free: 19.86 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/12.62, allocations: 171.9 kB / 4.778 GB, free: 19.69 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003475/12.63, allocations: 2.215 MB / 4.78 GB, free: 17.38 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/12.63, allocations: 4 kB / 4.78 GB, free: 17.38 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/12.63, allocations: 71.98 kB / 4.781 GB, free: 17.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.937e-05/12.63, allocations: 79.17 kB / 4.781 GB, free: 17.23 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/12.63, allocations: 1.783 MB / 4.782 GB, free: 15.44 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.01095/12.64, allocations: 10.46 MB / 4.793 GB, free: 4.324 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/12.64, allocations: 1.163 MB / 4.794 GB, free: 3.129 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007533/12.64, allocations: 0.6426 MB / 4.794 GB, free: 2.488 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/12.64, allocations: 1.203 MB / 4.796 GB, free: 1.027 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/12.64, allocations: 55.28 kB / 4.796 GB, free: 0.9648 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 4.709e-06/12.64, allocations: 0 / 4.796 GB, free: 0.9648 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.007026/12.65, allocations: 2.945 MB / 4.798 GB, free: 13.96 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/12.65, allocations: 64.41 kB / 4.798 GB, free: 13.89 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/12.65, allocations: 1.698 MB / 4.8 GB, free: 12.14 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/12.65, allocations: 49.7 kB / 4.8 GB, free: 12.09 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009608/12.66, allocations: 0.9668 MB / 4.801 GB, free: 11.11 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.000392/12.66, allocations: 362.8 kB / 4.801 GB, free: 10.75 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.718e-05/12.66, allocations: 24 kB / 4.802 GB, free: 10.72 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002118/12.66, allocations: 349.9 kB / 4.802 GB, free: 10.38 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008726/12.66, allocations: 0.518 MB / 4.802 GB, free: 9.859 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/12.66, allocations: 0.8979 MB / 4.803 GB, free: 8.805 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.01025/12.67, allocations: 2.718 MB / 4.806 GB, free: 6.07 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/12.67, allocations: 4 kB / 4.806 GB, free: 6.066 MB / 1.182 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003017/12.67, allocations: 1.589 MB / 4.807 GB, free: 4.473 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001458/12.67, allocations: 3.546 MB / 4.811 GB, free: 0.6523 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/12.67, allocations: 12 kB / 4.811 GB, free: 0.6406 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/12.67, allocations: 19.95 kB / 4.811 GB, free: 0.6211 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/12.67, allocations: 275.6 kB / 4.811 GB, free: 360 kB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.652e-05/12.67, allocations: 19.92 kB / 4.811 GB, free: 340 kB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/12.68, allocations: 199.5 kB / 4.811 GB, free: 140 kB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/12.68, allocations: 59.98 kB / 4.811 GB, free: 80 kB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/12.68, allocations: 5.406 kB / 4.811 GB, free: 76 kB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002134/12.68, allocations: 1.39 MB / 4.813 GB, free: 14.68 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/12.68, allocations: 8 kB / 4.813 GB, free: 14.68 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/12.68, allocations: 16 kB / 4.813 GB, free: 14.66 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/12.68, allocations: 279.5 kB / 4.813 GB, free: 14.39 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/12.68, allocations: 16 kB / 4.813 GB, free: 14.37 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/12.68, allocations: 195.8 kB / 4.813 GB, free: 14.18 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/12.68, allocations: 63.91 kB / 4.813 GB, free: 14.12 MB / 1.198 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.000317/12.68, allocations: 192.5 kB / 4.814 GB, free: 13.92 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/12.68, allocations: 193.9 kB / 4.814 GB, free: 13.73 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/12.69, allocations: 1.52 MB / 4.815 GB, free: 12.2 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/12.69, allocations: 15.98 kB / 4.815 GB, free: 12.19 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/12.69, allocations: 0 / 4.815 GB, free: 12.19 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001775/12.69, allocations: 1.472 MB / 4.817 GB, free: 10.63 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006804/12.69, allocations: 4.111 MB / 4.821 GB, free: 6.363 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/12.69, allocations: 7.984 kB / 4.821 GB, free: 6.355 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/12.7, allocations: 231.7 kB / 4.821 GB, free: 6.129 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/12.7, allocations: 12 kB / 4.821 GB, free: 6.117 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.417e-05/12.7, allocations: 31.98 kB / 4.821 GB, free: 6.086 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/12.7, allocations: 15.94 kB / 4.821 GB, free: 6.07 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/12.7, allocations: 4 kB / 4.821 GB, free: 6.066 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/12.7, allocations: 2.713 MB / 4.824 GB, free: 3.078 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/12.7, allocations: 462.5 kB / 4.824 GB, free: 2.605 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/12.7, allocations: 27.98 kB / 4.824 GB, free: 2.578 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/12.7, allocations: 147.6 kB / 4.824 GB, free: 2.434 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/12.7, allocations: 88.52 kB / 4.824 GB, free: 2.348 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.416e-05/12.7, allocations: 47.92 kB / 4.824 GB, free: 2.301 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002171/12.7, allocations: 1.34 MB / 4.826 GB, free: 0.9297 MB / 1.198 GB Notification: Performance of sort global known variables: time 4.31e-07/12.7, allocations: 0 / 4.826 GB, free: 0.9297 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.9386/13.64, allocations: 1.225 MB / 4.827 GB, free: 177 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.01027/13.65, allocations: 7.511 MB / 4.834 GB, free: 173.2 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004232/13.66, allocations: 2.067 MB / 4.836 GB, free: 173.2 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/13.66, allocations: 4.281 kB / 4.836 GB, free: 173.2 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/13.66, allocations: 0.6356 MB / 4.837 GB, free: 173.2 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006481/13.67, allocations: 1.159 MB / 4.838 GB, free: 173.2 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009996/13.68, allocations: 4.407 MB / 4.842 GB, free: 172.2 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/13.68, allocations: 1.967 MB / 4.844 GB, free: 171.5 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005013/13.68, allocations: 1.266 MB / 4.845 GB, free: 171.4 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/13.68, allocations: 0.8005 MB / 4.846 GB, free: 171.4 MB / 1.198 GB Notification: Performance of SimCode: time 1.051e-06/13.68, allocations: 0 / 4.846 GB, free: 171.4 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2175/13.9, allocations: 105.6 MB / 4.949 GB, free: 169 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/13.9, allocations: 213 kB / 4.95 GB, free: 168.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.619/19.52, allocations: 0 / 4.95 GB, free: 168.8 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