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_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_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.001547/0.001547, allocations: 181 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.098/2.098, 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.001101/0.001101, allocations: 86.64 kB / 267.5 MB, free: 14.05 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.2875/0.2875, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.693e-05, allocations: 8 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 58.86 MB / 484.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5099/0.6312, allocations: 98.63 MB / 0.5692 GB, free: 4.887 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/0.6316, allocations: 93.25 kB / 0.5693 GB, free: 4.832 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05525/0.6869, allocations: 11.3 MB / 0.5804 GB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.6869, allocations: 0 / 0.5804 GB, free: 10.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.094e-05/0.687, allocations: 8 kB / 0.5804 GB, free: 10.95 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.001018/0.688, allocations: 0.5727 MB / 0.5809 GB, free: 10.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.6881, allocations: 12.03 kB / 0.5809 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.6882, allocations: 73.72 kB / 0.581 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/0.6883, allocations: 39.48 kB / 0.581 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.6887, allocations: 237.4 kB / 0.5813 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.6888, allocations: 27.97 kB / 0.5813 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.6888, allocations: 30.5 kB / 0.5813 GB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/0.6897, allocations: 0.5535 MB / 0.5819 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.6898, allocations: 7.938 kB / 0.5819 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.6898, allocations: 21.12 kB / 0.5819 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.6899, allocations: 12 kB / 0.5819 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.6905, allocations: 299.3 kB / 0.5822 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/0.6943, allocations: 4.044 MB / 0.5861 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.6948, allocations: 93.67 kB / 0.5862 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.695, allocations: 28.55 kB / 0.5863 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.695, allocations: 0 / 0.5863 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.695, allocations: 37.8 kB / 0.5863 GB, free: 4.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.6951, allocations: 3.938 kB / 0.5863 GB, free: 4.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004635/0.6955, allocations: 116.4 kB / 0.5864 GB, free: 4.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.6956, allocations: 51.41 kB / 0.5865 GB, free: 4.719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/0.6962, allocations: 358.9 kB / 0.5868 GB, free: 4.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.6962, allocations: 33.08 kB / 0.5868 GB, free: 4.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.6964, allocations: 280.9 kB / 0.5871 GB, free: 4.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.6965, allocations: 35.25 kB / 0.5871 GB, free: 4.129 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.6965, allocations: 7.062 kB / 0.5871 GB, free: 4.129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.6967, allocations: 322.1 kB / 0.5874 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.6968, allocations: 42.97 kB / 0.5875 GB, free: 3.773 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.6972, allocations: 252 kB / 0.5877 GB, free: 3.445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.6974, allocations: 85.97 kB / 0.5878 GB, free: 3.371 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.6975, allocations: 7.953 kB / 0.5878 GB, free: 3.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007425/0.6982, allocations: 295.2 kB / 0.5881 GB, free: 3.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.6983, allocations: 8 kB / 0.5881 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.6983, allocations: 8.906 kB / 0.5881 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.6983, allocations: 12 kB / 0.5881 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007701/0.6991, allocations: 114.9 kB / 0.5882 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.7002, allocations: 1.213 MB / 0.5894 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005213/0.7007, allocations: 69.67 kB / 0.5895 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.7008, allocations: 23.38 kB / 0.5895 GB, free: 1.645 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001419/0.7009, allocations: 129.8 kB / 0.5896 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.701, allocations: 35.53 kB / 0.5897 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/0.7015, allocations: 149.3 kB / 0.5898 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.7016, allocations: 7.938 kB / 0.5898 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.7016, allocations: 0 / 0.5898 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7016, allocations: 3.984 kB / 0.5898 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.7021, allocations: 273.3 kB / 0.5901 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.7021, allocations: 7.875 kB / 0.5901 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/0.7026, allocations: 59.95 kB / 0.5901 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.7026, allocations: 0 / 0.5901 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.7027, allocations: 0 / 0.5901 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.7037, allocations: 1.208 MB / 0.5913 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.7037, allocations: 3.984 kB / 0.5913 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.7041, allocations: 212.3 kB / 0.5915 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.7043, allocations: 112.6 kB / 0.5916 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.7043, allocations: 0 / 0.5916 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.7047, allocations: 11.98 kB / 0.5917 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.7047, allocations: 11.78 kB / 0.5917 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.7048, allocations: 7.984 kB / 0.5917 GB, free: 15.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004359/0.7052, allocations: 262.6 kB / 0.5919 GB, free: 15.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.7052, allocations: 0 / 0.5919 GB, free: 15.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008738/0.7061, allocations: 130.4 kB / 0.592 GB, free: 15.06 MB / 410.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 (7): * Single equations (assignments): 5 * 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.001446/0.7076, allocations: 0.9028 MB / 0.5929 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008057/0.7084, allocations: 168.9 kB / 0.5931 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7085, allocations: 0 / 0.5931 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.7088, allocations: 55.34 kB / 0.5931 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.7093, allocations: 32.66 kB / 0.5932 GB, free: 13.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.7109, allocations: 414.2 kB / 0.5936 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.7114, allocations: 0.7758 MB / 0.5943 GB, free: 12.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.7116, allocations: 103.2 kB / 0.5944 GB, free: 12.69 MB / 410.7 MB Notification: Performance of SimCode: time 3.427e-06/0.7117, allocations: 0 / 0.5944 GB, free: 12.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.856/3.568, allocations: 8.262 MB / 0.6025 GB, free: 4.469 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC_res.mat does not exist to compare? outputFormat=mat