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.001126/0.001126, allocations: 103.2 kB / 16.27 MB, free: 6.41 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.001056/0.001056, allocations: 190.5 kB / 17.2 MB, free: 5.953 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.381/1.381, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2137/0.2137, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.001701/0.001701, allocations: 66.27 kB / 382.9 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.0993, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003685/0.103, allocations: 2.649 MB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.1055, allocations: 1.776 MB / 445.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.1058, allocations: 0 / 445.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.1063, allocations: 115.2 kB / 445.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.1067, allocations: 118.9 kB / 445.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1078, allocations: 350.6 kB / 445.6 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.1082, allocations: 262.2 kB / 445.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.459e-05/0.1082, allocations: 28.67 kB / 445.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1083, allocations: 83.42 kB / 446 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1085, allocations: 119.2 kB / 446.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.1085, allocations: 8 kB / 446.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009675/0.1095, allocations: 0.7567 MB / 446.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.1095, allocations: 47.7 kB / 446.9 MB, free: 456 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.962e-05/0.1096, allocations: 131 kB / 447.1 MB, free: 324 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008511/0.1105, allocations: 0.7006 MB / 447.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1105, allocations: 0 / 447.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1105, allocations: 0 / 447.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1105, allocations: 3.938 kB / 447.8 MB, free: 15.61 MB / 334.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.0008887/0.1114, allocations: 0.6318 MB / 448.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1115, allocations: 8.031 kB / 448.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.451e-05/0.1116, allocations: 74.72 kB / 448.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.1116, allocations: 40.47 kB / 448.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.1119, allocations: 255.2 kB / 448.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.1119, allocations: 29.31 kB / 448.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.112, allocations: 35.94 kB / 448.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.1125, allocations: 366.5 kB / 449.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1125, allocations: 0 / 449.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.1125, allocations: 12 kB / 449.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1126, allocations: 12 kB / 449.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.113, allocations: 267.8 kB / 449.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.1142, allocations: 0.896 MB / 450.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.1144, allocations: 90.47 kB / 450.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.1145, allocations: 44.91 kB / 450.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.1146, allocations: 7.984 kB / 450.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.1146, allocations: 30.56 kB / 450.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.1146, allocations: 0 / 450.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005336/0.1152, allocations: 189.2 kB / 450.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.1152, allocations: 55.41 kB / 450.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.1156, allocations: 401.8 kB / 451.2 MB, free: 12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1156, allocations: 25.98 kB / 451.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.1158, allocations: 251.1 kB / 451.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.1158, allocations: 31.55 kB / 451.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1159, allocations: 73.83 kB / 451.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1161, allocations: 350.7 kB / 451.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.1162, allocations: 64.23 kB / 451.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.1165, allocations: 242.2 kB / 452.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.117, allocations: 341.3 kB / 452.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.117, allocations: 8 kB / 452.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00059/0.1176, allocations: 345.3 kB / 452.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1177, allocations: 8 kB / 452.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.332e-05/0.1177, allocations: 28 kB / 452.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1177, allocations: 8 kB / 452.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1179, allocations: 59.84 kB / 453 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1179, allocations: 8 kB / 453 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.1181, allocations: 59.36 kB / 453 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.1182, allocations: 24 kB / 453.1 MB, free: 9.902 MB / 334.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.0001364/0.1183, allocations: 165.1 kB / 453.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.1184, allocations: 35.53 kB / 453.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.1189, allocations: 208.8 kB / 453.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1189, allocations: 3.938 kB / 453.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1189, allocations: 0 / 453.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1189, allocations: 0 / 453.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.1192, allocations: 285.3 kB / 453.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-05/0.1193, allocations: 24 kB / 453.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.1193, allocations: 7.984 kB / 453.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1193, allocations: 4 kB / 453.8 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1194, allocations: 4 kB / 453.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1194, allocations: 0 / 453.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1194, allocations: 3.938 kB / 453.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.1197, allocations: 254.9 kB / 454 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.1198, allocations: 108.6 kB / 454.1 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.1199, allocations: 4 kB / 454.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.12, allocations: 7.984 kB / 454.1 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1201, allocations: 8 kB / 454.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1201, allocations: 8 kB / 454.2 MB, free: 8.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.1203, allocations: 271.1 kB / 454.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1203, allocations: 0 / 454.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005162/0.1209, allocations: 127.9 kB / 454.5 MB, free: 8.301 MB / 334.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.0009293/0.1218, allocations: 0.872 MB / 455.4 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000599/0.1224, allocations: 320.2 kB / 455.7 MB, free: 7.062 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1224, allocations: 0 / 455.7 MB, free: 7.062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.1227, allocations: 183.1 kB / 455.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.1231, allocations: 51.67 kB / 456 MB, free: 6.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.1272, allocations: 3.509 MB / 459.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.1275, allocations: 0.7756 MB / 460.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.1276, allocations: 30.91 kB / 460.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.1278, allocations: 115.4 kB / 460.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1278, allocations: 0 / 460.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.1622, allocations: 11.75 MB / 472.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.73, allocations: 8.125 kB / 472.1 MB, free: 6.398 MB / 350.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)