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_roundTube_KC.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_roundTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 221.5 MB / 230.7 MB, free: 7.551 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.001012/0.001012, allocations: 102.8 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2014/0.2014, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.537e-05, allocations: 8.156 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1337, allocations: 61.91 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4512/0.585, allocations: 99.13 MB / 0.5916 GB, free: 13.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5853, allocations: 103.9 kB / 0.5917 GB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0342/0.6195, allocations: 11.29 MB / 0.6027 GB, free: 1.781 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6196, allocations: 0 / 0.6027 GB, free: 1.781 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.6196, allocations: 8 kB / 0.6027 GB, free: 1.773 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.000646/0.6203, allocations: 0.5723 MB / 0.6033 GB, free: 1.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6203, allocations: 11.98 kB / 0.6033 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.6204, allocations: 43.47 kB / 0.6033 GB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.6206, allocations: 242.2 kB / 0.6036 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.6207, allocations: 15.95 kB / 0.6036 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.6207, allocations: 20 kB / 0.6036 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003211/0.621, allocations: 221.5 kB / 0.6038 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.6216, allocations: 0.5019 MB / 0.6043 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.6216, allocations: 7.938 kB / 0.6043 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.6216, allocations: 4 kB / 0.6043 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.6217, allocations: 16 kB / 0.6043 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.624, allocations: 3.942 MB / 0.6082 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.6243, allocations: 86.47 kB / 0.6083 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.6243, allocations: 24.98 kB / 0.6083 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.6244, allocations: 3.984 kB / 0.6083 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.6244, allocations: 34.72 kB / 0.6083 GB, free: 11.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.6244, allocations: 0 / 0.6083 GB, free: 11.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.000271/0.6247, allocations: 109.3 kB / 0.6084 GB, free: 11.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.6247, allocations: 55.41 kB / 0.6085 GB, free: 11.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.625, allocations: 226.2 kB / 0.6087 GB, free: 11.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.625, allocations: 25.7 kB / 0.6087 GB, free: 11.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.6251, allocations: 262.6 kB / 0.609 GB, free: 10.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.6252, allocations: 27.64 kB / 0.609 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.6252, allocations: 0 / 0.609 GB, free: 10.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6253, allocations: 338.8 kB / 0.6093 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.6254, allocations: 36.66 kB / 0.6094 GB, free: 10.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.6256, allocations: 242.1 kB / 0.6096 GB, free: 10.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.6258, allocations: 79.84 kB / 0.6097 GB, free: 10.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.6258, allocations: 7.984 kB / 0.6097 GB, free: 10.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004226/0.6262, allocations: 253.9 kB / 0.6099 GB, free: 9.824 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6262, allocations: 8 kB / 0.6099 GB, free: 9.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6263, allocations: 8 kB / 0.6099 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.6263, allocations: 12 kB / 0.6099 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.6267, allocations: 116.5 kB / 0.6101 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007132/0.6274, allocations: 1.215 MB / 0.6112 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.6277, allocations: 39.61 kB / 0.6113 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.6277, allocations: 24.19 kB / 0.6113 GB, free: 8.359 MB / 426.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.000128/0.6279, allocations: 126.6 kB / 0.6114 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001837/0.628, allocations: 105.5 kB / 0.6115 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.6281, allocations: 27.62 kB / 0.6115 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.6284, allocations: 131.5 kB / 0.6117 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.6284, allocations: 0 / 0.6117 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6284, allocations: 4 kB / 0.6117 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6284, allocations: 0 / 0.6117 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.6287, allocations: 242 kB / 0.6119 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6287, allocations: 4 kB / 0.6119 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.629, allocations: 59.95 kB / 0.612 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.629, allocations: 0 / 0.612 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.629, allocations: 4 kB / 0.612 GB, free: 7.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006129/0.6296, allocations: 1.211 MB / 0.6132 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6296, allocations: 0 / 0.6132 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.6299, allocations: 191.2 kB / 0.6133 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.6299, allocations: 100.8 kB / 0.6134 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.63, allocations: 3.953 kB / 0.6134 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.6301, allocations: 4 kB / 0.6134 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.6302, allocations: 11.98 kB / 0.6135 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.6302, allocations: 8.062 kB / 0.6135 GB, free: 6.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.6303, allocations: 162 kB / 0.6136 GB, free: 5.852 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6303, allocations: 4 kB / 0.6136 GB, free: 5.848 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006231/0.6309, allocations: 119.7 kB / 0.6137 GB, free: 5.73 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 (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.000796/0.6317, allocations: 0.8834 MB / 0.6146 GB, free: 4.824 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.6321, allocations: 149.3 kB / 0.6147 GB, free: 4.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6322, allocations: 0 / 0.6147 GB, free: 4.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.6323, allocations: 48.36 kB / 0.6148 GB, free: 4.633 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.6326, allocations: 26.67 kB / 0.6148 GB, free: 4.609 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/0.6335, allocations: 363.2 kB / 0.6152 GB, free: 4.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.6338, allocations: 0.7789 MB / 0.6159 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.6339, allocations: 22.08 kB / 0.6159 GB, free: 3.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.634, allocations: 101.1 kB / 0.616 GB, free: 3.289 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.634, allocations: 4 kB / 0.616 GB, free: 3.285 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.6621, allocations: 7.286 MB / 0.6232 GB, free: 12.02 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.6624, allocations: 188.7 kB / 0.6233 GB, free: 11.83 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/2.665, allocations: 4 kB / 0.6233 GB, free: 11.82 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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_roundTube_KC_res.mat does not exist to compare? outputFormat=mat