Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 98.62 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2861/0.2861, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.549e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 58.86 MB / 484.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5245/0.6562, allocations: 92.33 MB / 0.5631 GB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/0.6566, allocations: 99.09 kB / 0.5632 GB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03147/0.6881, allocations: 6.823 MB / 0.5698 GB, free: 5.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.6882, allocations: 0 / 0.5698 GB, free: 5.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.6882, allocations: 4 kB / 0.5698 GB, free: 5.223 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007161/0.6889, allocations: 472.1 kB / 0.5703 GB, free: 4.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.689, allocations: 8.031 kB / 0.5703 GB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.24e-05/0.6891, allocations: 57.61 kB / 0.5704 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.6892, allocations: 23.72 kB / 0.5704 GB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.6895, allocations: 220.3 kB / 0.5706 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.6895, allocations: 14.81 kB / 0.5706 GB, free: 4.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.6896, allocations: 22.88 kB / 0.5706 GB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.6901, allocations: 208.2 kB / 0.5708 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.6901, allocations: 8 kB / 0.5708 GB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.6902, allocations: 10.44 kB / 0.5708 GB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.6902, allocations: 4 kB / 0.5708 GB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.6907, allocations: 220.4 kB / 0.5711 GB, free: 4.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.6921, allocations: 0.6219 MB / 0.5717 GB, free: 3.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.6926, allocations: 99.47 kB / 0.5718 GB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.6928, allocations: 29.73 kB / 0.5718 GB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.6928, allocations: 4 kB / 0.5718 GB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.6929, allocations: 30.75 kB / 0.5718 GB, free: 3.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 5.671e-06/0.6929, allocations: 0 / 0.5718 GB, free: 3.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000405/0.6933, allocations: 107.6 kB / 0.5719 GB, free: 3.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.6934, allocations: 59.41 kB / 0.572 GB, free: 3.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.6937, allocations: 236.8 kB / 0.5722 GB, free: 2.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.6937, allocations: 29.64 kB / 0.5722 GB, free: 2.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.6939, allocations: 225.3 kB / 0.5724 GB, free: 2.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.694, allocations: 31.05 kB / 0.5725 GB, free: 2.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.694, allocations: 3.562 kB / 0.5725 GB, free: 2.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.6942, allocations: 326.4 kB / 0.5728 GB, free: 2.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.6943, allocations: 31.31 kB / 0.5728 GB, free: 2.371 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.6946, allocations: 130.5 kB / 0.5729 GB, free: 2.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.6948, allocations: 66.91 kB / 0.573 GB, free: 2.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6948, allocations: 0 / 0.573 GB, free: 2.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005301/0.6953, allocations: 198.8 kB / 0.5732 GB, free: 1.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.6954, allocations: 8 kB / 0.5732 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.6954, allocations: 4.438 kB / 0.5732 GB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.6954, allocations: 8 kB / 0.5732 GB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007088/0.6961, allocations: 87.45 kB / 0.5733 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.6972, allocations: 1.213 MB / 0.5745 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.6976, allocations: 39.42 kB / 0.5745 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.6976, allocations: 15.62 kB / 0.5745 GB, free: 0.5938 MB / 378.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.6977, allocations: 115.2 kB / 0.5746 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.6978, allocations: 27.67 kB / 0.5747 GB, free: 464 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005405/0.6984, allocations: 156.8 kB / 0.5748 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6984, allocations: 0 / 0.5748 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.6984, allocations: 0 / 0.5748 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6984, allocations: 4 kB / 0.5748 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007878/0.6992, allocations: 432.4 kB / 0.5752 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6992, allocations: 0 / 0.5752 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.6998, allocations: 59.91 kB / 0.5753 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.6998, allocations: 3.938 kB / 0.5753 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.6998, allocations: 4 kB / 0.5753 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009364/0.7008, allocations: 1.217 MB / 0.5765 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7008, allocations: 0.7031 kB / 0.5765 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.7012, allocations: 246.9 kB / 0.5767 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.7013, allocations: 92.83 kB / 0.5768 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.7014, allocations: 11.73 kB / 0.5768 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.7017, allocations: 8 kB / 0.5768 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.7018, allocations: 7.984 kB / 0.5768 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.7018, allocations: 4 kB / 0.5768 GB, free: 14.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002935/0.7021, allocations: 186.6 kB / 0.577 GB, free: 14.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7021, allocations: 4 kB / 0.577 GB, free: 14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000568/0.7027, allocations: 71.44 kB / 0.5771 GB, free: 13.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.7038, allocations: 0.9923 MB / 0.5781 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006903/0.7045, allocations: 133.6 kB / 0.5782 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7046, allocations: 4 kB / 0.5782 GB, free: 12.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.705, allocations: 64.09 kB / 0.5783 GB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.7053, allocations: 23.08 kB / 0.5783 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.7065, allocations: 327.7 kB / 0.5786 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.7069, allocations: 0.7441 MB / 0.5793 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.7071, allocations: 63.67 kB / 0.5794 GB, free: 11.59 MB / 394.7 MB Notification: Performance of SimCode: time 4.268e-06/0.7071, allocations: 0 / 0.5794 GB, free: 11.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.813/3.52, allocations: 5.244 MB / 0.5845 GB, free: 6.367 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat