Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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_roundTube,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001029/0.001029, allocations: 198 kB / 14.17 MB, free: 1.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 91.59 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.865e-05, allocations: 4 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.0935, allocations: 63.24 MB / 0.5115 GB, free: 6.672 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.4591, allocations: 101.9 MB / 0.611 GB, free: 7.902 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.4594, allocations: 100.5 kB / 0.6111 GB, free: 7.844 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03083/0.4902, allocations: 10.8 MB / 0.6216 GB, free: 14.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4903, allocations: 0 / 0.6216 GB, free: 14.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.4903, allocations: 0 / 0.6216 GB, free: 14.27 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006414/0.4909, allocations: 0.4948 MB / 0.6221 GB, free: 13.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.491, allocations: 12.03 kB / 0.6221 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.491, allocations: 51.17 kB / 0.6221 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.4911, allocations: 27.67 kB / 0.6222 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.4913, allocations: 203 kB / 0.6224 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.4913, allocations: 18.17 kB / 0.6224 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.4913, allocations: 21.75 kB / 0.6224 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.4917, allocations: 253.1 kB / 0.6226 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4917, allocations: 0 / 0.6226 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4917, allocations: 3.75 kB / 0.6226 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.4917, allocations: 8 kB / 0.6227 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.4919, allocations: 133.8 kB / 0.6228 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009324/0.4929, allocations: 0.9064 MB / 0.6237 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.493, allocations: 41.2 kB / 0.6237 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.493, allocations: 28.11 kB / 0.6237 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.4931, allocations: 4.031 kB / 0.6237 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.4931, allocations: 30.56 kB / 0.6238 GB, free: 12.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.4931, allocations: 0 / 0.6238 GB, free: 12.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001971/0.4933, allocations: 92.67 kB / 0.6239 GB, free: 12.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.4933, allocations: 51.41 kB / 0.6239 GB, free: 11.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.4935, allocations: 234.6 kB / 0.6241 GB, free: 11.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.4936, allocations: 25.7 kB / 0.6242 GB, free: 11.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4937, allocations: 185.1 kB / 0.6243 GB, free: 11.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.4937, allocations: 22.95 kB / 0.6244 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.4937, allocations: 7.5 kB / 0.6244 GB, free: 11.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4938, allocations: 329.2 kB / 0.6247 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.4939, allocations: 33.42 kB / 0.6247 GB, free: 11.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.4941, allocations: 172.2 kB / 0.6249 GB, free: 10.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.501e-05/0.4942, allocations: 63.47 kB / 0.6249 GB, free: 10.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4942, allocations: 0 / 0.6249 GB, free: 10.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003148/0.4945, allocations: 225 kB / 0.6251 GB, free: 10.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4945, allocations: 18.12 kB / 0.6252 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.4946, allocations: 16.7 kB / 0.6252 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4946, allocations: 8 kB / 0.6252 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.4947, allocations: 51.41 kB / 0.6252 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.4948, allocations: 11.95 kB / 0.6252 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.4949, allocations: 47.45 kB / 0.6253 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.4949, allocations: 12 kB / 0.6253 GB, free: 10.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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 8.812e-05/0.495, allocations: 119.2 kB / 0.6254 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.4951, allocations: 27.72 kB / 0.6254 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.4954, allocations: 117.6 kB / 0.6256 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.4954, allocations: 4 kB / 0.6256 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4954, allocations: 0 / 0.6256 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4954, allocations: 3.953 kB / 0.6256 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.4957, allocations: 215.4 kB / 0.6258 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/0.4957, allocations: 11.98 kB / 0.6258 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.4958, allocations: 11.98 kB / 0.6258 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4958, allocations: 0 / 0.6258 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4958, allocations: 0 / 0.6258 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.4958, allocations: 4 kB / 0.6258 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4958, allocations: 4 kB / 0.6258 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.496, allocations: 186.2 kB / 0.626 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.496, allocations: 96.81 kB / 0.6261 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.4961, allocations: 0 / 0.6261 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.4962, allocations: 4 kB / 0.6261 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.4962, allocations: 11.98 kB / 0.6261 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.4963, allocations: 8 kB / 0.6261 GB, free: 9.707 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.4964, allocations: 179 kB / 0.6263 GB, free: 9.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4964, allocations: 0 / 0.6263 GB, free: 9.559 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005388/0.4969, allocations: 126.8 kB / 0.6264 GB, free: 9.441 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 (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.0008013/0.4978, allocations: 0.8839 MB / 0.6272 GB, free: 8.551 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.4981, allocations: 162.4 kB / 0.6274 GB, free: 8.398 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4981, allocations: 0 / 0.6274 GB, free: 8.398 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.4982, allocations: 94.7 kB / 0.6275 GB, free: 8.297 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.4984, allocations: 19.45 kB / 0.6275 GB, free: 8.285 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.4991, allocations: 295.2 kB / 0.6278 GB, free: 7.977 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.4994, allocations: 0.7402 MB / 0.6285 GB, free: 7.211 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.4995, allocations: 26 kB / 0.6285 GB, free: 7.184 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.4996, allocations: 61.48 kB / 0.6286 GB, free: 7.16 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4996, allocations: 0 / 0.6286 GB, free: 7.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.5225, allocations: 8.782 MB / 0.6372 GB, free: 14.64 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.5228, allocations: 223.7 kB / 0.6374 GB, free: 14.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.454, allocations: 2.25 kB / 0.6374 GB, free: 14.41 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat