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.001458/0.001458, allocations: 106.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.001564/0.001564, allocations: 223.4 kB / 22.93 MB, free: 5.535 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.288/1.288, allocations: 230.2 MB / 256.2 MB, free: 8.734 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.1975/0.1975, 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_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.002099/0.002099, allocations: 80.14 kB / 0.494 GB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2636, allocations: 65.99 MB / 0.5584 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003364/0.267, allocations: 2.3 MB / 0.5607 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.27, allocations: 2.172 MB / 0.5628 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.86e-05/0.2701, allocations: 0 / 0.5628 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.2703, allocations: 79.5 kB / 0.5629 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.2706, allocations: 111.3 kB / 0.563 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009733/0.2715, allocations: 457.6 kB / 0.5634 GB, free: 96 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.2721, allocations: 0.5248 MB / 0.5639 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.193e-05/0.2722, allocations: 18.92 kB / 0.564 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.2724, allocations: 187 kB / 0.5641 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.2727, allocations: 218.8 kB / 0.5644 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.2727, allocations: 16 kB / 0.5644 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.2738, allocations: 0.6903 MB / 0.565 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.2739, allocations: 99.45 kB / 0.5651 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.2741, allocations: 214.5 kB / 0.5653 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.2751, allocations: 0.86 MB / 0.5662 GB, free: 13.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2751, allocations: 0 / 0.5662 GB, free: 13.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2751, allocations: 0 / 0.5662 GB, free: 13.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.2751, allocations: 3.938 kB / 0.5662 GB, free: 13.27 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.001278/0.2764, allocations: 0.8568 MB / 0.567 GB, free: 12.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.2764, allocations: 8.031 kB / 0.567 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.2765, allocations: 102.7 kB / 0.5671 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.2769, allocations: 96.52 kB / 0.5672 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.2773, allocations: 323.6 kB / 0.5675 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.2773, allocations: 41.69 kB / 0.5676 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.329e-05/0.2774, allocations: 51.94 kB / 0.5676 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.2785, allocations: 0.7696 MB / 0.5684 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2785, allocations: 0 / 0.5684 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.2785, allocations: 24 kB / 0.5684 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/0.2786, allocations: 29.3 kB / 0.5684 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009765/0.2795, allocations: 0.5515 MB / 0.569 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.2817, allocations: 1.685 MB / 0.5706 GB, free: 8.555 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.2823, allocations: 298.5 kB / 0.5709 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.2826, allocations: 142.4 kB / 0.571 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.85e-05/0.2827, allocations: 11.98 kB / 0.571 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2827, allocations: 38.5 kB / 0.5711 GB, free: 8.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.2827, allocations: 0 / 0.5711 GB, free: 8.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001225/0.2839, allocations: 0.5128 MB / 0.5716 GB, free: 7.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.284, allocations: 106.9 kB / 0.5717 GB, free: 7.383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000695/0.2847, allocations: 0.6353 MB / 0.5723 GB, free: 6.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.2847, allocations: 33.7 kB / 0.5723 GB, free: 6.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.2849, allocations: 296 kB / 0.5726 GB, free: 6.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.285, allocations: 79.31 kB / 0.5727 GB, free: 6.324 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.2852, allocations: 122.2 kB / 0.5728 GB, free: 6.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2853, allocations: 366.8 kB / 0.5732 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.2858, allocations: 196.9 kB / 0.5733 GB, free: 5.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.2864, allocations: 465.1 kB / 0.5738 GB, free: 5.055 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.2874, allocations: 0.6735 MB / 0.5744 GB, free: 4.254 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2874, allocations: 4 kB / 0.5744 GB, free: 4.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001241/0.2886, allocations: 0.6921 MB / 0.5751 GB, free: 3.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.2887, allocations: 11.94 kB / 0.5751 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-05/0.2887, allocations: 47.98 kB / 0.5752 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.2888, allocations: 16 kB / 0.5752 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.289, allocations: 72.28 kB / 0.5753 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.2891, allocations: 19.94 kB / 0.5753 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.2894, allocations: 103.3 kB / 0.5754 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.2895, allocations: 36 kB / 0.5754 GB, free: 3.25 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.0002599/0.2897, allocations: 257.5 kB / 0.5757 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.2899, allocations: 55.61 kB / 0.5757 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000909/0.2908, allocations: 469.8 kB / 0.5762 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.2908, allocations: 4 kB / 0.5762 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2908, allocations: 0 / 0.5762 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.2908, allocations: 3.984 kB / 0.5762 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.2914, allocations: 409.3 kB / 0.5766 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.79e-05/0.2914, allocations: 39.98 kB / 0.5766 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.2916, allocations: 31.91 kB / 0.5766 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.2916, allocations: 7.938 kB / 0.5766 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.2916, allocations: 12 kB / 0.5766 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.2916, allocations: 3.984 kB / 0.5766 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2916, allocations: 0 / 0.5766 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000893/0.2925, allocations: 0.6177 MB / 0.5773 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.2926, allocations: 136.6 kB / 0.5774 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.2927, allocations: 3.938 kB / 0.5774 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.293, allocations: 27.91 kB / 0.5774 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.2931, allocations: 19.98 kB / 0.5774 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.2931, allocations: 20 kB / 0.5775 GB, free: 1.059 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004734/0.2936, allocations: 446.7 kB / 0.5779 GB, free: 0.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2936, allocations: 0 / 0.5779 GB, free: 0.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007034/0.2943, allocations: 195.6 kB / 0.5781 GB, free: 444 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.001513/0.2958, allocations: 1.314 MB / 0.5793 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.2969, allocations: 0.74 MB / 0.5801 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2969, allocations: 0 / 0.5801 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.2974, allocations: 480.7 kB / 0.5805 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.2981, allocations: 122.2 kB / 0.5806 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00754/0.3056, allocations: 5.959 MB / 0.5865 GB, free: 7.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.3061, allocations: 0.8933 MB / 0.5873 GB, free: 6.383 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002762/0.3064, allocations: 136.4 kB / 0.5875 GB, free: 6.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.3066, allocations: 143.4 kB / 0.5876 GB, free: 6.109 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3066, allocations: 0 / 0.5876 GB, free: 6.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03935/0.3459, allocations: 15.97 MB / 0.6032 GB, free: 6.289 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.131, allocations: 16.61 kB / 0.6032 GB, free: 6.273 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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.638698522991035]