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_twoPhaseOverall_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.001203/0.001203, 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.001266/0.001266, allocations: 221.5 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.276/1.276, allocations: 230.2 MB / 256.2 MB, free: 8.73 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.2005/0.2005, allocations: 46.88 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_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_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.002169/0.002169, allocations: 79.86 kB / 0.494 GB, free: 9.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2592, allocations: 65.98 MB / 0.5585 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.00424/0.2635, allocations: 2.912 MB / 0.5613 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.2672, allocations: 2.62 MB / 0.5639 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.2673, allocations: 4 kB / 0.5639 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.2677, allocations: 121 kB / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.2681, allocations: 234.6 kB / 0.5642 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.2693, allocations: 0.5714 MB / 0.5648 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009491/0.2703, allocations: 0.9403 MB / 0.5657 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2704, allocations: 38.27 kB / 0.5657 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004225/0.2708, allocations: 338 kB / 0.566 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.2713, allocations: 425.6 kB / 0.5665 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.118e-05/0.2714, allocations: 24 kB / 0.5665 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.2728, allocations: 0.9554 MB / 0.5674 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.273, allocations: 274.6 kB / 0.5677 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.2734, allocations: 456.6 kB / 0.5681 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.2749, allocations: 1.388 MB / 0.5695 GB, free: 9.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2749, allocations: 3.938 kB / 0.5695 GB, free: 9.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2749, allocations: 0 / 0.5695 GB, free: 9.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.2749, allocations: 0 / 0.5695 GB, free: 9.84 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002067/0.277, allocations: 1.502 MB / 0.5709 GB, free: 8.281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.277, allocations: 8.031 kB / 0.5709 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/0.2772, allocations: 169 kB / 0.5711 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006907/0.2779, allocations: 196 kB / 0.5713 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000682/0.2786, allocations: 0.5189 MB / 0.5718 GB, free: 7.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.2786, allocations: 73.92 kB / 0.5719 GB, free: 7.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.2788, allocations: 92 kB / 0.572 GB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.2807, allocations: 1.423 MB / 0.5733 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.2808, allocations: 0 / 0.5733 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.2808, allocations: 36 kB / 0.5734 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.6e-05/0.2809, allocations: 74.08 kB / 0.5735 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.283, allocations: 1.37 MB / 0.5748 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/0.287, allocations: 3.08 MB / 0.5778 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.2883, allocations: 0.7031 MB / 0.5785 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.2889, allocations: 285.3 kB / 0.5788 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.2889, allocations: 12.41 kB / 0.5788 GB, free: 16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.289, allocations: 50.67 kB / 0.5788 GB, free: 15.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.289, allocations: 0 / 0.5788 GB, free: 15.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.002244/0.2912, allocations: 0.9436 MB / 0.5797 GB, free: 14.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.2913, allocations: 191.9 kB / 0.5799 GB, free: 14.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.2929, allocations: 1.358 MB / 0.5812 GB, free: 13.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.2929, allocations: 29.7 kB / 0.5813 GB, free: 13.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.2934, allocations: 0.552 MB / 0.5818 GB, free: 12.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.2935, allocations: 123 kB / 0.5819 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.2937, allocations: 154.2 kB / 0.5821 GB, free: 12.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2939, allocations: 330 kB / 0.5824 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006689/0.2945, allocations: 305 kB / 0.5827 GB, free: 11.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009253/0.2955, allocations: 0.6208 MB / 0.5833 GB, free: 11.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.2971, allocations: 0.9728 MB / 0.5842 GB, free: 9.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.2971, allocations: 4 kB / 0.5842 GB, free: 9.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002/0.2991, allocations: 1.043 MB / 0.5853 GB, free: 8.926 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2991, allocations: 14.03 kB / 0.5853 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.2992, allocations: 8 kB / 0.5853 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.2992, allocations: 16 kB / 0.5853 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/0.2998, allocations: 160 kB / 0.5855 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/0.2998, allocations: 27.92 kB / 0.5855 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/0.3005, allocations: 174.7 kB / 0.5856 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.3006, allocations: 43.98 kB / 0.5857 GB, free: 8.492 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 26 (IN_var_3[6].target,IN_var_3[5].target,IN_var_3[4].target,IN_var_3[3].target,IN_var_3[2].target,IN_var_3[1].target,IN_con_3[6].target,IN_con_3[5].target,IN_con_3[4].target,IN_con_3[3].target,IN_con_3[2].target,IN_con_3[1].target,IN_var_2.target,IN_con_2.target,IN_var_1[6].target,IN_var_1[5].target,IN_var_1[4].target,IN_var_1[3].target,IN_var_1[2].target,IN_var_1[1].target,IN_con_1[6].target,IN_con_1[5].target,IN_con_1[4].target,IN_con_1[3].target,IN_con_1[2].target,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 (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004836/0.301, allocations: 363.6 kB / 0.586 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.3013, allocations: 135.1 kB / 0.5862 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.3026, allocations: 0.7625 MB / 0.5869 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3026, allocations: 4 kB / 0.5869 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.3027, allocations: 8 kB / 0.5869 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3027, allocations: 3.984 kB / 0.5869 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.3038, allocations: 0.7141 MB / 0.5876 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3038, allocations: 0 / 0.5876 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.3042, allocations: 107.8 kB / 0.5877 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.3042, allocations: 4 kB / 0.5877 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.3043, allocations: 16 kB / 0.5877 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3043, allocations: 0 / 0.5877 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3043, allocations: 7.938 kB / 0.5877 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.3059, allocations: 1.165 MB / 0.5889 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.3061, allocations: 208.1 kB / 0.5891 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.3063, allocations: 8 kB / 0.5891 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.3068, allocations: 39.95 kB / 0.5891 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3069, allocations: 39.95 kB / 0.5892 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.307, allocations: 20 kB / 0.5892 GB, free: 4.785 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001121/0.3081, allocations: 0.9313 MB / 0.5901 GB, free: 3.852 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3081, allocations: 0 / 0.5901 GB, free: 3.852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001005/0.3091, allocations: 307.4 kB / 0.5904 GB, free: 3.551 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002302/0.3114, allocations: 1.864 MB / 0.5922 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.3129, allocations: 0.6936 MB / 0.5929 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.313, allocations: 0 / 0.5929 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006756/0.3136, allocations: 291.6 kB / 0.5932 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.3149, allocations: 269.1 kB / 0.5934 GB, free: 424 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/0.3295, allocations: 11.2 MB / 0.6044 GB, free: 4.699 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000826/0.3304, allocations: 1.157 MB / 0.6055 GB, free: 3.512 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008508/0.3312, allocations: 394.6 kB / 0.6059 GB, free: 3.121 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005121/0.3317, allocations: 403.3 kB / 0.6063 GB, free: 2.73 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3317, allocations: 0 / 0.6063 GB, free: 2.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05556/0.3873, allocations: 27.99 MB / 0.6336 GB, free: 7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.064/9.451, allocations: 7.922 kB / 0.6336 GB, free: 6.992 MB / 478.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.090596035995986]