Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001302, allocations: 106.9 kB / 16.41 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 192.4 kB / 17.34 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2142/0.2142, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 69.47 kB / 441.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1108, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.00405/0.1148, allocations: 2.649 MB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.1176, allocations: 1.776 MB / 0.4918 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.1178, allocations: 4 kB / 0.4918 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.1182, allocations: 107.2 kB / 0.4919 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1185, allocations: 114.9 kB / 0.492 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008508/0.1193, allocations: 358.6 kB / 0.4923 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.1196, allocations: 262.2 kB / 0.4926 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.1197, allocations: 24.72 kB / 0.4926 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1198, allocations: 95.34 kB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.12, allocations: 115.2 kB / 0.4928 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.12, allocations: 4 kB / 0.4928 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.1212, allocations: 0.7607 MB / 0.4936 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.1213, allocations: 43.64 kB / 0.4936 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.1214, allocations: 135 kB / 0.4937 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000926/0.1223, allocations: 0.7081 MB / 0.4944 GB, free: 5.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1224, allocations: 0 / 0.4944 GB, free: 5.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1224, allocations: 0 / 0.4944 GB, free: 5.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1224, allocations: 0 / 0.4944 GB, free: 5.066 MB / 382.1 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.0008695/0.1233, allocations: 0.6466 MB / 0.495 GB, free: 4.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1233, allocations: 8.031 kB / 0.4951 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.143e-05/0.1234, allocations: 70.72 kB / 0.4951 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.1235, allocations: 44.66 kB / 0.4952 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.1238, allocations: 255.5 kB / 0.4954 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.1238, allocations: 33.38 kB / 0.4954 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.1238, allocations: 35.94 kB / 0.4955 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.1244, allocations: 366.4 kB / 0.4958 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1244, allocations: 4 kB / 0.4958 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.1245, allocations: 12 kB / 0.4958 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.1245, allocations: 12 kB / 0.4958 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.1249, allocations: 259.9 kB / 0.4961 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.1263, allocations: 0.9044 MB / 0.497 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.1265, allocations: 90.52 kB / 0.4971 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1267, allocations: 40.91 kB / 0.4971 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.1267, allocations: 3.984 kB / 0.4971 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1267, allocations: 38.56 kB / 0.4971 GB, free: 2.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.1267, allocations: 4 kB / 0.4972 GB, free: 2.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005545/0.1273, allocations: 185.4 kB / 0.4973 GB, free: 1.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.1273, allocations: 51.41 kB / 0.4974 GB, free: 1.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.1278, allocations: 405.8 kB / 0.4978 GB, free: 1.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1278, allocations: 25.7 kB / 0.4978 GB, free: 1.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.128, allocations: 255.7 kB / 0.498 GB, free: 1.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.128, allocations: 31.73 kB / 0.4981 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.1281, allocations: 73.89 kB / 0.4981 GB, free: 1.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1283, allocations: 350.7 kB / 0.4985 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.1285, allocations: 64.17 kB / 0.4985 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.1288, allocations: 242.3 kB / 0.4988 GB, free: 300 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.1294, allocations: 341.4 kB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.1294, allocations: 3.984 kB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000658/0.1301, allocations: 341 kB / 0.4994 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1301, allocations: 12.73 kB / 0.4994 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.874e-05/0.1302, allocations: 31.94 kB / 0.4995 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.1302, allocations: 8 kB / 0.4995 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.1304, allocations: 59.84 kB / 0.4995 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.1304, allocations: 15.94 kB / 0.4995 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.1307, allocations: 67.5 kB / 0.4996 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.1307, allocations: 16 kB / 0.4996 GB, free: 15.32 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.1309, allocations: 153.6 kB / 0.4998 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.1309, allocations: 35.77 kB / 0.4998 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005605/0.1315, allocations: 216.7 kB / 0.5 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.1315, allocations: 4 kB / 0.5 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1315, allocations: 0 / 0.5 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1315, allocations: 0 / 0.5 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.1319, allocations: 281.4 kB / 0.5003 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.45e-05/0.132, allocations: 20 kB / 0.5003 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.137e-05/0.132, allocations: 7.984 kB / 0.5003 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.132, allocations: 4 kB / 0.5003 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.132, allocations: 4 kB / 0.5003 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1321, allocations: 0 / 0.5003 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1321, allocations: 192 / 0.5003 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.1325, allocations: 259.2 kB / 0.5006 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1326, allocations: 116.8 kB / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.1327, allocations: 0 / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1328, allocations: 7.984 kB / 0.5007 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.1329, allocations: 8 kB / 0.5007 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1329, allocations: 12 kB / 0.5007 GB, free: 14.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002869/0.1332, allocations: 267.1 kB / 0.501 GB, free: 13.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1332, allocations: 4 kB / 0.501 GB, free: 13.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005783/0.1338, allocations: 127.8 kB / 0.5011 GB, free: 13.72 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.1348, allocations: 0.8914 MB / 0.5019 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006472/0.1355, allocations: 312.1 kB / 0.5022 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1355, allocations: 4 kB / 0.5022 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.1358, allocations: 182.8 kB / 0.5024 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.1363, allocations: 37.48 kB / 0.5025 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.1407, allocations: 3.469 MB / 0.5058 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.1412, allocations: 0.7833 MB / 0.5066 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.734e-05/0.1413, allocations: 26.97 kB / 0.5066 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.1414, allocations: 115.4 kB / 0.5067 GB, free: 7.555 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1414, allocations: 0 / 0.5067 GB, free: 7.555 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03886/0.1803, allocations: 11.95 MB / 0.5184 GB, free: 11.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.31, allocations: 8.359 kB / 0.5184 GB, free: 11.6 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat