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.001193/0.001193, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001245/0.001245, allocations: 222.6 kB / 22.92 MB, free: 5.539 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.289/1.289, allocations: 230.2 MB / 256.2 MB, free: 8.754 MB / 206.1 MB " [Timeout remaining time 179] 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.1998/0.1998, allocations: 46.89 MB / 359.3 MB, free: 4.961 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.002114/0.002114, allocations: 83.84 kB / 0.494 GB, free: 9.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2577, allocations: 65.99 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002946/0.2607, allocations: 1.906 MB / 0.5603 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.262, allocations: 0.8616 MB / 0.5611 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.262, allocations: 0 / 0.5611 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.2623, allocations: 55.72 kB / 0.5612 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.2625, allocations: 83.56 kB / 0.5613 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.2628, allocations: 79.11 kB / 0.5614 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.263, allocations: 258.7 kB / 0.5616 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.2631, allocations: 14.23 kB / 0.5616 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.2633, allocations: 119.4 kB / 0.5617 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.2635, allocations: 119.4 kB / 0.5618 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.2635, allocations: 8 kB / 0.5618 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.2637, allocations: 119.8 kB / 0.562 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/0.2638, allocations: 63.75 kB / 0.562 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.2639, allocations: 115.2 kB / 0.5621 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.2643, allocations: 302.6 kB / 0.5624 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2643, allocations: 0 / 0.5624 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2643, allocations: 0 / 0.5624 GB, free: 1.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2643, allocations: 0 / 0.5624 GB, free: 1.105 MB / 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.0008089/0.2651, allocations: 0.5533 MB / 0.563 GB, free: 0.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2652, allocations: 12.03 kB / 0.563 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.443e-05/0.2652, allocations: 74.7 kB / 0.563 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.2653, allocations: 32.75 kB / 0.5631 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.2655, allocations: 235.9 kB / 0.5633 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2655, allocations: 16.94 kB / 0.5633 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.2656, allocations: 31.92 kB / 0.5633 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006023/0.2662, allocations: 373.2 kB / 0.5637 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2662, allocations: 0 / 0.5637 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.2662, allocations: 8 kB / 0.5637 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/0.2663, allocations: 28.58 kB / 0.5637 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.2669, allocations: 382.3 kB / 0.5641 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.2681, allocations: 0.8428 MB / 0.5649 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.2686, allocations: 253.6 kB / 0.5652 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.2688, allocations: 100.8 kB / 0.5653 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.2688, allocations: 4 kB / 0.5653 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.2688, allocations: 34.56 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.2688, allocations: 0 / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007245/0.2695, allocations: 329.3 kB / 0.5656 GB, free: 13.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.2696, allocations: 63.39 kB / 0.5657 GB, free: 13.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.2699, allocations: 338.9 kB / 0.566 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.2699, allocations: 25.7 kB / 0.566 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.2701, allocations: 168.2 kB / 0.5662 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.2701, allocations: 59.47 kB / 0.5662 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.2702, allocations: 73.8 kB / 0.5663 GB, free: 12.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2704, allocations: 338.8 kB / 0.5666 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.2706, allocations: 104.4 kB / 0.5667 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.2708, allocations: 176 kB / 0.5669 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.2713, allocations: 313.6 kB / 0.5672 GB, free: 11.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2714, allocations: 0 / 0.5672 GB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006086/0.272, allocations: 352.9 kB / 0.5675 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.272, allocations: 8 kB / 0.5675 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.272, allocations: 4 kB / 0.5675 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.272, allocations: 4 kB / 0.5676 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.2725, allocations: 127.9 kB / 0.5677 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.2747, allocations: 3.649 MB / 0.5712 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.2749, allocations: 39.72 kB / 0.5713 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.2749, allocations: 16.28 kB / 0.5713 GB, free: 7.566 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.0002135/0.2751, allocations: 181.6 kB / 0.5715 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.2752, allocations: 27.81 kB / 0.5715 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.2758, allocations: 323.5 kB / 0.5718 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2758, allocations: 4 kB / 0.5718 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2758, allocations: 4 kB / 0.5718 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2758, allocations: 3.938 kB / 0.5718 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.2762, allocations: 301.4 kB / 0.5721 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2762, allocations: 0 / 0.5721 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.2767, allocations: 103.9 kB / 0.5722 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2767, allocations: 4 kB / 0.5722 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.2767, allocations: 8 kB / 0.5722 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.2788, allocations: 3.657 MB / 0.5758 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2788, allocations: 0 / 0.5758 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.2793, allocations: 350.4 kB / 0.5761 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.2794, allocations: 112.8 kB / 0.5762 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.2794, allocations: 7.938 kB / 0.5762 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.2796, allocations: 4 kB / 0.5762 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.2797, allocations: 19.97 kB / 0.5763 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.2797, allocations: 4 kB / 0.5763 GB, free: 2.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002358/0.2799, allocations: 245.9 kB / 0.5765 GB, free: 2 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2799, allocations: 0 / 0.5765 GB, free: 2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003459/0.2803, allocations: 75.94 kB / 0.5766 GB, free: 1.926 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.0009304/0.2812, allocations: 0.92 MB / 0.5775 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008571/0.282, allocations: 316.3 kB / 0.5778 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.282, allocations: 0 / 0.5778 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.2826, allocations: 183.8 kB / 0.5779 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.283, allocations: 68.77 kB / 0.578 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.2871, allocations: 3.376 MB / 0.5813 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.2875, allocations: 0.7873 MB / 0.5821 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.2877, allocations: 82.88 kB / 0.5821 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.2878, allocations: 75.41 kB / 0.5822 GB, free: 11.93 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2878, allocations: 0 / 0.5822 GB, free: 11.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.3191, allocations: 8.641 MB / 0.5907 GB, free: 3.453 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.83, allocations: 11.92 kB / 0.5907 GB, free: 3.441 MB / 430.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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: 13.333037535994663]