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.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.001146/0.001146, allocations: 105 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.001284/0.001284, allocations: 218.6 kB / 22.92 MB, free: 5.195 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.297/1.297, allocations: 230.2 MB / 256.2 MB, free: 8.578 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_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.002195/0.002195, allocations: 75.88 kB / 0.494 GB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2708, allocations: 65.99 MB / 0.5584 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003489/0.2743, allocations: 2.234 MB / 0.5606 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2761, allocations: 1.196 MB / 0.5618 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.975e-05/0.2762, allocations: 4 kB / 0.5618 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.2764, allocations: 75.52 kB / 0.5619 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.2766, allocations: 99.36 kB / 0.562 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.2771, allocations: 199 kB / 0.5622 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005118/0.2776, allocations: 0.4899 MB / 0.5626 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.45e-05/0.2777, allocations: 26.92 kB / 0.5627 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.2779, allocations: 163.2 kB / 0.5628 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.2782, allocations: 206.9 kB / 0.563 GB, free: 500 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.2782, allocations: 16 kB / 0.563 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004854/0.2787, allocations: 335.5 kB / 0.5634 GB, free: 148 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2788, allocations: 103.5 kB / 0.5634 GB, free: 44 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.279, allocations: 186.9 kB / 0.5636 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006721/0.2797, allocations: 0.5989 MB / 0.5642 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2797, allocations: 0 / 0.5642 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2797, allocations: 0 / 0.5642 GB, free: 15.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.2797, allocations: 4 kB / 0.5642 GB, free: 15.25 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001157/0.2808, allocations: 0.7712 MB / 0.565 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2809, allocations: 8.031 kB / 0.565 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.416e-05/0.281, allocations: 94.64 kB / 0.5651 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/0.2813, allocations: 84.56 kB / 0.5651 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.2817, allocations: 303.7 kB / 0.5654 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.2817, allocations: 33.36 kB / 0.5655 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.99e-05/0.2818, allocations: 51.94 kB / 0.5655 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.2827, allocations: 0.6519 MB / 0.5662 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.2828, allocations: 3.938 kB / 0.5662 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.2828, allocations: 20 kB / 0.5662 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.2828, allocations: 28.97 kB / 0.5662 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008785/0.2837, allocations: 491.5 kB / 0.5667 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.2856, allocations: 1.512 MB / 0.5682 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.2862, allocations: 286 kB / 0.5684 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.2865, allocations: 150.4 kB / 0.5686 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.2866, allocations: 11.97 kB / 0.5686 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2866, allocations: 38.5 kB / 0.5686 GB, free: 10.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.592e-06/0.2866, allocations: 0 / 0.5686 GB, free: 10.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.0012/0.2878, allocations: 0.4934 MB / 0.5691 GB, free: 10.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.2879, allocations: 106.8 kB / 0.5692 GB, free: 9.895 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.2884, allocations: 0.5407 MB / 0.5697 GB, free: 9.344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.2885, allocations: 29.7 kB / 0.5698 GB, free: 9.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.2886, allocations: 240.3 kB / 0.57 GB, free: 9.066 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.2887, allocations: 71.38 kB / 0.5701 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.2888, allocations: 89.86 kB / 0.5701 GB, free: 8.898 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.289, allocations: 354.8 kB / 0.5705 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.2893, allocations: 156.1 kB / 0.5706 GB, free: 8.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/0.2898, allocations: 280.5 kB / 0.5709 GB, free: 8.062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007967/0.2906, allocations: 449.4 kB / 0.5713 GB, free: 7.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2906, allocations: 0 / 0.5713 GB, free: 7.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009661/0.2915, allocations: 0.4929 MB / 0.5718 GB, free: 7.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2916, allocations: 4 kB / 0.5718 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.33e-05/0.2916, allocations: 48.5 kB / 0.5719 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2916, allocations: 7.938 kB / 0.5719 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.2919, allocations: 47.89 kB / 0.5719 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2919, allocations: 7.938 kB / 0.5719 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.2921, allocations: 71.48 kB / 0.572 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.2922, allocations: 24 kB / 0.572 GB, free: 6.863 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * 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.0002132/0.2924, allocations: 209.6 kB / 0.5722 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2925, allocations: 43.72 kB / 0.5722 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008422/0.2933, allocations: 459.5 kB / 0.5727 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.2934, allocations: 4 kB / 0.5727 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2934, allocations: 0 / 0.5727 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2934, allocations: 3.984 kB / 0.5727 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.2939, allocations: 385.4 kB / 0.5731 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-05/0.294, allocations: 39.98 kB / 0.5731 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.2941, allocations: 27.91 kB / 0.5731 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2941, allocations: 0 / 0.5731 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.2941, allocations: 19.94 kB / 0.5731 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2941, allocations: 0 / 0.5731 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2941, allocations: 4 kB / 0.5731 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.295, allocations: 0.6074 MB / 0.5737 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.2951, allocations: 128.7 kB / 0.5739 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.2952, allocations: 7.938 kB / 0.5739 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.2955, allocations: 15.98 kB / 0.5739 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.2955, allocations: 27.91 kB / 0.5739 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.2956, allocations: 23.94 kB / 0.5739 GB, free: 4.785 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004033/0.296, allocations: 391 kB / 0.5743 GB, free: 4.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.296, allocations: 4 kB / 0.5743 GB, free: 4.406 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005159/0.2965, allocations: 139.8 kB / 0.5744 GB, free: 4.27 MB / 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.001309/0.2978, allocations: 1.198 MB / 0.5756 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009719/0.2988, allocations: 0.6571 MB / 0.5763 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2988, allocations: 0 / 0.5763 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.2993, allocations: 484.2 kB / 0.5767 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.3, allocations: 113.9 kB / 0.5768 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/0.3067, allocations: 5.192 MB / 0.5819 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.3071, allocations: 0.866 MB / 0.5827 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.3073, allocations: 83.28 kB / 0.5828 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3075, allocations: 123.4 kB / 0.5829 GB, free: 11.16 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3075, allocations: 4 kB / 0.5829 GB, free: 11.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.3435, allocations: 13.08 MB / 0.5957 GB, free: 14.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/7.987, allocations: 14.03 kB / 0.5957 GB, free: 14.2 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000201839 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.519506867000018]