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.263/2.263, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001123/0.001123, allocations: 168.9 kB / 487.4 MB, free: 5.039 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.583/1.583, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009463/0.0009465, allocations: 99.78 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.212e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3428, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.441/6.784, allocations: 2.196 GB / 3.403 GB, free: 101.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/6.784, allocations: 92.61 kB / 3.403 GB, free: 101.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.945/11.73, allocations: 1.351 GB / 4.753 GB, free: 67.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.875e-06/11.73, allocations: 7.938 kB / 4.753 GB, free: 67.29 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002907/11.73, allocations: 59.92 kB / 4.753 GB, free: 67.23 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.008949/11.74, allocations: 2.684 MB / 4.756 GB, free: 64.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/11.74, allocations: 12.03 kB / 4.756 GB, free: 64.48 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00382/11.74, allocations: 0.5428 MB / 4.757 GB, free: 63.94 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006148/11.75, allocations: 2.399 MB / 4.759 GB, free: 61.49 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/11.75, allocations: 52 kB / 4.759 GB, free: 61.44 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/11.75, allocations: 101.3 kB / 4.759 GB, free: 61.34 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002743/11.75, allocations: 1.608 MB / 4.761 GB, free: 59.73 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002817/11.75, allocations: 1.958 MB / 4.762 GB, free: 57.68 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/11.75, allocations: 7.906 kB / 4.763 GB, free: 57.67 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/11.75, allocations: 4 kB / 4.763 GB, free: 57.67 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.802e-05/11.75, allocations: 79.19 kB / 4.763 GB, free: 57.59 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.01123/11.77, allocations: 10.08 MB / 4.772 GB, free: 46.86 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/11.77, allocations: 1.204 MB / 4.774 GB, free: 45.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000638/11.77, allocations: 0.6038 MB / 4.774 GB, free: 45 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000968/11.77, allocations: 1.21 MB / 4.775 GB, free: 43.53 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/11.77, allocations: 43.34 kB / 4.775 GB, free: 43.48 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 3.126e-06/11.77, allocations: 0 / 4.775 GB, free: 43.48 MB / 1.167 GB Notification: Performance of matching and sorting (n=99): time 0.006336/11.78, allocations: 2.903 MB / 4.778 GB, free: 40.52 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/11.78, allocations: 64.72 kB / 4.778 GB, free: 40.45 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/11.78, allocations: 1.383 MB / 4.78 GB, free: 39.06 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/11.78, allocations: 25.7 kB / 4.78 GB, free: 39.03 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005401/11.78, allocations: 0.9807 MB / 4.781 GB, free: 38.03 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/11.78, allocations: 338.9 kB / 4.781 GB, free: 37.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/11.78, allocations: 0 / 4.781 GB, free: 37.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.742e-05/11.78, allocations: 357.9 kB / 4.781 GB, free: 37.34 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/11.78, allocations: 494.4 kB / 4.782 GB, free: 36.86 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/11.78, allocations: 0.8732 MB / 4.783 GB, free: 35.82 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.005263/11.79, allocations: 1.996 MB / 4.785 GB, free: 33.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/11.79, allocations: 0 / 4.785 GB, free: 33.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00271/11.79, allocations: 1.506 MB / 4.786 GB, free: 32.29 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007483/11.79, allocations: 3.677 MB / 4.79 GB, free: 28.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/11.79, allocations: 8 kB / 4.79 GB, free: 28.28 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/11.79, allocations: 16 kB / 4.79 GB, free: 28.27 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/11.79, allocations: 279.6 kB / 4.79 GB, free: 27.99 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/11.79, allocations: 23.92 kB / 4.79 GB, free: 27.97 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/11.79, allocations: 167.6 kB / 4.79 GB, free: 27.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/11.79, allocations: 63.97 kB / 4.79 GB, free: 27.74 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/11.79, allocations: 4 kB / 4.79 GB, free: 27.74 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002164/11.79, allocations: 1.291 MB / 4.791 GB, free: 26.44 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/11.79, allocations: 12 kB / 4.791 GB, free: 26.43 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/11.79, allocations: 16 kB / 4.791 GB, free: 26.41 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009727/11.8, allocations: 271.6 kB / 4.792 GB, free: 26.15 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/11.8, allocations: 15.94 kB / 4.792 GB, free: 26.13 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/11.8, allocations: 159.8 kB / 4.792 GB, free: 25.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/11.8, allocations: 67.92 kB / 4.792 GB, free: 25.91 MB / 1.167 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.0002601/11.8, allocations: 146.8 kB / 4.792 GB, free: 25.76 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001963/11.8, allocations: 1.19 MB / 4.793 GB, free: 24.57 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/11.8, allocations: 173.9 kB / 4.793 GB, free: 24.39 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/11.8, allocations: 1.436 MB / 4.795 GB, free: 22.95 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/11.8, allocations: 15.98 kB / 4.795 GB, free: 22.93 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/11.8, allocations: 3.953 kB / 4.795 GB, free: 22.93 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001558/11.8, allocations: 1.428 MB / 4.796 GB, free: 21.41 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005735/11.81, allocations: 3.702 MB / 4.8 GB, free: 17.58 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/11.81, allocations: 12.03 kB / 4.8 GB, free: 17.57 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009403/11.81, allocations: 227.7 kB / 4.8 GB, free: 17.35 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/11.81, allocations: 12 kB / 4.8 GB, free: 17.34 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/11.81, allocations: 23.94 kB / 4.8 GB, free: 17.31 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/11.81, allocations: 19.86 kB / 4.8 GB, free: 17.29 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/11.81, allocations: 8 kB / 4.8 GB, free: 17.29 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/11.81, allocations: 2.507 MB / 4.803 GB, free: 14.54 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009605/11.81, allocations: 434.8 kB / 4.803 GB, free: 14.09 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/11.82, allocations: 15.98 kB / 4.803 GB, free: 14.08 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/11.82, allocations: 131.7 kB / 4.803 GB, free: 13.95 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/11.82, allocations: 80.58 kB / 4.803 GB, free: 13.87 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/11.82, allocations: 51.97 kB / 4.803 GB, free: 13.82 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001417/11.82, allocations: 1.056 MB / 4.804 GB, free: 12.77 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/11.82, allocations: 0 / 4.804 GB, free: 12.77 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003251/11.82, allocations: 1.09 MB / 4.805 GB, free: 11.68 MB / 1.167 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.007075/11.83, allocations: 7.595 MB / 4.813 GB, free: 3.664 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002759/11.83, allocations: 1.914 MB / 4.815 GB, free: 1.754 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/11.83, allocations: 7.938 kB / 4.815 GB, free: 1.746 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007357/11.83, allocations: 0.5922 MB / 4.815 GB, free: 1.152 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004759/11.84, allocations: 0.916 MB / 4.816 GB, free: 268 kB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009069/11.85, allocations: 4.235 MB / 4.82 GB, free: 11.89 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/11.85, allocations: 1.968 MB / 4.822 GB, free: 9.883 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.00392/11.85, allocations: 1.138 MB / 4.823 GB, free: 8.742 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/11.85, allocations: 0.8 MB / 4.824 GB, free: 7.941 MB / 1.182 GB Notification: Performance of SimCode: time 1.173e-06/11.85, allocations: 0 / 4.824 GB, free: 7.941 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9148/12.77, allocations: 71.44 MB / 4.894 GB, free: 176.8 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/12.77, allocations: 198.8 kB / 4.894 GB, free: 176.6 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.363/17.13, allocations: 0 / 4.894 GB, free: 176.6 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