Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.001256/0.001256, allocations: 112.5 kB / 21.22 MB, free: 0.7461 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.001449/0.001449, allocations: 213.1 kB / 24.53 MB, free: 4.145 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.217/0.217, allocations: 46.94 MB / 361.6 MB, free: 4.266 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+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,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.89 kB / 0.497 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3054, allocations: 66.03 MB / 0.5614 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003472/0.3089, allocations: 2.155 MB / 0.5636 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.311, allocations: 1.427 MB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.3111, allocations: 0 / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.3114, allocations: 87.39 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.3116, allocations: 67.41 kB / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.3121, allocations: 219.1 kB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.3123, allocations: 143 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.584e-05/0.3123, allocations: 20.58 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.3125, allocations: 59.61 kB / 0.5655 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.3126, allocations: 75.52 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.3127, allocations: 4 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.3133, allocations: 435.4 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.3133, allocations: 23.8 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.3134, allocations: 71.44 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000597/0.314, allocations: 442.3 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.314, allocations: 0 / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.314, allocations: 0 / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.314, allocations: 0 / 0.5665 GB, free: 15.22 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006565/0.3147, allocations: 437 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3147, allocations: 12.03 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.027e-05/0.3148, allocations: 8.188 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.3148, allocations: 46.73 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.3148, allocations: 24.8 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.315, allocations: 162.1 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3151, allocations: 12.12 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.3151, allocations: 16 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.3155, allocations: 210.7 kB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3155, allocations: 0 / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3155, allocations: 4 kB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3155, allocations: 4 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.3158, allocations: 156.2 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/0.3167, allocations: 0.5523 MB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3169, allocations: 62.48 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.317, allocations: 28.95 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.317, allocations: 4 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.317, allocations: 30.56 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.317, allocations: 0 / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004564/0.3175, allocations: 133.5 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.3176, allocations: 63.28 kB / 0.5684 GB, free: 13.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.3178, allocations: 257.9 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3179, allocations: 25.7 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.318, allocations: 175.9 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.318, allocations: 15.84 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.3181, allocations: 41.66 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3182, allocations: 342.8 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.3184, allocations: 35.97 kB / 0.5693 GB, free: 12.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.3186, allocations: 136.8 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.319, allocations: 184.6 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.319, allocations: 0 / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004033/0.3194, allocations: 205.7 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3194, allocations: 4 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-05/0.3194, allocations: 16 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3194, allocations: 4 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.3196, allocations: 31.97 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.3196, allocations: 7.938 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.3197, allocations: 27.78 kB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.3197, allocations: 19.94 kB / 0.5699 GB, free: 11.5 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.3199, allocations: 133.9 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.3199, allocations: 19.86 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.3203, allocations: 131 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3203, allocations: 4 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3203, allocations: 4 kB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3203, allocations: 0 / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.3206, allocations: 192.6 kB / 0.5703 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.3206, allocations: 8 kB / 0.5703 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.012e-05/0.3206, allocations: 7.984 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3206, allocations: 0 / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3206, allocations: 8 kB / 0.5704 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3206, allocations: 0 / 0.5704 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3206, allocations: 0 / 0.5704 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.321, allocations: 211.2 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.321, allocations: 23.78 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.321, allocations: 4 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/0.3211, allocations: 3.984 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3212, allocations: 4 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3212, allocations: 4 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.3214, allocations: 189.1 kB / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3214, allocations: 0 / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.3217, allocations: 79.75 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008925/0.3226, allocations: 0.8096 MB / 0.5716 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004648/0.3231, allocations: 163.2 kB / 0.5718 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3231, allocations: 0 / 0.5718 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.3233, allocations: 104.6 kB / 0.5719 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.3237, allocations: 16.98 kB / 0.5719 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.3268, allocations: 2.388 MB / 0.5743 GB, free: 6.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.3271, allocations: 0.732 MB / 0.575 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.244e-05/0.3272, allocations: 17.42 kB / 0.575 GB, free: 5.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.3273, allocations: 59.42 kB / 0.575 GB, free: 5.879 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3273, allocations: 0 / 0.575 GB, free: 5.879 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.3554, allocations: 6.99 MB / 0.5819 GB, free: 15.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.02, allocations: 12 kB / 0.5819 GB, free: 15.07 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.047561417974066] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[2]', 'Nu[1]', 'Nu[2]', 'input_Re.y'] 13.190117877034936 13.205781743 12.888696445 Calling exit ...