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_roundTube.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.001258/0.001258, allocations: 113.2 kB / 20.42 MB, free: 1.676 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.001445/0.001445, allocations: 213.1 kB / 23.72 MB, free: 5.047 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.427/1.427, allocations: 230.2 MB / 257.1 MB, free: 8.477 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.2201/0.2201, allocations: 46.89 MB / 360.3 MB, free: 4.648 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_roundTube,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.002486/0.002486, allocations: 75.88 kB / 0.4956 GB, free: 8.855 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3904, allocations: 65.98 MB / 0.56 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002869/0.3933, allocations: 2.131 MB / 0.5621 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3953, allocations: 1.735 MB / 0.5638 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.014e-05/0.3954, allocations: 0 / 0.5638 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.3957, allocations: 93.81 kB / 0.5639 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.3959, allocations: 67.36 kB / 0.5639 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.3966, allocations: 357.5 kB / 0.5643 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3968, allocations: 151.9 kB / 0.5644 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.3968, allocations: 10.53 kB / 0.5644 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.288e-05/0.3969, allocations: 50.56 kB / 0.5645 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.397, allocations: 66.67 kB / 0.5645 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.397, allocations: 3.031 kB / 0.5645 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.3981, allocations: 0.7888 MB / 0.5653 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.3981, allocations: 28.25 kB / 0.5653 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.519e-05/0.3982, allocations: 75.06 kB / 0.5654 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.3988, allocations: 0.5905 MB / 0.566 GB, free: 30.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3988, allocations: 0.75 kB / 0.566 GB, free: 30.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.592e-06/0.3988, allocations: 0 / 0.566 GB, free: 30.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3988, allocations: 4.344 kB / 0.566 GB, free: 30.46 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006224/0.3994, allocations: 0.5186 MB / 0.5665 GB, free: 29.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3995, allocations: 14.36 kB / 0.5665 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.3995, allocations: 55.38 kB / 0.5666 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.3995, allocations: 22.23 kB / 0.5666 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.3997, allocations: 218.5 kB / 0.5668 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3997, allocations: 11.16 kB / 0.5668 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.3998, allocations: 24.75 kB / 0.5668 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.4001, allocations: 259.2 kB / 0.5671 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4001, allocations: 0 / 0.5671 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4001, allocations: 7.312 kB / 0.5671 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.4001, allocations: 3.219 kB / 0.5671 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.4004, allocations: 168.1 kB / 0.5672 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000769/0.4012, allocations: 0.9133 MB / 0.5681 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.4014, allocations: 57.66 kB / 0.5682 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.802e-05/0.4014, allocations: 34.19 kB / 0.5682 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.4015, allocations: 3.125 kB / 0.5682 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.4015, allocations: 34.84 kB / 0.5683 GB, free: 28.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.4015, allocations: 0 / 0.5683 GB, free: 28.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004178/0.4019, allocations: 143.4 kB / 0.5684 GB, free: 28.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.4019, allocations: 51.41 kB / 0.5684 GB, free: 28.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.4021, allocations: 267.1 kB / 0.5687 GB, free: 28.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.4021, allocations: 25.7 kB / 0.5687 GB, free: 28.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.4022, allocations: 187 kB / 0.5689 GB, free: 28.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.4022, allocations: 22.14 kB / 0.5689 GB, free: 28.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.4023, allocations: 50.03 kB / 0.569 GB, free: 28.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.4023, allocations: 335.7 kB / 0.5693 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.4024, allocations: 41.89 kB / 0.5693 GB, free: 27.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.4026, allocations: 192.6 kB / 0.5695 GB, free: 27.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.4029, allocations: 257.5 kB / 0.5698 GB, free: 27.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4029, allocations: 3.062 kB / 0.5698 GB, free: 27.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003863/0.4033, allocations: 254.5 kB / 0.57 GB, free: 27.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4033, allocations: 8.25 kB / 0.57 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.4033, allocations: 12.09 kB / 0.57 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.4033, allocations: 20.91 kB / 0.57 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.4035, allocations: 49.89 kB / 0.5701 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.4035, allocations: 5.969 kB / 0.5701 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.4036, allocations: 46.59 kB / 0.5701 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.4037, allocations: 18.78 kB / 0.5702 GB, free: 27.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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 8.367e-05/0.4037, allocations: 129.8 kB / 0.5703 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.4038, allocations: 20.95 kB / 0.5703 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.4041, allocations: 141.9 kB / 0.5704 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4041, allocations: 10.36 kB / 0.5704 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4041, allocations: 3.938 kB / 0.5705 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4041, allocations: 0 / 0.5705 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.4043, allocations: 217.8 kB / 0.5707 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/0.4043, allocations: 8.438 kB / 0.5707 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.4044, allocations: 5.922 kB / 0.5707 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4044, allocations: 1.219 kB / 0.5707 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.4044, allocations: 6.938 kB / 0.5707 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4044, allocations: 3.938 kB / 0.5707 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4044, allocations: 0 / 0.5707 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.4047, allocations: 209.2 kB / 0.5709 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.4047, allocations: 95.5 kB / 0.571 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.4047, allocations: 1.906 kB / 0.571 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.4048, allocations: 18.17 kB / 0.571 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.4049, allocations: 4.75 kB / 0.571 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.4049, allocations: 2.656 kB / 0.571 GB, free: 26.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.405, allocations: 179.3 kB / 0.5712 GB, free: 26.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.405, allocations: 1.438 kB / 0.5712 GB, free: 26.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004715/0.4055, allocations: 105.9 kB / 0.5713 GB, free: 26.32 MB / 446.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.0007604/0.4063, allocations: 0.8422 MB / 0.5721 GB, free: 25.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.4068, allocations: 198.2 kB / 0.5723 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4068, allocations: 0 / 0.5723 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.407, allocations: 95.39 kB / 0.5724 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.4073, allocations: 25.53 kB / 0.5724 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.41, allocations: 2.518 MB / 0.5749 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.4101, allocations: 0.7366 MB / 0.5756 GB, free: 22.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.859e-05/0.4102, allocations: 29.3 kB / 0.5756 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.4103, allocations: 60.86 kB / 0.5757 GB, free: 22.7 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4103, allocations: 0 / 0.5757 GB, free: 22.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.4498, allocations: 9.029 MB / 0.5845 GB, free: 21.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.44, allocations: 8.312 kB / 0.5845 GB, free: 21.85 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.284661155659705] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[4]', 'Nu[1]', 'Nu[4]', 'input_Re.y'] 12.54194775596261 12.564274722 12.161006089 Calling exit ...