Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_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 3.2.3+maint.om/package.mo): time 0.002394/0.002401, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.298/2.298, allocations: 205.4 MB / 222.5 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001241, allocations: 102.9 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3009/0.3009, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.000492, allocations: 16 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1206, allocations: 58.86 MB / 490.3 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003825/0.1245, allocations: 2.123 MB / 492.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003999/0.1285, allocations: 1.615 MB / 494.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.1289, allocations: 8 kB / 494.1 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004749/0.1294, allocations: 87.52 kB / 494.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004449/0.1298, allocations: 119.6 kB / 494.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.1313, allocations: 279.2 kB / 494.6 MB, free: 4.953 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005542/0.1319, allocations: 207.5 kB / 494.8 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1321, allocations: 24.73 kB / 494.8 MB, free: 4.727 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.1322, allocations: 83.52 kB / 494.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1324, allocations: 95.45 kB / 495 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.1325, allocations: 8 kB / 495 MB, free: 4.543 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.1345, allocations: 0.749 MB / 495.7 MB, free: 3.793 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1346, allocations: 47.69 kB / 495.8 MB, free: 3.746 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.1348, allocations: 73.52 kB / 495.8 MB, free: 3.668 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.1359, allocations: 411.1 kB / 496.2 MB, free: 3.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1359, allocations: 0 / 496.2 MB, free: 3.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1359, allocations: 0 / 496.2 MB, free: 3.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.136, allocations: 4 kB / 496.2 MB, free: 3.262 MB / 330.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.001104/0.1371, allocations: 0.5923 MB / 496.8 MB, free: 2.625 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1371, allocations: 11.97 kB / 496.9 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.1373, allocations: 74.53 kB / 496.9 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.063e-05/0.1374, allocations: 43.48 kB / 497 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.1378, allocations: 238.3 kB / 497.2 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.1378, allocations: 25 kB / 497.2 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.1379, allocations: 40 kB / 497.3 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008829/0.1388, allocations: 362.5 kB / 497.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1388, allocations: 3.938 kB / 497.6 MB, free: 1.789 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.1389, allocations: 16 kB / 497.6 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.1389, allocations: 11.94 kB / 497.6 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000791/0.1397, allocations: 279.8 kB / 497.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.1417, allocations: 0.8844 MB / 498.8 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.1422, allocations: 94.55 kB / 498.9 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.1423, allocations: 7.984 kB / 498.9 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.1423, allocations: 30.56 kB / 498.9 MB, free: 408 kB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 3.376e-06/0.1423, allocations: 0 / 498.9 MB, free: 408 kB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.001165/0.1435, allocations: 0.5055 MB / 499.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1436, allocations: 55.39 kB / 499.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000642/0.1442, allocations: 401.7 kB / 499.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1443, allocations: 33.7 kB / 499.9 MB, free: 15.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.1445, allocations: 285.6 kB / 0.4885 GB, free: 15.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.1446, allocations: 39.55 kB / 0.4885 GB, free: 14.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.1446, allocations: 4 kB / 0.4885 GB, free: 14.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1448, allocations: 326.8 kB / 0.4888 GB, free: 14.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.1451, allocations: 64.23 kB / 0.4889 GB, free: 14.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.1456, allocations: 250 kB / 0.4891 GB, free: 14.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.146, allocations: 108.1 kB / 0.4892 GB, free: 14.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.146, allocations: 4 kB / 0.4892 GB, free: 14.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001066/0.1471, allocations: 324.8 kB / 0.4895 GB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.1471, allocations: 8.906 kB / 0.4896 GB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.836e-05/0.1472, allocations: 27.98 kB / 0.4896 GB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/0.1473, allocations: 12 kB / 0.4896 GB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.1476, allocations: 59.84 kB / 0.4897 GB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.1477, allocations: 12 kB / 0.4897 GB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.1481, allocations: 63.27 kB / 0.4897 GB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/0.1482, allocations: 24 kB / 0.4897 GB, free: 13.62 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002372/0.1484, allocations: 153.6 kB / 0.4899 GB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.1485, allocations: 39.53 kB / 0.4899 GB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009391/0.1495, allocations: 216.7 kB / 0.4901 GB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.1495, allocations: 11.98 kB / 0.4901 GB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1495, allocations: 0 / 0.4901 GB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1495, allocations: 0 / 0.4901 GB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.1501, allocations: 289.4 kB / 0.4904 GB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.809e-05/0.1502, allocations: 19.94 kB / 0.4904 GB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.1503, allocations: 11.98 kB / 0.4905 GB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.1503, allocations: 0 / 0.4905 GB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.1504, allocations: 4.188 kB / 0.4905 GB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.1504, allocations: 4 kB / 0.4905 GB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1504, allocations: 4 kB / 0.4905 GB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.1512, allocations: 266.9 kB / 0.4907 GB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.1513, allocations: 116.5 kB / 0.4908 GB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.1514, allocations: 0 / 0.4908 GB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.1517, allocations: 12 kB / 0.4908 GB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.1518, allocations: 11.98 kB / 0.4909 GB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.1518, allocations: 4 kB / 0.4909 GB, free: 12.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004397/0.1522, allocations: 267.1 kB / 0.4911 GB, free: 12.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1523, allocations: 0 / 0.4911 GB, free: 12.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001253/0.1535, allocations: 120 kB / 0.4912 GB, free: 12 MB / 346.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 () * 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 (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.001652/0.1552, allocations: 0.8953 MB / 0.4921 GB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.1564, allocations: 316.2 kB / 0.4924 GB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1564, allocations: 0 / 0.4924 GB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005444/0.157, allocations: 194.8 kB / 0.4926 GB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.1576, allocations: 33.55 kB / 0.4926 GB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006681/0.1643, allocations: 6.4 MB / 0.4989 GB, free: 3.914 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.1648, allocations: 0.7833 MB / 0.4996 GB, free: 3.105 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.165, allocations: 107.4 kB / 0.4997 GB, free: 3 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1651, allocations: 0 / 0.4997 GB, free: 3 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.998/3.163, allocations: 10.86 MB / 0.5103 GB, free: 8.145 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat does not exist to compare? outputFormat=mat