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.002233/0.002233, 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.121/2.121, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001106/0.001106, allocations: 82.7 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.2955/0.2955, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.042e-05/4.059e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5283/0.6564, allocations: 101 MB / 0.5715 GB, free: 2.523 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/0.6568, allocations: 109.3 kB / 0.5716 GB, free: 2.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06066/0.7175, allocations: 12.37 MB / 0.5837 GB, free: 7.574 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7175, allocations: 4 kB / 0.5837 GB, free: 7.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.7176, allocations: 4 kB / 0.5837 GB, free: 7.566 MB / 394.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.001189/0.7188, allocations: 0.5809 MB / 0.5843 GB, free: 6.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.7188, allocations: 8.031 kB / 0.5843 GB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.7189, allocations: 71.59 kB / 0.5844 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.484e-05/0.7191, allocations: 43.48 kB / 0.5844 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.7195, allocations: 240.7 kB / 0.5846 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.7195, allocations: 27.59 kB / 0.5847 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.7196, allocations: 37.12 kB / 0.5847 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.7203, allocations: 337.5 kB / 0.585 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.7203, allocations: 0 / 0.585 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.7204, allocations: 14.81 kB / 0.585 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.7204, allocations: 8 kB / 0.5851 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.7209, allocations: 244 kB / 0.5853 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.7229, allocations: 0.8848 MB / 0.5861 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.7232, allocations: 75.94 kB / 0.5862 GB, free: 5.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.7233, allocations: 31.36 kB / 0.5862 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.7234, allocations: 6.734 kB / 0.5863 GB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.7234, allocations: 30.56 kB / 0.5863 GB, free: 5.254 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.725e-06/0.7234, allocations: 4 kB / 0.5863 GB, free: 5.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004639/0.7239, allocations: 126.8 kB / 0.5864 GB, free: 5.129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.724, allocations: 58.08 kB / 0.5865 GB, free: 5.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/0.7246, allocations: 342.2 kB / 0.5868 GB, free: 4.785 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.7246, allocations: 29.7 kB / 0.5868 GB, free: 4.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.7249, allocations: 288.3 kB / 0.5871 GB, free: 4.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.7249, allocations: 46.86 kB / 0.5871 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.725, allocations: 3.688 kB / 0.5871 GB, free: 4.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7251, allocations: 330.5 kB / 0.5875 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.7253, allocations: 43.22 kB / 0.5875 GB, free: 4.109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.7257, allocations: 235.6 kB / 0.5877 GB, free: 3.809 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.7259, allocations: 86.66 kB / 0.5878 GB, free: 3.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.7259, allocations: 0 / 0.5878 GB, free: 3.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008155/0.7268, allocations: 292.3 kB / 0.5881 GB, free: 3.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.7268, allocations: 8 kB / 0.5881 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.959e-05/0.7269, allocations: 23.98 kB / 0.5881 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.727, allocations: 12.78 kB / 0.5881 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.7273, allocations: 71.53 kB / 0.5882 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.7274, allocations: 8 kB / 0.5882 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.7278, allocations: 63.11 kB / 0.5883 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.7279, allocations: 19.44 kB / 0.5883 GB, free: 3.289 MB / 394.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 () * 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.0001468/0.728, allocations: 133.3 kB / 0.5884 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-05/0.7281, allocations: 35.53 kB / 0.5884 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/0.7288, allocations: 193.9 kB / 0.5886 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.7289, allocations: 0 / 0.5886 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7289, allocations: 0 / 0.5886 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7289, allocations: 0 / 0.5886 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.7294, allocations: 292.2 kB / 0.5889 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.278e-05/0.7295, allocations: 19.98 kB / 0.5889 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.7296, allocations: 8 kB / 0.5889 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.7296, allocations: 4 kB / 0.5889 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.7297, allocations: 7.984 kB / 0.5889 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.7297, allocations: 0 / 0.5889 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7297, allocations: 0 / 0.5889 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.7302, allocations: 228.9 kB / 0.5892 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.7303, allocations: 108.6 kB / 0.5893 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.7304, allocations: 0 / 0.5893 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.7307, allocations: 19.19 kB / 0.5893 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.7308, allocations: 7.984 kB / 0.5893 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.7308, allocations: 4 kB / 0.5893 GB, free: 2.238 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004202/0.7312, allocations: 263.4 kB / 0.5895 GB, free: 2.031 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7312, allocations: 0 / 0.5895 GB, free: 2.031 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009255/0.7322, allocations: 141.1 kB / 0.5897 GB, free: 1.902 MB / 394.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 (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.001595/0.7338, allocations: 0.9351 MB / 0.5906 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000906/0.7347, allocations: 285.1 kB / 0.5909 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7348, allocations: 0.8125 kB / 0.5909 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.7352, allocations: 177.7 kB / 0.591 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.7356, allocations: 39.61 kB / 0.5911 GB, free: 484 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.7375, allocations: 468.4 kB / 0.5915 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.738, allocations: 0.7872 MB / 0.5923 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.7382, allocations: 112.7 kB / 0.5924 GB, free: 15.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.7382, allocations: 0 / 0.5924 GB, free: 15.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.886/3.625, allocations: 11.22 MB / 0.6034 GB, free: 3.977 MB / 410.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