Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001255/0.001255, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001375/0.001375, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.398/1.398, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2183/0.2183, allocations: 46.93 MB / 361.6 MB, free: 4.203 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-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 75.88 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3233, allocations: 66.09 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003519/0.3268, allocations: 1.901 MB / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.3285, allocations: 0.8694 MB / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.3286, allocations: 4 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.3289, allocations: 51.72 kB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.3293, allocations: 87.56 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.3296, allocations: 83.72 kB / 0.5645 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.3299, allocations: 258.7 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.184e-05/0.33, allocations: 14.56 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.3302, allocations: 103.5 kB / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.3304, allocations: 131.4 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.3305, allocations: 8 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.3307, allocations: 115.8 kB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3308, allocations: 67.67 kB / 0.5651 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3309, allocations: 103.2 kB / 0.5652 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004266/0.3313, allocations: 310.6 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3313, allocations: 0 / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3313, allocations: 0 / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3314, allocations: 0 / 0.5655 GB, free: 196 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.0009097/0.3323, allocations: 499.2 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3323, allocations: 11.97 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.925e-05/0.3324, allocations: 62.73 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.3324, allocations: 32.75 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.3327, allocations: 186.1 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3327, allocations: 22.92 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.3328, allocations: 24 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006212/0.3334, allocations: 372.8 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3334, allocations: 0 / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.3334, allocations: 11.98 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.959e-05/0.3335, allocations: 24.64 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.3341, allocations: 390.2 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.3354, allocations: 0.8041 MB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.336, allocations: 254.3 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.3362, allocations: 84.84 kB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.3362, allocations: 11.94 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3362, allocations: 38.55 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.3362, allocations: 0 / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007664/0.337, allocations: 332.2 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.337, allocations: 55.41 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/0.3374, allocations: 348.1 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.3374, allocations: 25.7 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.3376, allocations: 180.1 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.237e-05/0.3376, allocations: 55.53 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.3377, allocations: 61.89 kB / 0.5693 GB, free: 12.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3379, allocations: 338.8 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.3381, allocations: 100.4 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.3384, allocations: 187.9 kB / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.3389, allocations: 306.8 kB / 0.5701 GB, free: 11.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3389, allocations: 0 / 0.5701 GB, free: 11.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006132/0.3395, allocations: 352.1 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3395, allocations: 4 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3395, allocations: 4 kB / 0.5705 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3396, allocations: 4 kB / 0.5705 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.3401, allocations: 123.9 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.3425, allocations: 3.657 MB / 0.5742 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.3428, allocations: 43.7 kB / 0.5742 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.3428, allocations: 15.98 kB / 0.5742 GB, free: 6.852 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.0002656/0.3431, allocations: 173.9 kB / 0.5744 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.3431, allocations: 27.81 kB / 0.5744 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006987/0.3438, allocations: 335.3 kB / 0.5748 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.3438, allocations: 0 / 0.5748 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3438, allocations: 0 / 0.5748 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3438, allocations: 0 / 0.5748 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.3442, allocations: 276.5 kB / 0.575 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3442, allocations: 4 kB / 0.575 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.3446, allocations: 103.9 kB / 0.5751 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.3446, allocations: 3.938 kB / 0.5751 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.3447, allocations: 11.98 kB / 0.5751 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.3469, allocations: 3.645 MB / 0.5787 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3469, allocations: 0 / 0.5787 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.3475, allocations: 355.1 kB / 0.579 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.3476, allocations: 35.94 kB / 0.5791 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.3476, allocations: 0 / 0.5791 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.3478, allocations: 11.98 kB / 0.5791 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.3478, allocations: 15.97 kB / 0.5791 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.3478, allocations: 8 kB / 0.5791 GB, free: 1.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.3481, allocations: 243 kB / 0.5793 GB, free: 1.422 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3481, allocations: 0 / 0.5793 GB, free: 1.422 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.3485, allocations: 75.94 kB / 0.5794 GB, free: 1.348 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.001012/0.3495, allocations: 0.9215 MB / 0.5803 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008667/0.3504, allocations: 311.6 kB / 0.5806 GB, free: 100 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3504, allocations: 0 / 0.5806 GB, free: 100 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.3509, allocations: 192.6 kB / 0.5808 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3513, allocations: 65.73 kB / 0.5809 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.3558, allocations: 3.378 MB / 0.5841 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.3562, allocations: 0.7834 MB / 0.5849 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.3564, allocations: 86.88 kB / 0.585 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3565, allocations: 79.41 kB / 0.5851 GB, free: 11.34 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3565, allocations: 0 / 0.5851 GB, free: 11.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.3903, allocations: 8.829 MB / 0.5937 GB, free: 2.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.28, allocations: 0 / 0.5937 GB, free: 2.68 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000201839 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.158394765108824] 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'] 12.373614222276956 12.396500503 12.060676182 Calling exit ...