Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001714/0.001714, allocations: 120.4 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002133/0.002133, allocations: 208.9 kB / 21.41 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 251.7 MB, free: 52 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.238/0.238, allocations: 46.16 MB / 351.1 MB, free: 14.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 82.17 kB / 489.7 MB, free: 28.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1093, allocations: 62.45 MB / 0.5392 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003618/0.113, allocations: 2.197 MB / 0.5413 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1148, allocations: 1.09 MB / 0.5424 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.1149, allocations: 7.938 kB / 0.5424 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.1153, allocations: 87.44 kB / 0.5425 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.1156, allocations: 91.31 kB / 0.5426 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1159, allocations: 111.5 kB / 0.5427 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1161, allocations: 178.9 kB / 0.5429 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.913e-05/0.1162, allocations: 24.38 kB / 0.5429 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.1164, allocations: 71.59 kB / 0.543 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1165, allocations: 91.42 kB / 0.543 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.1166, allocations: 11.94 kB / 0.5431 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.117, allocations: 267.6 kB / 0.5433 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.1171, allocations: 23.8 kB / 0.5433 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.562e-05/0.1172, allocations: 87.45 kB / 0.5434 GB, free: 436 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00046/0.1176, allocations: 330.4 kB / 0.5437 GB, free: 104 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1177, allocations: 0 / 0.5437 GB, free: 104 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1177, allocations: 0 / 0.5437 GB, free: 104 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1177, allocations: 0 / 0.5437 GB, free: 104 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006553/0.1183, allocations: 0.5025 MB / 0.5442 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1184, allocations: 12.03 kB / 0.5442 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/0.1185, allocations: 58.73 kB / 0.5443 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.1185, allocations: 28.78 kB / 0.5443 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.1187, allocations: 216 kB / 0.5445 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1188, allocations: 12.81 kB / 0.5445 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.1188, allocations: 23.94 kB / 0.5446 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.1192, allocations: 227.2 kB / 0.5448 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1192, allocations: 3.938 kB / 0.5448 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.1193, allocations: 12 kB / 0.5448 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.1193, allocations: 8 kB / 0.5448 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.1198, allocations: 245.6 kB / 0.545 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.1208, allocations: 0.6158 MB / 0.5456 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.1211, allocations: 106.6 kB / 0.5457 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.1212, allocations: 40.86 kB / 0.5458 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1213, allocations: 11.94 kB / 0.5458 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1213, allocations: 30.56 kB / 0.5458 GB, free: 13.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1213, allocations: 0 / 0.5458 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005526/0.1219, allocations: 173.4 kB / 0.546 GB, free: 13.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.1219, allocations: 51.41 kB / 0.546 GB, free: 13.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.1222, allocations: 270.9 kB / 0.5463 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1222, allocations: 25.7 kB / 0.5463 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.1224, allocations: 179.3 kB / 0.5465 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1224, allocations: 36.11 kB / 0.5465 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.1225, allocations: 49.66 kB / 0.5466 GB, free: 12.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1227, allocations: 338.8 kB / 0.5469 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.1228, allocations: 47.97 kB / 0.5469 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.1231, allocations: 152.7 kB / 0.5471 GB, free: 12.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.1235, allocations: 208.6 kB / 0.5473 GB, free: 12.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1235, allocations: 0 / 0.5473 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004961/0.124, allocations: 233.5 kB / 0.5475 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.124, allocations: 12 kB / 0.5475 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.124, allocations: 4 kB / 0.5475 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1241, allocations: 4 kB / 0.5475 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.1244, allocations: 87.89 kB / 0.5476 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008551/0.1253, allocations: 1.219 MB / 0.5488 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.1255, allocations: 35.77 kB / 0.5488 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1255, allocations: 12 kB / 0.5488 GB, free: 10.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.1257, allocations: 137.7 kB / 0.549 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.1257, allocations: 23.81 kB / 0.549 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/0.1262, allocations: 171.3 kB / 0.5492 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1262, allocations: 3.984 kB / 0.5492 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1262, allocations: 0 / 0.5492 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1262, allocations: 0 / 0.5492 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006798/0.1269, allocations: 452.1 kB / 0.5496 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1269, allocations: 0 / 0.5496 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.1272, allocations: 63.91 kB / 0.5497 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1272, allocations: 4 kB / 0.5497 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1272, allocations: 0 / 0.5497 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000779/0.128, allocations: 1.215 MB / 0.5508 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.128, allocations: 32 / 0.5508 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.1284, allocations: 253.1 kB / 0.5511 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.599e-05/0.1286, allocations: 96.95 kB / 0.5512 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.1286, allocations: 8 kB / 0.5512 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.1288, allocations: 7.984 kB / 0.5512 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.1288, allocations: 4 kB / 0.5512 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.1288, allocations: 8 kB / 0.5512 GB, free: 7.906 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.129, allocations: 190 kB / 0.5514 GB, free: 7.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.129, allocations: 0 / 0.5514 GB, free: 7.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.1294, allocations: 76.05 kB / 0.5515 GB, free: 7.648 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008973/0.1303, allocations: 0.823 MB / 0.5523 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005632/0.1309, allocations: 175.8 kB / 0.5524 GB, free: 6.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1309, allocations: 0 / 0.5524 GB, free: 6.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.1312, allocations: 83.88 kB / 0.5525 GB, free: 6.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.1316, allocations: 29.88 kB / 0.5525 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.1355, allocations: 2.558 MB / 0.555 GB, free: 3.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.1361, allocations: 0.7401 MB / 0.5558 GB, free: 3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.1362, allocations: 22.05 kB / 0.5558 GB, free: 2.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.1363, allocations: 67.34 kB / 0.5558 GB, free: 2.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.086e-06/0.1364, allocations: 4 kB / 0.5559 GB, free: 2.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/0.169, allocations: 6.177 MB / 0.5619 GB, free: 12.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.89, allocations: 12.06 kB / 0.5619 GB, free: 12.94 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.947458783863112] Failed to read output from testmodel.py, exit status != 0: ['time', 'h_2', 'l_2', 's_2', 't_2', 'Nu', 'm_flow[1]', 'm_flow[2]', 'kc_1', 'kc_2', 'Re_1', 'Re_2', 'input_Nu.y'] 11.982126859948039 12.002428961 11.880892215 Calling exit ...