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.001654/0.001654, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002038/0.002038, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.467/1.467, allocations: 230.5 MB / 258.2 MB, free: 8.062 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.2416/0.2416, allocations: 46.92 MB / 361.6 MB, free: 4.328 MB / 286.1 MB " [Timeout remaining time 179] 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.002286/0.002286, allocations: 75.88 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3755, allocations: 66.09 MB / 0.5616 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003652/0.3792, allocations: 2.213 MB / 0.5637 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.3809, allocations: 1.111 MB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.381, allocations: 4 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.3813, allocations: 95.38 kB / 0.5649 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.3816, allocations: 91.27 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.3819, allocations: 115 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.3821, allocations: 182.9 kB / 0.5653 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.387e-05/0.3821, allocations: 8.594 kB / 0.5653 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.3823, allocations: 83.58 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.3825, allocations: 87.44 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.3825, allocations: 4 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.3829, allocations: 267.6 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.383, allocations: 31.8 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.3831, allocations: 79.53 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.3835, allocations: 338.3 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3835, allocations: 4 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3835, allocations: 0 / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.3835, allocations: 0 / 0.5661 GB, free: 15.61 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000619/0.3842, allocations: 433.6 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3842, allocations: 12.03 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.408e-05/0.3843, allocations: 54.73 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.3843, allocations: 28.78 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.3845, allocations: 154.2 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3845, allocations: 12.81 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.3846, allocations: 27.94 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.385, allocations: 239.2 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.385, allocations: 0 / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.385, allocations: 8 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.385, allocations: 8 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.3855, allocations: 249.6 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009847/0.3865, allocations: 0.5966 MB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.3868, allocations: 102.4 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.3869, allocations: 48.92 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3869, allocations: 0 / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.3869, allocations: 34.56 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 8.41e-07/0.3869, allocations: 0 / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005044/0.3875, allocations: 173.4 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.3875, allocations: 51.41 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.3878, allocations: 272.1 kB / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3878, allocations: 29.7 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3879, allocations: 171.4 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.388, allocations: 39.72 kB / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.388, allocations: 49.66 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3882, allocations: 338.8 kB / 0.5691 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.3884, allocations: 47.97 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.3886, allocations: 153.5 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.3889, allocations: 208.6 kB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3889, allocations: 0 / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004709/0.3894, allocations: 241.3 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3894, allocations: 8 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3894, allocations: 4 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3895, allocations: 4 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.3898, allocations: 83.89 kB / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008636/0.3907, allocations: 1.223 MB / 0.571 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.3909, allocations: 43.72 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3909, allocations: 8 kB / 0.5711 GB, free: 10.2 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.0001273/0.3911, allocations: 133.7 kB / 0.5712 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.3911, allocations: 23.86 kB / 0.5712 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.3915, allocations: 179.7 kB / 0.5714 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3916, allocations: 0 / 0.5714 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3916, allocations: 0 / 0.5714 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3916, allocations: 0 / 0.5714 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.3922, allocations: 427 kB / 0.5718 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3922, allocations: 0 / 0.5718 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.3925, allocations: 55.97 kB / 0.5719 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.3925, allocations: 4.094 kB / 0.5719 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3925, allocations: 7.938 kB / 0.5719 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007885/0.3933, allocations: 1.215 MB / 0.5731 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3933, allocations: 0 / 0.5731 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.3937, allocations: 257.2 kB / 0.5733 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.3937, allocations: 19.84 kB / 0.5733 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.3937, allocations: 4 kB / 0.5733 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.3939, allocations: 11.98 kB / 0.5734 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.3939, allocations: 7.984 kB / 0.5734 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.3939, allocations: 4 kB / 0.5734 GB, free: 7.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.3941, allocations: 191.1 kB / 0.5735 GB, free: 7.539 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3941, allocations: 0 / 0.5735 GB, free: 7.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003727/0.3945, allocations: 71.81 kB / 0.5736 GB, free: 7.469 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.000857/0.3954, allocations: 0.8231 MB / 0.5744 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.3959, allocations: 159.8 kB / 0.5746 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3959, allocations: 0 / 0.5746 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.3962, allocations: 88.89 kB / 0.5747 GB, free: 6.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.3965, allocations: 21.17 kB / 0.5747 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.3998, allocations: 2.563 MB / 0.5772 GB, free: 3.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.4002, allocations: 0.7401 MB / 0.5779 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.939e-05/0.4002, allocations: 21.95 kB / 0.5779 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4003, allocations: 67.34 kB / 0.578 GB, free: 2.754 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4003, allocations: 0 / 0.578 GB, free: 2.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.4355, allocations: 6.259 MB / 0.5841 GB, free: 12.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.25, allocations: 10.48 kB / 0.5841 GB, free: 12.62 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 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: 15.32548365695402] 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'] 12.346243176143616 12.373395055 11.98474371 Calling exit ...