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.001537/0.001537, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001706/0.001706, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.386/1.386, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.93 MB / 361.6 MB, free: 4.184 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.002178/0.002178, allocations: 79.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2852, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003424/0.2886, allocations: 2.21 MB / 0.5637 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2903, allocations: 1.115 MB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.2904, allocations: 0 / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.2906, allocations: 91.31 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.2909, allocations: 91.33 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2912, allocations: 119.5 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.2914, allocations: 178.9 kB / 0.5652 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.2915, allocations: 12.59 kB / 0.5653 GB, free: 472 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.2916, allocations: 83.45 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.2918, allocations: 87.5 kB / 0.5654 GB, free: 300 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.2918, allocations: 8 kB / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.2922, allocations: 263.6 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.2923, allocations: 27.84 kB / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.2924, allocations: 79.55 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.2928, allocations: 342.3 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2928, allocations: 0 / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.2928, allocations: 0 / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.2928, allocations: 0 / 0.5661 GB, free: 15.59 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.0006158/0.2934, allocations: 433.6 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2935, allocations: 12.03 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.861e-05/0.2935, allocations: 12.56 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.255e-05/0.2936, allocations: 54.72 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.2936, allocations: 24.8 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.2938, allocations: 154.2 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.2938, allocations: 20.56 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.2938, allocations: 20 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.2943, allocations: 231.2 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.2943, allocations: 4 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.2943, allocations: 11.94 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.2943, allocations: 8 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.2947, allocations: 257.5 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009524/0.2957, allocations: 0.5966 MB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.2959, allocations: 102.6 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.2961, allocations: 40.92 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.2961, allocations: 4 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.2961, allocations: 34.5 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.2961, allocations: 0 / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005081/0.2966, allocations: 173.4 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2967, allocations: 51.41 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.2969, allocations: 272.1 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.297, allocations: 25.7 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.2971, allocations: 171.4 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.2971, allocations: 35.73 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-05/0.2972, allocations: 49.66 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2974, allocations: 342.8 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.2975, allocations: 43.97 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.2977, allocations: 146.1 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.2981, allocations: 216.6 kB / 0.5695 GB, free: 11.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2981, allocations: 0 / 0.5695 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004722/0.2986, allocations: 237.5 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2986, allocations: 10.34 kB / 0.5697 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2986, allocations: 4 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2986, allocations: 4 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.299, allocations: 87.89 kB / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008549/0.2999, allocations: 1.219 MB / 0.571 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.3001, allocations: 39.72 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.3001, allocations: 12 kB / 0.5711 GB, free: 10.17 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.0001395/0.3002, allocations: 134.2 kB / 0.5712 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.3003, allocations: 19.86 kB / 0.5712 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.3007, allocations: 183.6 kB / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3007, allocations: 0 / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3007, allocations: 0 / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3007, allocations: 0 / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006623/0.3014, allocations: 423.1 kB / 0.5718 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3014, allocations: 0 / 0.5718 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.3016, allocations: 63.91 kB / 0.5719 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3016, allocations: 4 kB / 0.5719 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3016, allocations: 0 / 0.5719 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007536/0.3024, allocations: 1.215 MB / 0.5731 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.3024, allocations: 3.969 kB / 0.5731 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.3028, allocations: 253.1 kB / 0.5733 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.3028, allocations: 19.84 kB / 0.5733 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.3028, allocations: 8 kB / 0.5733 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.303, allocations: 7.984 kB / 0.5733 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.303, allocations: 7.984 kB / 0.5733 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.303, allocations: 15.94 kB / 0.5734 GB, free: 7.691 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.3032, allocations: 187.1 kB / 0.5735 GB, free: 7.508 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3032, allocations: 4 kB / 0.5735 GB, free: 7.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003528/0.3036, allocations: 71.81 kB / 0.5736 GB, free: 7.434 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.0008287/0.3044, allocations: 0.8115 MB / 0.5744 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005482/0.305, allocations: 167.7 kB / 0.5746 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.305, allocations: 288 / 0.5746 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.3053, allocations: 79.89 kB / 0.5746 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3056, allocations: 29.92 kB / 0.5747 GB, free: 6.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.3088, allocations: 2.556 MB / 0.5772 GB, free: 3.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3092, allocations: 0.7401 MB / 0.5779 GB, free: 2.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.243e-05/0.3092, allocations: 21.95 kB / 0.5779 GB, free: 2.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.576e-05/0.3093, allocations: 63.41 kB / 0.578 GB, free: 2.734 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3093, allocations: 0 / 0.578 GB, free: 2.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.3356, allocations: 6.33 MB / 0.5841 GB, free: 12.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.58, allocations: 14.8 kB / 0.5842 GB, free: 12.55 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.52401821204694] 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.765279459010344 12.789540945 12.492159203 Calling exit ...