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.001399/0.001399, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001523/0.001523, allocations: 222.3 kB / 22.92 MB, free: 5.559 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.306/1.306, allocations: 230.2 MB / 256.2 MB, free: 8.609 MB / 206.1 MB " [Timeout remaining time 179] 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.206/0.206, allocations: 46.88 MB / 359.3 MB, free: 4.973 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.002097/0.002097, allocations: 87.8 kB / 0.494 GB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.261, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003035/0.2641, allocations: 2.224 MB / 0.5606 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2655, allocations: 1.104 MB / 0.5617 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.2655, allocations: 8 kB / 0.5617 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.2658, allocations: 87.38 kB / 0.5618 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.266, allocations: 95.25 kB / 0.5619 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.2663, allocations: 115.5 kB / 0.562 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.2665, allocations: 178.9 kB / 0.5622 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.2665, allocations: 16.41 kB / 0.5622 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.2667, allocations: 79.52 kB / 0.5622 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.2668, allocations: 83.5 kB / 0.5623 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.2668, allocations: 8 kB / 0.5623 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.2672, allocations: 263.6 kB / 0.5626 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.2673, allocations: 35.72 kB / 0.5626 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.989e-05/0.2673, allocations: 79.36 kB / 0.5627 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.2677, allocations: 342.5 kB / 0.563 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2677, allocations: 0 / 0.563 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2677, allocations: 4 kB / 0.563 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2677, allocations: 0 / 0.563 GB, free: 0.5039 MB / 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.0005855/0.2683, allocations: 0.4949 MB / 0.5635 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.2684, allocations: 12.03 kB / 0.5635 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/0.2684, allocations: 50.73 kB / 0.5636 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.2685, allocations: 24.8 kB / 0.5636 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.2687, allocations: 220 kB / 0.5638 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2687, allocations: 16.81 kB / 0.5638 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.2687, allocations: 23.94 kB / 0.5638 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.2691, allocations: 231.2 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2691, allocations: 4 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.2691, allocations: 8 kB / 0.5641 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2691, allocations: 4 kB / 0.5641 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.2695, allocations: 249.6 kB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009196/0.2705, allocations: 0.6313 MB / 0.5649 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.2707, allocations: 94.56 kB / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.2708, allocations: 36.92 kB / 0.5651 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.2709, allocations: 4 kB / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.2709, allocations: 34.56 kB / 0.5651 GB, free: 14.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.2709, allocations: 4 kB / 0.5651 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004929/0.2714, allocations: 169.4 kB / 0.5653 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.2714, allocations: 51.41 kB / 0.5653 GB, free: 13.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.2717, allocations: 263 kB / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.2717, allocations: 25.7 kB / 0.5656 GB, free: 13.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.2718, allocations: 183.3 kB / 0.5658 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.2718, allocations: 35.73 kB / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/0.2719, allocations: 49.66 kB / 0.5658 GB, free: 13.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2721, allocations: 335.1 kB / 0.5662 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2722, allocations: 47.95 kB / 0.5662 GB, free: 13.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.2724, allocations: 148.8 kB / 0.5663 GB, free: 12.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.2728, allocations: 208.6 kB / 0.5665 GB, free: 12.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2728, allocations: 3.938 kB / 0.5665 GB, free: 12.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004546/0.2732, allocations: 237.2 kB / 0.5668 GB, free: 12.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2732, allocations: 8 kB / 0.5668 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.2732, allocations: 4 kB / 0.5668 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2733, allocations: 7.984 kB / 0.5668 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.2736, allocations: 83.91 kB / 0.5669 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007282/0.2744, allocations: 1.223 MB / 0.5681 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.2745, allocations: 35.72 kB / 0.5681 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.2746, allocations: 19.98 kB / 0.5681 GB, free: 10.91 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.0001238/0.2747, allocations: 133.2 kB / 0.5682 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.2747, allocations: 27.81 kB / 0.5683 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000415/0.2751, allocations: 167.2 kB / 0.5684 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2751, allocations: 0 / 0.5684 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2751, allocations: 4 kB / 0.5684 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2751, allocations: 4 kB / 0.5684 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/0.2758, allocations: 448 kB / 0.5689 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2758, allocations: 3.938 kB / 0.5689 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.276, allocations: 59.98 kB / 0.5689 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.276, allocations: 0 / 0.5689 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.276, allocations: 12.05 kB / 0.5689 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007084/0.2767, allocations: 1.215 MB / 0.5701 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2767, allocations: 4.031 kB / 0.5701 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.2771, allocations: 249.1 kB / 0.5704 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.2772, allocations: 101 kB / 0.5705 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.2772, allocations: 0 / 0.5705 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2773, allocations: 8 kB / 0.5705 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.2774, allocations: 15.92 kB / 0.5705 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.2774, allocations: 4 kB / 0.5705 GB, free: 8.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.2776, allocations: 190 kB / 0.5707 GB, free: 8.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2776, allocations: 0 / 0.5707 GB, free: 8.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.2779, allocations: 67.88 kB / 0.5707 GB, free: 8.062 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.0007785/0.2787, allocations: 0.8233 MB / 0.5715 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005116/0.2792, allocations: 167.7 kB / 0.5717 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2792, allocations: 0 / 0.5717 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.2795, allocations: 84.89 kB / 0.5718 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2798, allocations: 25.11 kB / 0.5718 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.2828, allocations: 2.561 MB / 0.5743 GB, free: 4.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.2831, allocations: 0.7361 MB / 0.575 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.173e-05/0.2832, allocations: 21.94 kB / 0.575 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.019e-05/0.2833, allocations: 63.42 kB / 0.5751 GB, free: 3.348 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2833, allocations: 4.031 kB / 0.5751 GB, free: 3.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.312, allocations: 6.139 MB / 0.5811 GB, free: 13.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.71, allocations: 3.938 kB / 0.5811 GB, free: 13.33 MB / 430.1 MB " [Timeout remaining time 649] (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: 13.257497448998038]