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_laminar_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.001189/0.001189, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001315/0.001315, allocations: 217.3 kB / 22.92 MB, free: 5.191 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.313/1.313, allocations: 230.2 MB / 256.1 MB, free: 8.586 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.2037/0.2037, allocations: 46.89 MB / 359.3 MB, free: 4.945 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_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_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.002263/0.002263, allocations: 75.86 kB / 0.494 GB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2712, allocations: 65.99 MB / 0.5585 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003394/0.2746, allocations: 2.144 MB / 0.5605 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2761, allocations: 0.9191 MB / 0.5614 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.2762, allocations: 0 / 0.5614 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.2765, allocations: 67.64 kB / 0.5615 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.2769, allocations: 151.3 kB / 0.5617 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.2772, allocations: 95.7 kB / 0.5617 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.2777, allocations: 461.7 kB / 0.5622 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.218e-05/0.2777, allocations: 18.56 kB / 0.5622 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.278, allocations: 183.1 kB / 0.5624 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.2783, allocations: 219 kB / 0.5626 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.2784, allocations: 12 kB / 0.5626 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.2788, allocations: 267.6 kB / 0.5628 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.2789, allocations: 107.5 kB / 0.563 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.2791, allocations: 178.8 kB / 0.5631 GB, free: 416 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006357/0.2797, allocations: 0.5408 MB / 0.5637 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2797, allocations: 0 / 0.5637 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2797, allocations: 0 / 0.5637 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.2797, allocations: 0 / 0.5637 GB, free: 15.86 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001166/0.2809, allocations: 0.7285 MB / 0.5644 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2809, allocations: 8.031 kB / 0.5644 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.281, allocations: 90.7 kB / 0.5645 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.723e-05/0.2811, allocations: 56.55 kB / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.2814, allocations: 299.6 kB / 0.5648 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.2815, allocations: 29.38 kB / 0.5648 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/0.2815, allocations: 47.92 kB / 0.5649 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009505/0.2825, allocations: 0.6679 MB / 0.5655 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2825, allocations: 0 / 0.5655 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.2825, allocations: 19.98 kB / 0.5655 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.547e-05/0.2826, allocations: 49.27 kB / 0.5656 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.2837, allocations: 0.696 MB / 0.5663 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2856, allocations: 1.353 MB / 0.5676 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007343/0.2863, allocations: 432.5 kB / 0.568 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.2866, allocations: 153.1 kB / 0.5681 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.2867, allocations: 12.22 kB / 0.5682 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.2867, allocations: 34.8 kB / 0.5682 GB, free: 11.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.132e-06/0.2867, allocations: 0 / 0.5682 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001091/0.2878, allocations: 0.542 MB / 0.5687 GB, free: 10.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.2878, allocations: 55.41 kB / 0.5688 GB, free: 10.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.2883, allocations: 489.5 kB / 0.5692 GB, free: 9.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.2884, allocations: 33.81 kB / 0.5693 GB, free: 9.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.2885, allocations: 216.6 kB / 0.5695 GB, free: 9.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.2886, allocations: 115 kB / 0.5696 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.2887, allocations: 90 kB / 0.5697 GB, free: 9.457 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2889, allocations: 354.7 kB / 0.57 GB, free: 9.102 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.2892, allocations: 160.4 kB / 0.5702 GB, free: 8.945 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.2896, allocations: 244.3 kB / 0.5704 GB, free: 8.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.2902, allocations: 430.9 kB / 0.5708 GB, free: 8.207 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2903, allocations: 8 kB / 0.5708 GB, free: 8.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008529/0.2911, allocations: 496.8 kB / 0.5713 GB, free: 7.707 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2911, allocations: 4 kB / 0.5713 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.2911, allocations: 4.375 kB / 0.5713 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.2912, allocations: 8 kB / 0.5713 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009014/0.2921, allocations: 211.8 kB / 0.5715 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/0.2962, allocations: 7.302 MB / 0.5786 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.2965, allocations: 67.78 kB / 0.5787 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.2965, allocations: 16 kB / 0.5787 GB, free: 15.82 MB / 430.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: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.2967, allocations: 226.2 kB / 0.5789 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.2968, allocations: 43.66 kB / 0.579 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.2978, allocations: 0.5368 MB / 0.5795 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2978, allocations: 0 / 0.5795 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2978, allocations: 4 kB / 0.5795 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.2978, allocations: 7.984 kB / 0.5795 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004991/0.2983, allocations: 413.2 kB / 0.5799 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2983, allocations: 0 / 0.5799 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008068/0.2992, allocations: 199.8 kB / 0.5801 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2992, allocations: 0 / 0.5801 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.2992, allocations: 15.98 kB / 0.5801 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004054/0.3032, allocations: 7.286 MB / 0.5872 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3032, allocations: 3.938 kB / 0.5872 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008037/0.3041, allocations: 0.4996 MB / 0.5877 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.3042, allocations: 128.9 kB / 0.5878 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.3042, allocations: 0 / 0.5878 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.3045, allocations: 15.98 kB / 0.5879 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.3045, allocations: 27.91 kB / 0.5879 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.3046, allocations: 15.98 kB / 0.5879 GB, free: 6.035 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003731/0.3049, allocations: 355.1 kB / 0.5882 GB, free: 5.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3049, allocations: 3.938 kB / 0.5882 GB, free: 5.688 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004453/0.3054, allocations: 127.8 kB / 0.5884 GB, free: 5.562 MB / 430.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/0.3066, allocations: 1.079 MB / 0.5894 GB, free: 4.457 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.308, allocations: 0.5082 MB / 0.5899 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.308, allocations: 0 / 0.5899 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009832/0.309, allocations: 335.6 kB / 0.5902 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.3095, allocations: 121.3 kB / 0.5904 GB, free: 3.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006181/0.3157, allocations: 4.89 MB / 0.5951 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.3162, allocations: 0.8776 MB / 0.596 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002998/0.3165, allocations: 136.1 kB / 0.5961 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.3167, allocations: 131.4 kB / 0.5962 GB, free: 13.29 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3167, allocations: 0 / 0.5962 GB, free: 13.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0389/0.3556, allocations: 13.75 MB / 0.6097 GB, free: 15.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.29, allocations: 8.859 kB / 0.6097 GB, free: 15.7 MB / 462.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.894848274008837]