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_roundTube.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_roundTube,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.002219/0.002219, allocations: 185.8 kB / 16.41 MB, free: 5.723 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.085/2.085, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001051/0.001051, allocations: 92.12 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5119/0.5119, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006402/0.0006403, allocations: 12 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1319, allocations: 58.83 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5113/0.6433, allocations: 101.1 MB / 0.5776 GB, free: 1.434 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000421/0.6437, allocations: 95.94 kB / 0.5777 GB, free: 1.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06013/0.7039, allocations: 12.39 MB / 0.5898 GB, free: 4.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.704, allocations: 0 / 0.5898 GB, free: 4.957 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.704, allocations: 4 kB / 0.5898 GB, free: 4.953 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001243/0.7052, allocations: 0.6221 MB / 0.5904 GB, free: 4.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.7053, allocations: 8.031 kB / 0.5904 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.7054, allocations: 74.53 kB / 0.5905 GB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/0.7055, allocations: 43.52 kB / 0.5905 GB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.7059, allocations: 238.4 kB / 0.5907 GB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.706, allocations: 29 kB / 0.5907 GB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.706, allocations: 28 kB / 0.5908 GB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009157/0.707, allocations: 367.5 kB / 0.5911 GB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.707, allocations: 0 / 0.5911 GB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.7071, allocations: 19.98 kB / 0.5911 GB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.7071, allocations: 12 kB / 0.5912 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/0.7079, allocations: 271.8 kB / 0.5914 GB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.7099, allocations: 0.9 MB / 0.5923 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.7103, allocations: 98.47 kB / 0.5924 GB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.7104, allocations: 4 kB / 0.5924 GB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.7104, allocations: 34.62 kB / 0.5924 GB, free: 2.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.725e-06/0.7104, allocations: 0 / 0.5924 GB, free: 2.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.001132/0.7116, allocations: 0.5094 MB / 0.5929 GB, free: 1.473 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.7116, allocations: 55.41 kB / 0.593 GB, free: 1.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.7122, allocations: 341.1 kB / 0.5933 GB, free: 1.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.7123, allocations: 29.7 kB / 0.5933 GB, free: 1.031 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.7125, allocations: 285.5 kB / 0.5936 GB, free: 0.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.7126, allocations: 47.47 kB / 0.5936 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.7126, allocations: 4 kB / 0.5936 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7128, allocations: 330.8 kB / 0.594 GB, free: 376 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.7131, allocations: 60.25 kB / 0.594 GB, free: 312 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.7136, allocations: 262.5 kB / 0.5943 GB, free: 15.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.714, allocations: 108.1 kB / 0.5944 GB, free: 15.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.714, allocations: 0 / 0.5944 GB, free: 15.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00102/0.715, allocations: 321.3 kB / 0.5947 GB, free: 15.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.7151, allocations: 8 kB / 0.5947 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.917e-05/0.7152, allocations: 31.98 kB / 0.5947 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.7152, allocations: 8 kB / 0.5947 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.7155, allocations: 55.91 kB / 0.5948 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/0.7156, allocations: 23.17 kB / 0.5948 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.716, allocations: 59.38 kB / 0.5949 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.7161, allocations: 24 kB / 0.5949 GB, free: 15.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002304/0.7164, allocations: 157.6 kB / 0.595 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/0.7164, allocations: 35.53 kB / 0.5951 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009344/0.7174, allocations: 224.6 kB / 0.5953 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.7174, allocations: 4 kB / 0.5953 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7174, allocations: 0 / 0.5953 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7174, allocations: 0 / 0.5953 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.7179, allocations: 281.4 kB / 0.5956 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.772e-05/0.718, allocations: 19.98 kB / 0.5956 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.7181, allocations: 19.98 kB / 0.5956 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.7181, allocations: 0 / 0.5956 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.7182, allocations: 4 kB / 0.5956 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.7182, allocations: 0 / 0.5956 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7182, allocations: 4 kB / 0.5956 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.7189, allocations: 262.9 kB / 0.5959 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.719, allocations: 108.6 kB / 0.596 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.982e-05/0.7191, allocations: 0 / 0.596 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.7194, allocations: 15.92 kB / 0.596 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.7194, allocations: 4 kB / 0.596 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.7195, allocations: 7.984 kB / 0.596 GB, free: 14.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004371/0.7199, allocations: 271.2 kB / 0.5962 GB, free: 13.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7199, allocations: 0 / 0.5962 GB, free: 13.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009372/0.7209, allocations: 143.9 kB / 0.5964 GB, free: 13.71 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00176/0.7226, allocations: 0.9708 MB / 0.5973 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.7238, allocations: 320.2 kB / 0.5976 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.7238, allocations: 0 / 0.5976 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.7243, allocations: 190.2 kB / 0.5978 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.7248, allocations: 37.55 kB / 0.5978 GB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006656/0.7315, allocations: 6.417 MB / 0.6041 GB, free: 5.535 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.732, allocations: 0.7794 MB / 0.6049 GB, free: 4.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.7322, allocations: 115.3 kB / 0.605 GB, free: 4.617 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/0.7322, allocations: 0 / 0.605 GB, free: 4.617 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.123/3.855, allocations: 11.38 MB / 0.6161 GB, free: 9.262 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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_roundTube_res.mat does not exist to compare? outputFormat=mat