Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00124/0.00124, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001383/0.001383, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.374/1.374, allocations: 230.5 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.95 MB / 361.6 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 75.88 kB / 0.4969 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3147, allocations: 66.08 MB / 0.5615 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003314/0.318, allocations: 2.097 MB / 0.5635 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3195, allocations: 0.9907 MB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.3196, allocations: 0 / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.3199, allocations: 79.41 kB / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.3202, allocations: 95.27 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.3205, allocations: 111.6 kB / 0.5648 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3207, allocations: 186.8 kB / 0.5649 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.3208, allocations: 12.59 kB / 0.565 GB, free: 484 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.321, allocations: 75.53 kB / 0.565 GB, free: 408 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.3211, allocations: 83.48 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.3211, allocations: 8 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.3214, allocations: 147.8 kB / 0.5653 GB, free: 168 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.3214, allocations: 27.8 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.913e-05/0.3215, allocations: 63.59 kB / 0.5653 GB, free: 76 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.3219, allocations: 310.4 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3219, allocations: 0 / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3219, allocations: 0 / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.322, allocations: 0 / 0.5656 GB, free: 15.77 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.0005861/0.3225, allocations: 433.6 kB / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3226, allocations: 8.031 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.328e-05/0.3226, allocations: 12.61 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/0.3227, allocations: 58.73 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.3227, allocations: 28.73 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.3229, allocations: 154.2 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3229, allocations: 16.56 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.3229, allocations: 24 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/0.3234, allocations: 231.2 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3234, allocations: 3.938 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3234, allocations: 8 kB / 0.5666 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3234, allocations: 8 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.3239, allocations: 261.5 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.3248, allocations: 0.5771 MB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.3251, allocations: 90.62 kB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.3252, allocations: 44.86 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3252, allocations: 0 / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.3253, allocations: 34.56 kB / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.3253, allocations: 4 kB / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005036/0.3258, allocations: 165.4 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.3258, allocations: 55.41 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.3261, allocations: 276.1 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3261, allocations: 25.7 kB / 0.5681 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3263, allocations: 171.4 kB / 0.5682 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.3263, allocations: 31.73 kB / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/0.3264, allocations: 49.66 kB / 0.5683 GB, free: 12.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3265, allocations: 342.8 kB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.3267, allocations: 47.97 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.3269, allocations: 150 kB / 0.5688 GB, free: 12.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.3273, allocations: 208.6 kB / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3273, allocations: 0 / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004834/0.3278, allocations: 237.1 kB / 0.5692 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3278, allocations: 10.03 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3278, allocations: 4 kB / 0.5693 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3278, allocations: 4 kB / 0.5693 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.3282, allocations: 96.7 kB / 0.5693 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008215/0.329, allocations: 1.215 MB / 0.5705 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.3292, allocations: 39.72 kB / 0.5706 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.3292, allocations: 8 kB / 0.5706 GB, free: 10.38 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.0001298/0.3294, allocations: 146.1 kB / 0.5707 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.3294, allocations: 19.86 kB / 0.5707 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/0.3299, allocations: 175.4 kB / 0.5709 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3299, allocations: 0 / 0.5709 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3299, allocations: 0 / 0.5709 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3299, allocations: 4 kB / 0.5709 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.3305, allocations: 411.1 kB / 0.5713 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3305, allocations: 4 kB / 0.5713 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.3308, allocations: 59.91 kB / 0.5714 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3308, allocations: 4 kB / 0.5714 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3308, allocations: 4 kB / 0.5714 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008073/0.3316, allocations: 1.211 MB / 0.5726 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3316, allocations: 8.281 kB / 0.5726 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.332, allocations: 248.9 kB / 0.5728 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.332, allocations: 19.86 kB / 0.5728 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.3321, allocations: 4 kB / 0.5728 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.3322, allocations: 11.98 kB / 0.5728 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3323, allocations: 15.92 kB / 0.5728 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3323, allocations: 4 kB / 0.5729 GB, free: 7.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.3325, allocations: 187.1 kB / 0.573 GB, free: 7.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3325, allocations: 0 / 0.573 GB, free: 7.727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003794/0.3329, allocations: 79.81 kB / 0.5731 GB, free: 7.648 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.0008565/0.3337, allocations: 0.8118 MB / 0.5739 GB, free: 6.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005504/0.3343, allocations: 167.7 kB / 0.5741 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3343, allocations: 0.875 kB / 0.5741 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.3346, allocations: 92.02 kB / 0.5741 GB, free: 6.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.335, allocations: 25.19 kB / 0.5742 GB, free: 6.523 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.3384, allocations: 2.556 MB / 0.5767 GB, free: 3.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.3385, allocations: 125.5 kB / 0.5768 GB, free: 3.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.325e-05/0.3386, allocations: 25.94 kB / 0.5768 GB, free: 3.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.3387, allocations: 59.42 kB / 0.5769 GB, free: 3.566 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3387, allocations: 4 kB / 0.5769 GB, free: 3.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.3667, allocations: 6.48 MB / 0.5832 GB, free: 13.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/12.98, allocations: 8 kB / 0.5832 GB, free: 13.26 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.8552516780328] 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.152273644926026 13.167100183 12.84228415 Calling exit ...