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.00127/0.00127, allocations: 111.5 kB / 16.41 MB, free: 6.496 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.001273/0.001273, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.444/1.444, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2161/0.2161, allocations: 43.53 MB / 314.1 MB, free: 468 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.001989/0.001989, allocations: 71.89 kB / 441.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.112, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003993/0.116, allocations: 2.652 MB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.1188, allocations: 1.788 MB / 0.4918 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.119, allocations: 0 / 0.4918 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.1194, allocations: 111.2 kB / 0.4919 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.1197, allocations: 114.9 kB / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008858/0.1206, allocations: 350.6 kB / 0.4923 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.1209, allocations: 262.2 kB / 0.4926 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.665e-05/0.121, allocations: 32.72 kB / 0.4926 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1211, allocations: 91.36 kB / 0.4927 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.1213, allocations: 115.2 kB / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1213, allocations: 4 kB / 0.4928 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1225, allocations: 0.7568 MB / 0.4936 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.799e-05/0.1226, allocations: 47.66 kB / 0.4936 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1228, allocations: 135 kB / 0.4937 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009853/0.1237, allocations: 0.7042 MB / 0.4944 GB, free: 5.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1238, allocations: 0 / 0.4944 GB, free: 5.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1238, allocations: 4 kB / 0.4944 GB, free: 5.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1238, allocations: 4 kB / 0.4944 GB, free: 5.09 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.001073/0.1249, allocations: 0.6388 MB / 0.495 GB, free: 4.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.1249, allocations: 12.03 kB / 0.4951 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.371e-05/0.125, allocations: 74.7 kB / 0.4951 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.296e-05/0.1251, allocations: 48.66 kB / 0.4952 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.1255, allocations: 255.5 kB / 0.4954 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.1255, allocations: 25.38 kB / 0.4954 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.1256, allocations: 39.94 kB / 0.4955 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/0.1262, allocations: 362.5 kB / 0.4958 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.1263, allocations: 3.938 kB / 0.4958 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.1263, allocations: 12 kB / 0.4958 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.1263, allocations: 11.94 kB / 0.4959 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.1268, allocations: 263.9 kB / 0.4961 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.1282, allocations: 0.8967 MB / 0.497 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.1285, allocations: 90.53 kB / 0.4971 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.1286, allocations: 44.89 kB / 0.4971 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.1287, allocations: 4 kB / 0.4971 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.1287, allocations: 30.56 kB / 0.4971 GB, free: 2.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.1287, allocations: 4 kB / 0.4971 GB, free: 2.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005562/0.1293, allocations: 189.4 kB / 0.4973 GB, free: 1.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1293, allocations: 51.41 kB / 0.4974 GB, free: 1.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.1298, allocations: 405.8 kB / 0.4978 GB, free: 1.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.09e-05/0.1298, allocations: 25.7 kB / 0.4978 GB, free: 1.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.13, allocations: 247.7 kB / 0.498 GB, free: 1.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1301, allocations: 35.73 kB / 0.4981 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.1302, allocations: 81.88 kB / 0.4981 GB, free: 1.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1304, allocations: 350.7 kB / 0.4985 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1305, allocations: 52.25 kB / 0.4985 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.1308, allocations: 250.2 kB / 0.4988 GB, free: 332 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.1314, allocations: 341.3 kB / 0.4991 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.1314, allocations: 8 kB / 0.4991 GB, free: 15.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006299/0.132, allocations: 345.1 kB / 0.4994 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1321, allocations: 8 kB / 0.4994 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.78e-05/0.1321, allocations: 27.98 kB / 0.4995 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.1321, allocations: 8 kB / 0.4995 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1323, allocations: 60.52 kB / 0.4995 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.1324, allocations: 19.91 kB / 0.4995 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.1326, allocations: 67.5 kB / 0.4996 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.1327, allocations: 24 kB / 0.4996 GB, free: 15.34 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.0001459/0.1328, allocations: 149.6 kB / 0.4998 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.1329, allocations: 35.77 kB / 0.4998 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.1334, allocations: 208.7 kB / 0.5 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.1334, allocations: 7.984 kB / 0.5 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1334, allocations: 0 / 0.5 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1334, allocations: 7.984 kB / 0.5 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.1338, allocations: 277.4 kB / 0.5003 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/0.1338, allocations: 23.98 kB / 0.5003 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.1339, allocations: 8 kB / 0.5003 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1339, allocations: 0 / 0.5003 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.1339, allocations: 7.984 kB / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1339, allocations: 192 / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1339, allocations: 4 kB / 0.5003 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.1343, allocations: 255.1 kB / 0.5006 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.1344, allocations: 108.8 kB / 0.5007 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.1345, allocations: 7.984 kB / 0.5007 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1346, allocations: 4 kB / 0.5007 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.1347, allocations: 11.98 kB / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1347, allocations: 4 kB / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002867/0.135, allocations: 271.2 kB / 0.501 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.135, allocations: 4 kB / 0.501 GB, free: 13.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005382/0.1355, allocations: 127.7 kB / 0.5011 GB, free: 13.74 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.001093/0.1366, allocations: 0.8836 MB / 0.5019 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006672/0.1373, allocations: 316.1 kB / 0.5022 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1373, allocations: 4 kB / 0.5023 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.1377, allocations: 178.8 kB / 0.5024 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.1381, allocations: 37.48 kB / 0.5025 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.1422, allocations: 3.469 MB / 0.5058 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.1427, allocations: 0.7794 MB / 0.5066 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.279e-05/0.1428, allocations: 30.97 kB / 0.5066 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.1429, allocations: 103.4 kB / 0.5067 GB, free: 7.598 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1429, allocations: 3.938 kB / 0.5067 GB, free: 7.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03964/0.1826, allocations: 11.96 MB / 0.5184 GB, free: 11.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.54, allocations: 4.297 kB / 0.5184 GB, free: 11.63 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)