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_overall.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.001455/0.001455, 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.001574/0.001574, allocations: 218.4 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.314/1.314, allocations: 230.2 MB / 256.1 MB, free: 8.766 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.1981/0.1981, allocations: 46.9 MB / 359.3 MB, free: 4.965 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_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.002069/0.002069, allocations: 79.86 kB / 0.494 GB, free: 9.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2703, allocations: 65.98 MB / 0.5585 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003309/0.2736, allocations: 2.288 MB / 0.5607 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.2766, allocations: 2.18 MB / 0.5628 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.209e-05/0.2767, allocations: 4 kB / 0.5628 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.2769, allocations: 75.52 kB / 0.5629 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.2772, allocations: 115.3 kB / 0.563 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009669/0.2781, allocations: 453.5 kB / 0.5634 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005504/0.2787, allocations: 0.517 MB / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.126e-05/0.2788, allocations: 22.92 kB / 0.564 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.279, allocations: 190.9 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.2793, allocations: 218.8 kB / 0.5644 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.2793, allocations: 12 kB / 0.5644 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009863/0.2803, allocations: 0.6942 MB / 0.565 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2804, allocations: 99.47 kB / 0.5651 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.2806, allocations: 214.5 kB / 0.5653 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009619/0.2816, allocations: 0.856 MB / 0.5662 GB, free: 13.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.2816, allocations: 8 kB / 0.5662 GB, free: 13.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2816, allocations: 0 / 0.5662 GB, free: 13.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.2816, allocations: 0 / 0.5662 GB, free: 13.24 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001251/0.2828, allocations: 0.8491 MB / 0.567 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2829, allocations: 16.03 kB / 0.567 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.283, allocations: 102.6 kB / 0.5671 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/0.2834, allocations: 96.52 kB / 0.5672 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.2837, allocations: 331.5 kB / 0.5675 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.2838, allocations: 37.69 kB / 0.5676 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/0.2838, allocations: 55.94 kB / 0.5676 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.2849, allocations: 0.7619 MB / 0.5684 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.285, allocations: 3.938 kB / 0.5684 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.285, allocations: 28 kB / 0.5684 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.285, allocations: 25.31 kB / 0.5684 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009617/0.286, allocations: 0.5554 MB / 0.569 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.2882, allocations: 1.685 MB / 0.5706 GB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/0.2887, allocations: 291.6 kB / 0.5709 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.289, allocations: 142.5 kB / 0.571 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.2891, allocations: 15.97 kB / 0.571 GB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.2891, allocations: 42.44 kB / 0.5711 GB, free: 7.992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.2891, allocations: 0 / 0.5711 GB, free: 7.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001223/0.2903, allocations: 0.5076 MB / 0.5716 GB, free: 7.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.2904, allocations: 107 kB / 0.5717 GB, free: 7.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007009/0.2911, allocations: 0.6392 MB / 0.5723 GB, free: 6.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.2911, allocations: 29.7 kB / 0.5723 GB, free: 6.664 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.2913, allocations: 292.1 kB / 0.5726 GB, free: 6.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.2914, allocations: 83.36 kB / 0.5727 GB, free: 6.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.2916, allocations: 130.1 kB / 0.5728 GB, free: 6.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2917, allocations: 362.8 kB / 0.5732 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.2921, allocations: 192.9 kB / 0.5733 GB, free: 5.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/0.2927, allocations: 465.2 kB / 0.5738 GB, free: 5.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.2938, allocations: 0.675 MB / 0.5744 GB, free: 4.219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2938, allocations: 0 / 0.5744 GB, free: 4.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001273/0.2951, allocations: 0.6945 MB / 0.5751 GB, free: 3.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2951, allocations: 11.94 kB / 0.5751 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-05/0.2952, allocations: 51.98 kB / 0.5752 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.2952, allocations: 16.62 kB / 0.5752 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.2954, allocations: 79.81 kB / 0.5753 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.2955, allocations: 15.94 kB / 0.5753 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.2958, allocations: 103.3 kB / 0.5754 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.2959, allocations: 32 kB / 0.5754 GB, free: 3.215 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002657/0.2962, allocations: 257.5 kB / 0.5757 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.2963, allocations: 51.61 kB / 0.5757 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009044/0.2972, allocations: 473.7 kB / 0.5762 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-06/0.2972, allocations: 4 kB / 0.5762 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2972, allocations: 4 kB / 0.5762 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2972, allocations: 0 / 0.5762 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005964/0.2978, allocations: 409.3 kB / 0.5766 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.03e-05/0.2979, allocations: 47.98 kB / 0.5766 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.298, allocations: 23.97 kB / 0.5766 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.298, allocations: 3.938 kB / 0.5766 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.298, allocations: 12 kB / 0.5767 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.298, allocations: 4 kB / 0.5767 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.298, allocations: 4 kB / 0.5767 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009608/0.299, allocations: 0.6152 MB / 0.5773 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.2991, allocations: 140.6 kB / 0.5774 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.2992, allocations: 4 kB / 0.5774 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.2995, allocations: 19.92 kB / 0.5774 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.2996, allocations: 31.97 kB / 0.5774 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.2996, allocations: 12 kB / 0.5775 GB, free: 1.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004905/0.3001, allocations: 446.7 kB / 0.5779 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3001, allocations: 4 kB / 0.5779 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006838/0.3008, allocations: 191.6 kB / 0.5781 GB, free: 408 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001556/0.3023, allocations: 1.297 MB / 0.5793 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.3034, allocations: 0.7461 MB / 0.5801 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3034, allocations: 4.125 kB / 0.5801 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.304, allocations: 476.2 kB / 0.5805 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006777/0.3047, allocations: 122.2 kB / 0.5806 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008062/0.3127, allocations: 5.955 MB / 0.5865 GB, free: 7.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.3132, allocations: 0.8894 MB / 0.5873 GB, free: 6.367 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003017/0.3135, allocations: 132.4 kB / 0.5875 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.3137, allocations: 143.4 kB / 0.5876 GB, free: 6.098 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3137, allocations: 4 kB / 0.5876 GB, free: 6.094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04155/0.3553, allocations: 15.99 MB / 0.6032 GB, free: 6.246 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.16, allocations: 12.53 kB / 0.6032 GB, free: 6.234 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.734339603004628]