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.001071/0.001071, allocations: 105.5 kB / 16.41 MB, free: 6.434 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.001097/0.001097, allocations: 185 kB / 17.34 MB, free: 5.734 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.306/1.306, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2041/0.2041, allocations: 43.52 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.001912/0.001912, allocations: 71.91 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1187, allocations: 57.8 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004582/0.1233, allocations: 2.645 MB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.1263, allocations: 1.78 MB / 0.4918 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.1266, allocations: 0 / 0.4918 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.127, allocations: 111.2 kB / 0.4919 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.1275, allocations: 126.9 kB / 0.492 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1285, allocations: 350.6 kB / 0.4923 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.129, allocations: 262.2 kB / 0.4926 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.559e-05/0.129, allocations: 28.72 kB / 0.4926 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1292, allocations: 91.36 kB / 0.4927 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.1293, allocations: 115.2 kB / 0.4928 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.1293, allocations: 4 kB / 0.4928 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.1305, allocations: 0.7567 MB / 0.4936 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.771e-05/0.1306, allocations: 43.72 kB / 0.4936 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.1308, allocations: 146.9 kB / 0.4937 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009756/0.1317, allocations: 0.6965 MB / 0.4944 GB, free: 5.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1318, allocations: 0 / 0.4944 GB, free: 5.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1318, allocations: 4 kB / 0.4944 GB, free: 5.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.1318, allocations: 3.938 kB / 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.001043/0.1328, allocations: 0.6504 MB / 0.4951 GB, free: 4.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.1329, allocations: 12.03 kB / 0.4951 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.524e-05/0.133, allocations: 66.72 kB / 0.4951 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.1331, allocations: 48.66 kB / 0.4952 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.1335, allocations: 255.5 kB / 0.4954 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.1336, allocations: 29.38 kB / 0.4955 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.1336, allocations: 35.94 kB / 0.4955 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007947/0.1344, allocations: 366.5 kB / 0.4958 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1345, allocations: 0 / 0.4958 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.1345, allocations: 16 kB / 0.4959 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.1345, allocations: 8 kB / 0.4959 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/0.135, allocations: 267.8 kB / 0.4961 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.1367, allocations: 0.8928 MB / 0.497 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.137, allocations: 86.48 kB / 0.4971 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.1372, allocations: 44.89 kB / 0.4971 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.1372, allocations: 8 kB / 0.4971 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.1373, allocations: 30.56 kB / 0.4971 GB, free: 2.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.694e-06/0.1373, allocations: 0 / 0.4971 GB, free: 2.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006706/0.138, allocations: 193.4 kB / 0.4973 GB, free: 1.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.1381, allocations: 51.41 kB / 0.4974 GB, free: 1.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/0.1386, allocations: 401.8 kB / 0.4978 GB, free: 1.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.1386, allocations: 29.7 kB / 0.4978 GB, free: 1.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.1389, allocations: 251.7 kB / 0.498 GB, free: 1.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.1389, allocations: 31.73 kB / 0.4981 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.139, allocations: 77.88 kB / 0.4981 GB, free: 1.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1392, allocations: 350.7 kB / 0.4985 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.1394, allocations: 60.23 kB / 0.4985 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.1397, allocations: 246.2 kB / 0.4988 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.1403, allocations: 345.6 kB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/0.1403, allocations: 4 kB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006422/0.141, allocations: 344.6 kB / 0.4994 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.141, allocations: 8.906 kB / 0.4994 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.242e-05/0.141, allocations: 31.98 kB / 0.4995 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1411, allocations: 12 kB / 0.4995 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.1413, allocations: 59.84 kB / 0.4995 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.1413, allocations: 8 kB / 0.4995 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.1416, allocations: 63.5 kB / 0.4996 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.1416, allocations: 27.98 kB / 0.4996 GB, free: 15.31 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.0001841/0.1418, allocations: 153.5 kB / 0.4998 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.1419, allocations: 35.77 kB / 0.4998 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/0.1424, allocations: 220.7 kB / 0.5 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.1425, allocations: 0 / 0.5 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1425, allocations: 0 / 0.5 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1425, allocations: 0 / 0.5 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.1429, allocations: 281.4 kB / 0.5003 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.622e-05/0.1429, allocations: 24 kB / 0.5003 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.143, allocations: 7.984 kB / 0.5003 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.143, allocations: 0 / 0.5003 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.143, allocations: 4 kB / 0.5003 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.143, allocations: 0 / 0.5003 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.143, allocations: 4.188 kB / 0.5003 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.1435, allocations: 255.2 kB / 0.5006 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.1436, allocations: 116.8 kB / 0.5007 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.1437, allocations: 3.938 kB / 0.5007 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.1438, allocations: 4 kB / 0.5007 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.1439, allocations: 11.98 kB / 0.5007 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1439, allocations: 12 kB / 0.5007 GB, free: 14.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000326/0.1442, allocations: 271.1 kB / 0.501 GB, free: 13.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1443, allocations: 0 / 0.501 GB, free: 13.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006204/0.1449, allocations: 123.8 kB / 0.5011 GB, free: 13.71 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.001186/0.1461, allocations: 0.8836 MB / 0.502 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000707/0.1468, allocations: 316.2 kB / 0.5023 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1468, allocations: 0 / 0.5023 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.1471, allocations: 186.7 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.000484/0.1476, allocations: 29.55 kB / 0.5025 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/0.1522, allocations: 3.469 MB / 0.5058 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1525, allocations: 0.7794 MB / 0.5066 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001/0.1527, allocations: 34.91 kB / 0.5066 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.1528, allocations: 107.4 kB / 0.5067 GB, free: 7.566 MB / 398.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1528, allocations: 0 / 0.5067 GB, free: 7.566 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.1862, allocations: 11.96 MB / 0.5184 GB, free: 11.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.47, allocations: 4.297 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 & 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)