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.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.001694/0.001694, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002013/0.002013, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.494/1.494, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.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.2239/0.2239, allocations: 46.88 MB / 357.4 MB, free: 10.49 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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.002219/0.002219, allocations: 83.84 kB / 0.4913 GB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1243, allocations: 65.99 MB / 0.5557 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003337/0.1277, allocations: 2.131 MB / 0.5578 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1296, allocations: 1.421 MB / 0.5592 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.1297, allocations: 4 kB / 0.5592 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.13, allocations: 87.38 kB / 0.5592 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.1302, allocations: 71.36 kB / 0.5593 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.1307, allocations: 203.1 kB / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1309, allocations: 154.9 kB / 0.5597 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.578e-05/0.1309, allocations: 12.31 kB / 0.5597 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.1311, allocations: 67.58 kB / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.375e-05/0.1312, allocations: 63.53 kB / 0.5598 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1312, allocations: 4 kB / 0.5598 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006071/0.1318, allocations: 435.4 kB / 0.5602 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.1319, allocations: 27.8 kB / 0.5602 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.1319, allocations: 67.5 kB / 0.5603 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.1325, allocations: 450.2 kB / 0.5607 GB, free: 1.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1325, allocations: 0 / 0.5607 GB, free: 1.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1325, allocations: 3.984 kB / 0.5607 GB, free: 1.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1325, allocations: 0 / 0.5607 GB, free: 1.016 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006523/0.1332, allocations: 0.4905 MB / 0.5612 GB, free: 488 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1332, allocations: 12.02 kB / 0.5612 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.273e-05/0.1333, allocations: 50.73 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.1333, allocations: 32.8 kB / 0.5613 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1335, allocations: 216 kB / 0.5615 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1335, allocations: 12.38 kB / 0.5615 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.1336, allocations: 19.94 kB / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.134, allocations: 204.5 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.134, allocations: 0 / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.134, allocations: 8 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.134, allocations: 4 kB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.1343, allocations: 152.2 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008719/0.1352, allocations: 0.5676 MB / 0.5625 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1353, allocations: 58.55 kB / 0.5625 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1355, allocations: 32.94 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.1355, allocations: 15.91 kB / 0.5626 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1355, allocations: 34.56 kB / 0.5626 GB, free: 14.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1355, allocations: 0 / 0.5626 GB, free: 14.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.000447/0.136, allocations: 129.5 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.136, allocations: 55.39 kB / 0.5628 GB, free: 14.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.1363, allocations: 258.6 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1364, allocations: 29.7 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1365, allocations: 167.9 kB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.1365, allocations: 19.89 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.1366, allocations: 41.61 kB / 0.5633 GB, free: 14.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1367, allocations: 338.8 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1368, allocations: 35.97 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.137, allocations: 132.8 kB / 0.5637 GB, free: 13.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.1374, allocations: 184.7 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1374, allocations: 0 / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004118/0.1378, allocations: 201.2 kB / 0.5641 GB, free: 13.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1378, allocations: 11.98 kB / 0.5641 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/0.1378, allocations: 12 kB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.1379, allocations: 4 kB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.138, allocations: 32.36 kB / 0.5642 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.138, allocations: 8 kB / 0.5642 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.1381, allocations: 35.77 kB / 0.5642 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.1381, allocations: 8 kB / 0.5642 GB, free: 13.13 MB / 430.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001223/0.1383, allocations: 137.6 kB / 0.5643 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.1383, allocations: 24.05 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.1387, allocations: 146.8 kB / 0.5645 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1387, allocations: 0 / 0.5645 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1387, allocations: 0 / 0.5645 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1387, allocations: 0 / 0.5645 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.139, allocations: 217.5 kB / 0.5647 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/0.139, allocations: 15.98 kB / 0.5647 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.139, allocations: 8 kB / 0.5647 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.139, allocations: 4 kB / 0.5647 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.139, allocations: 0 / 0.5647 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.139, allocations: 0 / 0.5647 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.139, allocations: 0 / 0.5647 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.1394, allocations: 211.3 kB / 0.5649 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.1395, allocations: 96.91 kB / 0.565 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.1395, allocations: 7.984 kB / 0.565 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.1396, allocations: 4 kB / 0.565 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1396, allocations: 11.98 kB / 0.5651 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.1396, allocations: 0 / 0.5651 GB, free: 12.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1398, allocations: 178 kB / 0.5652 GB, free: 11.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1398, allocations: 0 / 0.5652 GB, free: 11.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003854/0.1402, allocations: 79.73 kB / 0.5653 GB, free: 11.91 MB / 430.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008482/0.141, allocations: 0.8058 MB / 0.5661 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.1415, allocations: 176 kB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1415, allocations: 0 / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.1417, allocations: 99.31 kB / 0.5664 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.1421, allocations: 24.88 kB / 0.5664 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.1451, allocations: 2.385 MB / 0.5687 GB, free: 8.203 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1455, allocations: 0.7281 MB / 0.5694 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.639e-05/0.1455, allocations: 17.55 kB / 0.5694 GB, free: 7.434 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.113e-05/0.1456, allocations: 60.95 kB / 0.5695 GB, free: 7.375 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1456, allocations: 0 / 0.5695 GB, free: 7.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.178, allocations: 6.853 MB / 0.5762 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.06, allocations: 11.02 kB / 0.5762 GB, free: 0.7188 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.039623020682484] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[2]', 'Nu[1]', 'Nu[2]', 'input_Re.y'] 12.15148660633713 12.177574666 12.040392114 Calling exit ...