Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008555/0.0008557, allocations: 99.59 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2171/0.2171, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.973e-05/5.001e-05, allocations: 4.219 kB / 452 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1441, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4862/0.6304, allocations: 95.52 MB / 0.5951 GB, free: 9.723 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.6307, allocations: 103.5 kB / 0.5952 GB, free: 9.625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02226/0.653, allocations: 8.043 MB / 0.6031 GB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.6531, allocations: 0 / 0.6031 GB, free: 1.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.6531, allocations: 8 kB / 0.6031 GB, free: 1.562 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006926/0.6538, allocations: 469.9 kB / 0.6035 GB, free: 1.059 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.6539, allocations: 12.03 kB / 0.6035 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.163e-05/0.6539, allocations: 54.48 kB / 0.6036 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.654, allocations: 23.72 kB / 0.6036 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.6543, allocations: 209.8 kB / 0.6038 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.6543, allocations: 15.95 kB / 0.6038 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.6543, allocations: 20 kB / 0.6038 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.6547, allocations: 186.7 kB / 0.604 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6547, allocations: 0 / 0.604 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.6547, allocations: 8 kB / 0.604 GB, free: 496 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.6547, allocations: 7.984 kB / 0.604 GB, free: 488 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.6549, allocations: 124.3 kB / 0.6041 GB, free: 364 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009018/0.6558, allocations: 0.5753 MB / 0.6047 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.656, allocations: 54.5 kB / 0.6048 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.656, allocations: 24.88 kB / 0.6048 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.6561, allocations: 0 / 0.6048 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.6561, allocations: 34.59 kB / 0.6048 GB, free: 15.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.6561, allocations: 0 / 0.6048 GB, free: 15.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002349/0.6564, allocations: 89.41 kB / 0.6049 GB, free: 15.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.6564, allocations: 51.41 kB / 0.6049 GB, free: 15.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.6567, allocations: 231 kB / 0.6052 GB, free: 15.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.6567, allocations: 25.7 kB / 0.6052 GB, free: 15.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.6568, allocations: 167.6 kB / 0.6053 GB, free: 15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.6569, allocations: 11.8 kB / 0.6054 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/0.6569, allocations: 8 kB / 0.6054 GB, free: 14.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6571, allocations: 326.8 kB / 0.6057 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.6571, allocations: 27.98 kB / 0.6057 GB, free: 14.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.6573, allocations: 114.9 kB / 0.6058 GB, free: 14.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.42e-05/0.6574, allocations: 47.92 kB / 0.6059 GB, free: 14.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.6574, allocations: 3.953 kB / 0.6059 GB, free: 14.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002695/0.6577, allocations: 173.1 kB / 0.606 GB, free: 14.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.899e-05/0.6578, allocations: 4.438 kB / 0.606 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.281e-05/0.6578, allocations: 19.98 kB / 0.6061 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.6578, allocations: 4 kB / 0.6061 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.658, allocations: 35.92 kB / 0.6061 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.658, allocations: 7.984 kB / 0.6061 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.6582, allocations: 39.61 kB / 0.6061 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.6582, allocations: 12 kB / 0.6061 GB, free: 14.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001023/0.6583, allocations: 120.9 kB / 0.6063 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.6583, allocations: 19.77 kB / 0.6063 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.6586, allocations: 122.7 kB / 0.6064 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6586, allocations: 4 kB / 0.6064 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6587, allocations: 0 / 0.6064 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.6587, allocations: 3.984 kB / 0.6064 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.6589, allocations: 213.6 kB / 0.6066 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/0.659, allocations: 11.98 kB / 0.6066 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.659, allocations: 11.95 kB / 0.6066 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.659, allocations: 4 kB / 0.6066 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.6591, allocations: 7.984 kB / 0.6066 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6591, allocations: 0 / 0.6066 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6591, allocations: 0 / 0.6066 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.6593, allocations: 183.3 kB / 0.6068 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.6593, allocations: 88.92 kB / 0.6069 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.6594, allocations: 7.938 kB / 0.6069 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.6595, allocations: 8 kB / 0.6069 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.6595, allocations: 11.92 kB / 0.6069 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.6596, allocations: 0 / 0.6069 GB, free: 13.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.6597, allocations: 183.1 kB / 0.6071 GB, free: 13.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6597, allocations: 0 / 0.6071 GB, free: 13.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.6602, allocations: 79.92 kB / 0.6072 GB, free: 12.97 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007867/0.661, allocations: 0.8127 MB / 0.608 GB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.6613, allocations: 151.2 kB / 0.6081 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6613, allocations: 0 / 0.6081 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.6615, allocations: 92.2 kB / 0.6082 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.6618, allocations: 28.83 kB / 0.6082 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.6625, allocations: 277.3 kB / 0.6085 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.6628, allocations: 0.7363 MB / 0.6092 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.971e-05/0.6629, allocations: 13.55 kB / 0.6092 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.141e-05/0.663, allocations: 63.41 kB / 0.6093 GB, free: 10.7 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.663, allocations: 7.938 kB / 0.6093 GB, free: 10.69 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.6843, allocations: 6.759 MB / 0.6159 GB, free: 4.152 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/0.6847, allocations: 227.9 kB / 0.6161 GB, free: 3.922 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.589, allocations: 0 / 0.6161 GB, free: 3.922 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat