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.001129/0.001129, allocations: 104.7 kB / 16.4 MB, free: 6.488 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.001183/0.001183, allocations: 196 kB / 17.34 MB, free: 5.766 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.407/1.407, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2053/0.2053, allocations: 43.52 MB / 314.1 MB, free: 472 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.001364/0.001364, allocations: 71.91 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 57.8 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.005065/0.1304, allocations: 2.656 MB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003229/0.1337, allocations: 1.768 MB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.134, allocations: 4 kB / 0.4918 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004369/0.1345, allocations: 111.2 kB / 0.4919 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.135, allocations: 114.9 kB / 0.492 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1361, allocations: 350.7 kB / 0.4923 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.1365, allocations: 262.2 kB / 0.4926 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.434e-05/0.1366, allocations: 40.64 kB / 0.4926 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1367, allocations: 87.42 kB / 0.4927 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1369, allocations: 107.2 kB / 0.4928 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1369, allocations: 4 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.1381, allocations: 0.7645 MB / 0.4935 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.426e-05/0.1382, allocations: 43.7 kB / 0.4936 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.1383, allocations: 134.9 kB / 0.4937 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008809/0.1392, allocations: 0.7046 MB / 0.4944 GB, free: 5.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1392, allocations: 4 kB / 0.4944 GB, free: 5.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1393, allocations: 0 / 0.4944 GB, free: 5.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1393, allocations: 0 / 0.4944 GB, free: 5.086 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.0008454/0.1401, allocations: 0.6356 MB / 0.495 GB, free: 4.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1402, allocations: 11.97 kB / 0.495 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.461e-05/0.1402, allocations: 74.72 kB / 0.4951 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.1403, allocations: 40.47 kB / 0.4951 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.1406, allocations: 255.3 kB / 0.4954 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.1406, allocations: 33.38 kB / 0.4954 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.1407, allocations: 35.94 kB / 0.4955 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.1412, allocations: 366.5 kB / 0.4958 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1412, allocations: 0 / 0.4958 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.1412, allocations: 8 kB / 0.4958 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.1413, allocations: 12 kB / 0.4958 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.1417, allocations: 267.7 kB / 0.4961 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1429, allocations: 0.8961 MB / 0.497 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.1432, allocations: 94.47 kB / 0.497 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.1433, allocations: 44.89 kB / 0.4971 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.1433, allocations: 0 / 0.4971 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.1434, allocations: 34.56 kB / 0.4971 GB, free: 2.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.1434, allocations: 4 kB / 0.4971 GB, free: 2.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000531/0.1439, allocations: 185.2 kB / 0.4973 GB, free: 1.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.144, allocations: 51.41 kB / 0.4974 GB, free: 1.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.1444, allocations: 405.8 kB / 0.4977 GB, free: 1.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1444, allocations: 25.7 kB / 0.4978 GB, free: 1.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.1446, allocations: 247.1 kB / 0.498 GB, free: 1.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.1446, allocations: 39.55 kB / 0.498 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.1447, allocations: 65.89 kB / 0.4981 GB, free: 1.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.1449, allocations: 350.7 kB / 0.4984 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.1451, allocations: 60.23 kB / 0.4985 GB, free: 0.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.1454, allocations: 246.2 kB / 0.4987 GB, free: 344 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.1458, allocations: 349.3 kB / 0.4991 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1459, allocations: 3.938 kB / 0.4991 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005806/0.1464, allocations: 341 kB / 0.4994 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1465, allocations: 11.94 kB / 0.4994 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-05/0.1465, allocations: 24 kB / 0.4994 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.1465, allocations: 8 kB / 0.4994 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.1468, allocations: 64.56 kB / 0.4995 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.1468, allocations: 15.98 kB / 0.4995 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.147, allocations: 55.38 kB / 0.4996 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.147, allocations: 20 kB / 0.4996 GB, free: 15.36 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.0001378/0.1472, allocations: 161.5 kB / 0.4997 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.1472, allocations: 31.53 kB / 0.4998 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.1477, allocations: 204.8 kB / 0.5 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1478, allocations: 4 kB / 0.5 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1478, allocations: 4 kB / 0.5 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1478, allocations: 0 / 0.5 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.1481, allocations: 289.3 kB / 0.5002 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/0.1481, allocations: 19.98 kB / 0.5003 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.1482, allocations: 8 kB / 0.5003 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1482, allocations: 0 / 0.5003 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.1482, allocations: 8 kB / 0.5003 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1482, allocations: 0 / 0.5003 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1482, allocations: 192 / 0.5003 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.1486, allocations: 259 kB / 0.5005 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.361e-05/0.1487, allocations: 108.6 kB / 0.5006 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.1488, allocations: 0 / 0.5006 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.1489, allocations: 11.98 kB / 0.5006 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.1489, allocations: 8 kB / 0.5006 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.149, allocations: 7.984 kB / 0.5007 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.1492, allocations: 271.2 kB / 0.5009 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1492, allocations: 4 kB / 0.5009 GB, free: 13.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005136/0.1497, allocations: 127.9 kB / 0.501 GB, free: 13.77 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.000948/0.1507, allocations: 0.8835 MB / 0.5019 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006127/0.1513, allocations: 324.1 kB / 0.5022 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1513, allocations: 0 / 0.5022 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.1516, allocations: 174.8 kB / 0.5024 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.1521, allocations: 45.47 kB / 0.5024 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.1563, allocations: 3.438 MB / 0.5058 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.1567, allocations: 0.7794 MB / 0.5065 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.399e-05/0.1568, allocations: 34.95 kB / 0.5066 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.1569, allocations: 103.4 kB / 0.5067 GB, free: 7.641 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1569, allocations: 0 / 0.5067 GB, free: 7.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/0.1951, allocations: 12.15 MB / 0.5185 GB, free: 11.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.76, allocations: 4.297 kB / 0.5185 GB, free: 11.49 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