Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.001219/0.001219, 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.001351/0.001351, allocations: 205.5 kB / 24.51 MB, free: 3.945 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.372/1.372, 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.2181/0.2181, allocations: 46.95 MB / 361.6 MB, free: 3.945 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.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 79.88 kB / 0.4969 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3212, allocations: 66.08 MB / 0.5615 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.00322/0.3244, allocations: 1.839 MB / 0.5633 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3258, allocations: 0.7878 MB / 0.564 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.3259, allocations: 3.938 kB / 0.564 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.3261, allocations: 43.77 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.3264, allocations: 87.55 kB / 0.5642 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.3267, allocations: 87.09 kB / 0.5642 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.327, allocations: 262.7 kB / 0.5645 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.3271, allocations: 10.42 kB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.3273, allocations: 107.5 kB / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.3275, allocations: 127.4 kB / 0.5647 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.3275, allocations: 8 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.3277, allocations: 75.88 kB / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-05/0.3278, allocations: 67.69 kB / 0.5649 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.209e-05/0.3279, allocations: 83.42 kB / 0.565 GB, free: 476 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.3283, allocations: 298.5 kB / 0.5652 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3283, allocations: 4 kB / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3283, allocations: 0 / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3283, allocations: 0 / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008287/0.3291, allocations: 493.5 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3291, allocations: 8.031 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.836e-05/0.3292, allocations: 8.688 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.542e-05/0.3292, allocations: 70.64 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.3293, allocations: 28.75 kB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.3295, allocations: 184.8 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3296, allocations: 24.62 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.3296, allocations: 23.98 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006478/0.3302, allocations: 372.8 kB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3303, allocations: 0 / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.3303, allocations: 15.98 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/0.3303, allocations: 24.64 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.3309, allocations: 378.3 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.3322, allocations: 0.7807 MB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.3327, allocations: 252.8 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.3329, allocations: 96.77 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.3329, allocations: 4 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.3329, allocations: 34.56 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.3329, allocations: 7.938 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007634/0.3337, allocations: 333.3 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3337, allocations: 51.41 kB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.3341, allocations: 348.1 kB / 0.5686 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.3342, allocations: 25.7 kB / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3343, allocations: 168.2 kB / 0.5688 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.3343, allocations: 59.48 kB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.3344, allocations: 61.92 kB / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3346, allocations: 342.8 kB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.3348, allocations: 96.36 kB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.3351, allocations: 183.9 kB / 0.5695 GB, free: 11.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/0.3356, allocations: 305.7 kB / 0.5698 GB, free: 11.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3356, allocations: 0 / 0.5698 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00062/0.3362, allocations: 356.8 kB / 0.5702 GB, free: 10.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3362, allocations: 4 kB / 0.5702 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3362, allocations: 7.984 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3363, allocations: 4 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.3369, allocations: 131.9 kB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.339, allocations: 3.645 MB / 0.5739 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.3393, allocations: 51.62 kB / 0.5739 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.3393, allocations: 12 kB / 0.5739 GB, free: 6.859 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003136/0.3396, allocations: 183.5 kB / 0.5741 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.3397, allocations: 27.86 kB / 0.5741 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007091/0.3404, allocations: 325.9 kB / 0.5744 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3404, allocations: 0 / 0.5744 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3404, allocations: 0 / 0.5744 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3404, allocations: 4 kB / 0.5744 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.3408, allocations: 256.6 kB / 0.5747 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3408, allocations: 3.984 kB / 0.5747 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.3413, allocations: 115.9 kB / 0.5748 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3413, allocations: 0 / 0.5748 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.3413, allocations: 7.984 kB / 0.5748 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.3435, allocations: 3.649 MB / 0.5784 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3435, allocations: 3.938 kB / 0.5784 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.344, allocations: 347.2 kB / 0.5787 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.3441, allocations: 31.78 kB / 0.5787 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.3441, allocations: 11.88 kB / 0.5787 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.3443, allocations: 15.92 kB / 0.5788 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.3443, allocations: 11.97 kB / 0.5788 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.3444, allocations: 12 kB / 0.5788 GB, free: 1.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002543/0.3446, allocations: 247.1 kB / 0.579 GB, free: 1.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3446, allocations: 0 / 0.579 GB, free: 1.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.345, allocations: 79.89 kB / 0.5791 GB, free: 1.352 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.346, allocations: 0.9111 MB / 0.58 GB, free: 424 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009227/0.3469, allocations: 311 kB / 0.5803 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.347, allocations: 0.75 kB / 0.5803 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005959/0.3475, allocations: 195.7 kB / 0.5805 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.348, allocations: 64.86 kB / 0.5805 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.3522, allocations: 3.384 MB / 0.5838 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.3524, allocations: 181.4 kB / 0.584 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.3526, allocations: 78.89 kB / 0.5841 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3527, allocations: 75.41 kB / 0.5842 GB, free: 11.98 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3527, allocations: 0 / 0.5842 GB, free: 11.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.3825, allocations: 9.309 MB / 0.5932 GB, free: 2.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.96, allocations: 11.02 kB / 0.5933 GB, free: 2.879 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.937484116991982] Failed to read output from testmodel.py, exit status != 0: ['time', 'cp[1]', 'cp[2]', 'cp[3]', 'eta[1]', 'eta[2]', 'eta[3]', 'lambda[1]', 'lambda[2]', 'lambda[3]', 'rho[1]', 'rho[2]', 'rho[3]', 'Nu[1]', 'Nu[2]', 'Nu[3]', 'm_flow_1[1]', 'm_flow_1[2]', 'm_flow_1[3]', 'm_flow_2[1]', 'm_flow_2[2]', 'm_flow_2[3]', 'kc[1]', 'kc[2]', 'kc[3]', 'Re_1[1]', 'Re_1[2]', 'Re_1[3]', 'Re_2[1]', 'Re_2[2]', 'Re_2[3]', 'input_Nu.y'] 13.129106433014385 13.149451892 12.817221828 Calling exit ...