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.001208/0.001208, allocations: 105.8 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.001298/0.001298, allocations: 221 kB / 22.92 MB, free: 5.531 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.296/1.296, allocations: 230.2 MB / 256.1 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.1976/0.1976, allocations: 46.89 MB / 359.3 MB, free: 4.977 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.002129/0.002129, allocations: 83.86 kB / 0.494 GB, free: 9.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2546, allocations: 65.98 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.002898/0.2575, allocations: 1.902 MB / 0.5603 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.2588, allocations: 0.8656 MB / 0.5611 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.2588, allocations: 0 / 0.5611 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.259, allocations: 51.67 kB / 0.5612 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.2593, allocations: 91.55 kB / 0.5613 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.2595, allocations: 79.11 kB / 0.5614 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.2598, allocations: 262.7 kB / 0.5616 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.2599, allocations: 14.23 kB / 0.5616 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.26, allocations: 103.5 kB / 0.5617 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.2602, allocations: 131.3 kB / 0.5618 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.2602, allocations: 8 kB / 0.5619 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.2604, allocations: 119.8 kB / 0.562 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.2605, allocations: 59.75 kB / 0.562 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.753e-05/0.2606, allocations: 107.2 kB / 0.5621 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.261, allocations: 302.7 kB / 0.5624 GB, free: 1.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.261, allocations: 3.938 kB / 0.5624 GB, free: 1.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.261, allocations: 3.938 kB / 0.5624 GB, free: 1.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.261, 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.0007718/0.2617, allocations: 0.5572 MB / 0.563 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.2618, allocations: 12.03 kB / 0.563 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.449e-05/0.2618, allocations: 66.72 kB / 0.563 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.2619, allocations: 32.75 kB / 0.5631 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.2621, allocations: 239.9 kB / 0.5633 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2621, allocations: 16.94 kB / 0.5633 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.2622, allocations: 27.92 kB / 0.5633 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.2628, allocations: 373.3 kB / 0.5637 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2628, allocations: 0 / 0.5637 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.2628, allocations: 11.98 kB / 0.5637 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/0.2628, allocations: 28.62 kB / 0.5637 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.2634, allocations: 374.3 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.2646, allocations: 0.8428 MB / 0.5649 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.265, allocations: 261.8 kB / 0.5652 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.2652, allocations: 96.78 kB / 0.5653 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.2653, allocations: 7.984 kB / 0.5653 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2653, allocations: 30.56 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.2653, allocations: 0 / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007144/0.266, allocations: 333.3 kB / 0.5656 GB, free: 13.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.266, allocations: 59.41 kB / 0.5657 GB, free: 13.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.2664, allocations: 338.9 kB / 0.566 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.2664, allocations: 29.7 kB / 0.566 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2665, allocations: 176.2 kB / 0.5662 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.2666, allocations: 55.48 kB / 0.5662 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.2666, allocations: 65.86 kB / 0.5663 GB, free: 12.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2668, allocations: 338.8 kB / 0.5666 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.267, allocations: 92.38 kB / 0.5667 GB, free: 12.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.2672, allocations: 191.9 kB / 0.5669 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.2677, allocations: 310.8 kB / 0.5672 GB, free: 11.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2677, allocations: 0 / 0.5672 GB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006008/0.2683, allocations: 356.1 kB / 0.5675 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2684, allocations: 8 kB / 0.5675 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2684, allocations: 4 kB / 0.5676 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2684, allocations: 4 kB / 0.5676 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.2689, allocations: 119.9 kB / 0.5677 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.2711, allocations: 3.653 MB / 0.5712 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.2713, allocations: 35.73 kB / 0.5713 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.2714, allocations: 15.98 kB / 0.5713 GB, free: 7.574 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.0002132/0.2716, allocations: 185.9 kB / 0.5715 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.2716, allocations: 27.81 kB / 0.5715 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006544/0.2723, allocations: 327.4 kB / 0.5718 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2723, allocations: 4 kB / 0.5718 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2723, allocations: 4 kB / 0.5718 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2723, allocations: 0 / 0.5718 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.2726, allocations: 301.4 kB / 0.5721 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2727, allocations: 0 / 0.5721 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.2731, allocations: 104 kB / 0.5722 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.2731, allocations: 4 kB / 0.5722 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.2731, allocations: 11.92 kB / 0.5722 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.2753, allocations: 3.649 MB / 0.5758 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2753, allocations: 0 / 0.5758 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.2758, allocations: 351.4 kB / 0.5761 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.2759, allocations: 108.9 kB / 0.5762 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.2759, allocations: 3.938 kB / 0.5762 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.2761, allocations: 11.98 kB / 0.5762 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.2761, allocations: 15.98 kB / 0.5762 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.2761, allocations: 7.984 kB / 0.5763 GB, free: 2.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.2764, allocations: 245.8 kB / 0.5765 GB, free: 2.004 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2764, allocations: 0 / 0.5765 GB, free: 2.004 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.2767, allocations: 75.92 kB / 0.5766 GB, free: 1.93 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.0008946/0.2776, allocations: 0.9196 MB / 0.5775 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008572/0.2785, allocations: 320.2 kB / 0.5778 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2785, allocations: 0 / 0.5778 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005601/0.279, allocations: 187.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.0003784/0.2794, 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.004023/0.2834, allocations: 3.367 MB / 0.5813 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.2838, allocations: 0.7912 MB / 0.5821 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.284, allocations: 82.89 kB / 0.5821 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.2841, allocations: 75.41 kB / 0.5822 GB, free: 11.93 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2841, allocations: 0 / 0.5822 GB, free: 11.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.3156, allocations: 8.654 MB / 0.5907 GB, free: 3.445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.93, allocations: 7.922 kB / 0.5907 GB, free: 3.438 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 & 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: 13.465426397000556]