Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007833/0.0007833, allocations: 84.36 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1968/0.1968, allocations: 45.13 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.572e-05, allocations: 7.984 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 63.25 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.4674, allocations: 96.78 MB / 0.606 GB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4677, allocations: 99.39 kB / 0.6061 GB, free: 13.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02012/0.4878, allocations: 8.203 MB / 0.6141 GB, free: 5.941 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4878, allocations: 0 / 0.6141 GB, free: 5.941 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.4879, allocations: 4 kB / 0.6141 GB, free: 5.938 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006/0.4885, allocations: 479.2 kB / 0.6146 GB, free: 5.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.4885, allocations: 8.031 kB / 0.6146 GB, free: 5.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.298e-05/0.4886, allocations: 56.8 kB / 0.6146 GB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.4887, allocations: 19.72 kB / 0.6146 GB, free: 5.359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.4889, allocations: 206 kB / 0.6148 GB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.4889, allocations: 18.73 kB / 0.6149 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.4889, allocations: 19.44 kB / 0.6149 GB, free: 5.094 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.4892, allocations: 180.4 kB / 0.615 GB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4892, allocations: 0 / 0.615 GB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.4893, allocations: 7.25 kB / 0.6151 GB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.4893, allocations: 12 kB / 0.6151 GB, free: 4.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.4895, allocations: 121.4 kB / 0.6152 GB, free: 4.883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.4903, allocations: 0.578 MB / 0.6157 GB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.4904, allocations: 49 kB / 0.6158 GB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.4905, allocations: 28.17 kB / 0.6158 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.4905, allocations: 0 / 0.6158 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.4906, allocations: 30.56 kB / 0.6159 GB, free: 4.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.4906, allocations: 0 / 0.6159 GB, free: 4.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002273/0.4908, allocations: 88.58 kB / 0.6159 GB, free: 4.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.4908, allocations: 54.78 kB / 0.616 GB, free: 4.074 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.4911, allocations: 226 kB / 0.6162 GB, free: 3.871 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4911, allocations: 29.14 kB / 0.6162 GB, free: 3.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.4912, allocations: 166 kB / 0.6164 GB, free: 3.703 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.4912, allocations: 19.06 kB / 0.6164 GB, free: 3.688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.4912, allocations: 3.938 kB / 0.6164 GB, free: 3.684 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4913, allocations: 337.6 kB / 0.6167 GB, free: 3.355 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.4914, allocations: 19.12 kB / 0.6168 GB, free: 3.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.4915, allocations: 115.8 kB / 0.6169 GB, free: 3.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.6e-05/0.4916, allocations: 46.36 kB / 0.6169 GB, free: 3.156 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4916, allocations: 3.938 kB / 0.6169 GB, free: 3.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002494/0.4919, allocations: 181.2 kB / 0.6171 GB, free: 2.988 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4919, allocations: 8.625 kB / 0.6171 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.4919, allocations: 8 kB / 0.6171 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4919, allocations: 8 kB / 0.6171 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.4921, allocations: 36.34 kB / 0.6171 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4921, allocations: 8 kB / 0.6171 GB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.4922, allocations: 34.75 kB / 0.6172 GB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.4923, allocations: 15.94 kB / 0.6172 GB, free: 2.875 MB / 410.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6.952e-05/0.4923, allocations: 112.7 kB / 0.6173 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.4924, allocations: 15.81 kB / 0.6173 GB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.4926, allocations: 122.4 kB / 0.6174 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4926, allocations: 0 / 0.6174 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4927, allocations: 0 / 0.6174 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4927, allocations: 144 / 0.6174 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.4929, allocations: 227.3 kB / 0.6177 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/0.4929, allocations: 11.98 kB / 0.6177 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.493, allocations: 19.92 kB / 0.6177 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.493, allocations: 0 / 0.6177 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.493, allocations: 4 kB / 0.6177 GB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.493, allocations: 0 / 0.6177 GB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.493, allocations: 3.938 kB / 0.6177 GB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.4932, allocations: 184.1 kB / 0.6179 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.4933, allocations: 88.92 kB / 0.618 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.4934, allocations: 4 kB / 0.618 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.4935, allocations: 11.98 kB / 0.618 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.4935, allocations: 7.75 kB / 0.618 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.4935, allocations: 0 / 0.618 GB, free: 2.039 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.4937, allocations: 181.4 kB / 0.6181 GB, free: 1.887 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4937, allocations: 0 / 0.6181 GB, free: 1.887 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.4941, allocations: 79.81 kB / 0.6182 GB, free: 1.812 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000706/0.4948, allocations: 0.8267 MB / 0.619 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.4951, allocations: 145.6 kB / 0.6192 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4952, allocations: 4 kB / 0.6192 GB, free: 0.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.4953, allocations: 87.2 kB / 0.6193 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.4955, allocations: 25.53 kB / 0.6193 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/0.4962, allocations: 278.3 kB / 0.6195 GB, free: 436 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.4965, allocations: 0.7324 MB / 0.6203 GB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.803e-05/0.4966, allocations: 17.55 kB / 0.6203 GB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.4966, allocations: 54.98 kB / 0.6203 GB, free: 15.63 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4966, allocations: 0 / 0.6203 GB, free: 15.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.5148, allocations: 6.795 MB / 0.627 GB, free: 9.098 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.515, allocations: 227.5 kB / 0.6272 GB, free: 8.871 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.269, allocations: 0 / 0.6272 GB, free: 8.871 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat