Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2284/0.2284, allocations: 44.91 MB / 359.6 MB, free: 6.316 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3227, allocations: 65.48 MB / 0.5578 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003775/0.3265, allocations: 2.216 MB / 0.56 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3282, allocations: 1.104 MB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.3283, allocations: 4 kB / 0.5611 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.3287, allocations: 95.31 kB / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.3289, allocations: 91.33 kB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.3292, allocations: 115.5 kB / 0.5614 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.3294, allocations: 178.9 kB / 0.5615 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.3295, allocations: 8.594 kB / 0.5615 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.3297, allocations: 87.45 kB / 0.5616 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.3298, allocations: 87.5 kB / 0.5617 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3298, allocations: 4 kB / 0.5617 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.3303, allocations: 267.6 kB / 0.562 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.3303, allocations: 27.84 kB / 0.562 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.3304, allocations: 83.36 kB / 0.5621 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.3309, allocations: 334.5 kB / 0.5624 GB, free: 3.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3309, allocations: 0 / 0.5624 GB, free: 3.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.331, allocations: 4 kB / 0.5624 GB, free: 3.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.331, allocations: 0 / 0.5624 GB, free: 3.07 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.0006278/0.3316, allocations: 433.6 kB / 0.5628 GB, free: 2.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3316, allocations: 12.03 kB / 0.5628 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.189e-05/0.3317, allocations: 8.562 kB / 0.5628 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.998e-05/0.3317, allocations: 62.72 kB / 0.5629 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.3318, allocations: 24.8 kB / 0.5629 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.332, allocations: 154.2 kB / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.332, allocations: 24.56 kB / 0.5631 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.3321, allocations: 19.94 kB / 0.5631 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.3325, allocations: 235.2 kB / 0.5633 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3325, allocations: 3.938 kB / 0.5633 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.3325, allocations: 12 kB / 0.5633 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3326, allocations: 4 kB / 0.5634 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.333, allocations: 257.5 kB / 0.5636 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009876/0.334, allocations: 0.5966 MB / 0.5642 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.3343, allocations: 94.62 kB / 0.5643 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.3344, allocations: 36.92 kB / 0.5643 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.3344, allocations: 4 kB / 0.5643 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3344, allocations: 42.48 kB / 0.5644 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3344, allocations: 4 kB / 0.5644 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005204/0.335, allocations: 161.4 kB / 0.5645 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.335, allocations: 51.41 kB / 0.5646 GB, free: 0.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.3353, allocations: 272.1 kB / 0.5648 GB, free: 444 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3353, allocations: 29.7 kB / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3354, allocations: 175.4 kB / 0.565 GB, free: 228 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.3355, allocations: 31.73 kB / 0.565 GB, free: 196 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.3355, allocations: 49.66 kB / 0.5651 GB, free: 140 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3357, allocations: 342.8 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3359, allocations: 43.97 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.3361, allocations: 156.7 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.3365, allocations: 204.6 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3365, allocations: 0 / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004958/0.337, allocations: 241.2 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.337, allocations: 8 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.337, allocations: 4 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.337, allocations: 4 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.3374, allocations: 87.89 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008426/0.3383, allocations: 1.219 MB / 0.5673 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.3385, allocations: 39.72 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.3385, allocations: 12.38 kB / 0.5674 GB, free: 13.64 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.0001337/0.3387, allocations: 133.7 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.3387, allocations: 28.03 kB / 0.5675 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.3392, allocations: 175.1 kB / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3392, allocations: 0 / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3392, allocations: 0 / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3392, allocations: 8 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.3398, allocations: 419.1 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3399, allocations: 4 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.3401, allocations: 59.91 kB / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3401, allocations: 0 / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.3402, allocations: 8 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008005/0.341, allocations: 1.207 MB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.341, allocations: 11.97 kB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.3414, allocations: 253.1 kB / 0.5696 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.3414, allocations: 23.8 kB / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.3415, allocations: 0 / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3416, allocations: 11.98 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.3417, allocations: 7.984 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3417, allocations: 8 kB / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.3419, allocations: 187.1 kB / 0.5698 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3419, allocations: 0 / 0.5698 GB, free: 10.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004119/0.3423, allocations: 75.81 kB / 0.5699 GB, free: 10.91 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.0009954/0.3433, allocations: 0.819 MB / 0.5707 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006705/0.344, allocations: 164 kB / 0.5709 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.344, allocations: 3.938 kB / 0.5709 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.3443, allocations: 84.77 kB / 0.5709 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.3447, allocations: 30.16 kB / 0.571 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.3483, allocations: 2.567 MB / 0.5735 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.3487, allocations: 0.7323 MB / 0.5742 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.974e-05/0.3488, allocations: 17.95 kB / 0.5742 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.3489, allocations: 67.41 kB / 0.5743 GB, free: 6.203 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3489, allocations: 0 / 0.5743 GB, free: 6.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.3758, allocations: 6.323 MB / 0.5805 GB, free: 60 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.13, allocations: 7.156 kB / 0.5805 GB, free: 56 kB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.21391460596351] 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'] 13.305216957000084 13.329271179 12.993808725 Calling exit ...