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.001375/0.001375, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001198/0.001198, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2105/0.2105, allocations: 43.52 MB / 314.1 MB, free: 448 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.001542/0.001542, allocations: 69.47 kB / 441.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1122, allocations: 57.78 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.005414/0.1176, allocations: 2.668 MB / 0.49 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1209, allocations: 1.784 MB / 0.4918 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003805/0.1213, allocations: 0 / 0.4918 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004353/0.1217, allocations: 107.2 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.1222, allocations: 126.9 kB / 0.492 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1234, allocations: 358.6 kB / 0.4923 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.1238, allocations: 262.1 kB / 0.4926 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.341e-05/0.1239, allocations: 28.72 kB / 0.4926 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.124, allocations: 87.42 kB / 0.4927 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1242, allocations: 111.2 kB / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.1242, allocations: 8 kB / 0.4928 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.1255, allocations: 0.7607 MB / 0.4936 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.1257, allocations: 39.66 kB / 0.4936 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.1259, allocations: 139 kB / 0.4937 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1269, allocations: 0.7081 MB / 0.4944 GB, free: 5.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1269, allocations: 0 / 0.4944 GB, free: 5.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.16e-06/0.1269, allocations: 3.984 kB / 0.4944 GB, free: 5.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.1269, allocations: 0 / 0.4944 GB, free: 5.043 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.00102/0.128, allocations: 0.6462 MB / 0.4951 GB, free: 4.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.128, allocations: 8.031 kB / 0.4951 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.1281, allocations: 78.7 kB / 0.4951 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/0.1282, allocations: 44.66 kB / 0.4952 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1285, allocations: 255.5 kB / 0.4954 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.1286, allocations: 25.38 kB / 0.4955 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.1286, allocations: 35.94 kB / 0.4955 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.1293, allocations: 362.5 kB / 0.4958 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1294, allocations: 0 / 0.4958 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.1294, allocations: 16 kB / 0.4958 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.1294, allocations: 8 kB / 0.4959 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.1299, allocations: 271.8 kB / 0.4961 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.1313, allocations: 0.8927 MB / 0.497 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.1316, allocations: 94.53 kB / 0.4971 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.1317, allocations: 40.89 kB / 0.4971 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.1318, allocations: 7.984 kB / 0.4971 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1318, allocations: 34.56 kB / 0.4972 GB, free: 2.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1318, allocations: 0 / 0.4972 GB, free: 2.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005555/0.1324, allocations: 189.4 kB / 0.4973 GB, free: 1.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1324, allocations: 55.39 kB / 0.4974 GB, free: 1.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.1329, allocations: 401.8 kB / 0.4978 GB, free: 1.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.133, allocations: 29.7 kB / 0.4978 GB, free: 1.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.1332, allocations: 251.7 kB / 0.498 GB, free: 1.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1332, allocations: 31.73 kB / 0.4981 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.1334, allocations: 81.81 kB / 0.4982 GB, free: 1.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1336, allocations: 350.7 kB / 0.4985 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.1338, allocations: 56.25 kB / 0.4985 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.134, allocations: 242.3 kB / 0.4988 GB, free: 284 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.1346, allocations: 349.3 kB / 0.4991 GB, free: 15.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.1346, allocations: 0 / 0.4991 GB, free: 15.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006345/0.1352, allocations: 341 kB / 0.4994 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1353, allocations: 12.84 kB / 0.4994 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.777e-05/0.1353, allocations: 28 kB / 0.4995 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.1354, allocations: 8 kB / 0.4995 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.1356, allocations: 63.84 kB / 0.4995 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.1356, allocations: 19.92 kB / 0.4996 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.1358, allocations: 59.52 kB / 0.4996 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.1359, allocations: 16 kB / 0.4996 GB, free: 15.3 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.0001626/0.136, allocations: 161.2 kB / 0.4998 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.1361, allocations: 35.77 kB / 0.4998 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005246/0.1366, allocations: 212.7 kB / 0.5 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1366, allocations: 4 kB / 0.5 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1367, allocations: 0 / 0.5 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1367, allocations: 3.984 kB / 0.5 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.1371, allocations: 277.4 kB / 0.5003 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.384e-05/0.1371, allocations: 24.17 kB / 0.5003 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.1372, allocations: 8 kB / 0.5003 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1372, allocations: 4 kB / 0.5003 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1372, allocations: 4 kB / 0.5003 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1372, allocations: 3.984 kB / 0.5003 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1372, allocations: 0 / 0.5003 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.1377, allocations: 259.1 kB / 0.5006 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.499e-05/0.1378, allocations: 108.8 kB / 0.5007 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.1379, allocations: 0 / 0.5007 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.138, allocations: 7.984 kB / 0.5007 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.138, allocations: 11.98 kB / 0.5007 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1381, allocations: 12 kB / 0.5007 GB, free: 14.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.1383, allocations: 263.2 kB / 0.501 GB, free: 13.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1383, allocations: 0 / 0.501 GB, free: 13.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005553/0.1389, allocations: 131.7 kB / 0.5011 GB, free: 13.7 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.001036/0.14, allocations: 0.8874 MB / 0.502 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006321/0.1406, allocations: 316.1 kB / 0.5023 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1406, allocations: 0 / 0.5023 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.141, allocations: 178.8 kB / 0.5024 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.1414, allocations: 41.48 kB / 0.5025 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.1462, allocations: 3.461 MB / 0.5058 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/0.1468, allocations: 0.7833 MB / 0.5066 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.1469, allocations: 34.94 kB / 0.5066 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.1471, allocations: 111.4 kB / 0.5068 GB, free: 7.547 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1471, allocations: 0 / 0.5068 GB, free: 7.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04091/0.188, allocations: 11.95 MB / 0.5184 GB, free: 11.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.25, allocations: 8.359 kB / 0.5184 GB, free: 11.59 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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)