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.001433/0.001433, 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.00155/0.00155, 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.285/1.285, allocations: 230.2 MB / 256.2 MB, free: 8.613 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.1965/0.1965, allocations: 46.91 MB / 359.3 MB, free: 4.957 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.0021/0.0021, allocations: 79.86 kB / 0.494 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2623, allocations: 65.98 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003342/0.2656, allocations: 2.216 MB / 0.5606 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.2672, allocations: 1.111 MB / 0.5617 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.373e-05/0.2673, allocations: 3.938 kB / 0.5617 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.2676, allocations: 91.31 kB / 0.5618 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.2678, allocations: 91.27 kB / 0.5619 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.2681, allocations: 127.5 kB / 0.562 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.2683, allocations: 174.9 kB / 0.5622 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.2683, allocations: 16.41 kB / 0.5622 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.2685, allocations: 79.45 kB / 0.5623 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.2686, allocations: 83.5 kB / 0.5623 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.2687, allocations: 4 kB / 0.5623 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004106/0.2691, allocations: 263.6 kB / 0.5626 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.2691, allocations: 31.78 kB / 0.5626 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.726e-05/0.2692, allocations: 83.36 kB / 0.5627 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.2696, allocations: 338.5 kB / 0.563 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2696, allocations: 3.984 kB / 0.563 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2696, allocations: 0 / 0.563 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.2697, allocations: 4 kB / 0.563 GB, free: 0.5078 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.0006254/0.2703, allocations: 0.4948 MB / 0.5635 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.2703, allocations: 8.031 kB / 0.5635 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.807e-05/0.2704, allocations: 54.73 kB / 0.5636 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.2704, allocations: 24.8 kB / 0.5636 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.2706, allocations: 220 kB / 0.5638 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2706, allocations: 20.81 kB / 0.5638 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.2707, allocations: 23.94 kB / 0.5638 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.2711, allocations: 227.2 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2711, allocations: 0 / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.2711, allocations: 8 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2711, allocations: 4 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.2715, allocations: 249.5 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009126/0.2724, allocations: 0.6314 MB / 0.5649 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.2727, allocations: 98.66 kB / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2728, allocations: 40.83 kB / 0.5651 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2729, allocations: 4 kB / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2729, allocations: 34.56 kB / 0.5651 GB, free: 14.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.2729, allocations: 0 / 0.5651 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004992/0.2734, allocations: 169.6 kB / 0.5653 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.2734, allocations: 51.41 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.2737, allocations: 270.9 kB / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2737, allocations: 29.7 kB / 0.5656 GB, free: 13.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2738, allocations: 175.4 kB / 0.5658 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.2738, allocations: 35.73 kB / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.2739, allocations: 49.66 kB / 0.5658 GB, free: 13.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2741, allocations: 334.8 kB / 0.5662 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2742, allocations: 51.95 kB / 0.5662 GB, free: 13.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.2744, allocations: 140.8 kB / 0.5663 GB, free: 12.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.2748, allocations: 212.6 kB / 0.5666 GB, free: 12.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2748, allocations: 0 / 0.5666 GB, free: 12.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004695/0.2753, allocations: 241.1 kB / 0.5668 GB, free: 12.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.2753, allocations: 8 kB / 0.5668 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2753, allocations: 4 kB / 0.5668 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.2753, allocations: 4 kB / 0.5668 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.2757, allocations: 84.34 kB / 0.5669 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007655/0.2765, allocations: 1.219 MB / 0.5681 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.2766, allocations: 39.72 kB / 0.5681 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.2767, allocations: 12 kB / 0.5681 GB, free: 10.92 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.0001204/0.2768, allocations: 145.1 kB / 0.5683 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.2768, allocations: 23.81 kB / 0.5683 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.2772, allocations: 171.3 kB / 0.5684 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.2773, allocations: 0 / 0.5684 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2773, allocations: 0 / 0.5684 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2773, allocations: 0 / 0.5684 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.2779, allocations: 448 kB / 0.5689 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2779, allocations: 0 / 0.5689 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.2781, allocations: 64.03 kB / 0.5689 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.2781, allocations: 4 kB / 0.5689 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2781, allocations: 0 / 0.5689 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007258/0.2789, allocations: 1.227 MB / 0.5701 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2789, allocations: 4.188 kB / 0.5701 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.2792, allocations: 245.1 kB / 0.5704 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.2793, allocations: 93.06 kB / 0.5705 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.2794, allocations: 11.94 kB / 0.5705 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.2795, allocations: 15.97 kB / 0.5705 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2795, allocations: 15.86 kB / 0.5705 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.2796, allocations: 8 kB / 0.5705 GB, free: 8.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.2797, allocations: 186 kB / 0.5707 GB, free: 8.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2797, allocations: 0 / 0.5707 GB, free: 8.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.2801, allocations: 67.88 kB / 0.5707 GB, free: 8.059 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.0007933/0.2809, allocations: 0.8192 MB / 0.5715 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005221/0.2814, allocations: 164.4 kB / 0.5717 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2814, allocations: 4.188 kB / 0.5717 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.2817, allocations: 83.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.0003344/0.282, 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.003057/0.2851, allocations: 2.557 MB / 0.5743 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.2854, allocations: 0.74 MB / 0.575 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.348e-05/0.2855, allocations: 25.97 kB / 0.5751 GB, free: 3.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.034e-05/0.2856, allocations: 59.42 kB / 0.5751 GB, free: 3.348 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2856, allocations: 0 / 0.5751 GB, free: 3.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.313, allocations: 6.141 MB / 0.5811 GB, free: 13.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.67, allocations: 7.922 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 & /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 --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: 13.182812159997411]