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.001495/0.001495, allocations: 105.5 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.001611/0.001611, allocations: 221.8 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.324/1.324, allocations: 230.2 MB / 256.2 MB, free: 8.629 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.205/0.205, allocations: 46.89 MB / 359.3 MB, free: 5 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.002196/0.002196, allocations: 87.86 kB / 0.494 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2594, allocations: 65.98 MB / 0.5585 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.003838/0.2632, allocations: 2.9 MB / 0.5613 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003446/0.2667, allocations: 2.616 MB / 0.5639 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.2668, allocations: 7.938 kB / 0.5639 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.2671, allocations: 121 kB / 0.564 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.2675, allocations: 242.5 kB / 0.5642 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.2686, allocations: 0.5597 MB / 0.5648 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008851/0.2695, allocations: 0.9402 MB / 0.5657 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.2696, allocations: 46.25 kB / 0.5657 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.27, allocations: 338 kB / 0.5661 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.2704, allocations: 421.7 kB / 0.5665 GB, free: 13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/0.2705, allocations: 24 kB / 0.5665 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.2718, allocations: 0.9553 MB / 0.5674 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.2721, allocations: 274.6 kB / 0.5677 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003883/0.2724, allocations: 456.6 kB / 0.5681 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.2739, allocations: 1.388 MB / 0.5695 GB, free: 9.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2739, allocations: 7.938 kB / 0.5695 GB, free: 9.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.2739, allocations: 0 / 0.5695 GB, free: 9.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.2739, allocations: 0 / 0.5695 GB, free: 9.898 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.002074/0.276, allocations: 1.498 MB / 0.5709 GB, free: 8.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.276, allocations: 12.03 kB / 0.5709 GB, free: 8.332 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001682/0.2762, allocations: 169 kB / 0.5711 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006915/0.2769, allocations: 192 kB / 0.5713 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006605/0.2775, allocations: 0.5228 MB / 0.5718 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/0.2776, allocations: 73.94 kB / 0.5719 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.2777, allocations: 95.94 kB / 0.572 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.2796, allocations: 1.415 MB / 0.5733 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2796, allocations: 0 / 0.5733 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.2797, allocations: 36 kB / 0.5734 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/0.2798, allocations: 74.02 kB / 0.5734 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.2819, allocations: 1.37 MB / 0.5748 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.2857, allocations: 3.08 MB / 0.5778 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.287, allocations: 0.7031 MB / 0.5785 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/0.2876, allocations: 285.3 kB / 0.5788 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.561e-05/0.2876, allocations: 20.14 kB / 0.5788 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.2877, allocations: 46.73 kB / 0.5788 GB, free: 0 / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.212e-06/0.2877, allocations: 0 / 0.5788 GB, free: 0 / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002185/0.2898, allocations: 0.9326 MB / 0.5797 GB, free: 15.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.2899, allocations: 196 kB / 0.5799 GB, free: 14.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.2915, allocations: 1.362 MB / 0.5812 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.2915, allocations: 33.7 kB / 0.5813 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.292, allocations: 0.5442 MB / 0.5818 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.2921, allocations: 127 kB / 0.5819 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.2923, allocations: 158.2 kB / 0.5821 GB, free: 12.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2924, allocations: 330 kB / 0.5824 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006663/0.2931, allocations: 305 kB / 0.5827 GB, free: 11.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008979/0.294, allocations: 0.6169 MB / 0.5833 GB, free: 11.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.2956, allocations: 0.9721 MB / 0.5842 GB, free: 10.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.2956, allocations: 4 kB / 0.5842 GB, free: 10.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001955/0.2976, allocations: 1.044 MB / 0.5853 GB, free: 8.988 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2976, allocations: 10.19 kB / 0.5853 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.2976, allocations: 15.98 kB / 0.5853 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.2976, allocations: 16 kB / 0.5853 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.2982, allocations: 155.7 kB / 0.5854 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.989e-05/0.2982, allocations: 31.84 kB / 0.5855 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006898/0.2989, allocations: 178.7 kB / 0.5856 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.299, allocations: 40 kB / 0.5857 GB, free: 8.551 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.000448/0.2994, allocations: 367.6 kB / 0.586 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.2997, allocations: 135.1 kB / 0.5862 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.301, allocations: 0.7585 MB / 0.5869 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.301, allocations: 8 kB / 0.5869 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.301, allocations: 0 / 0.5869 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.301, allocations: 0 / 0.5869 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.3022, allocations: 0.7141 MB / 0.5876 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.3022, allocations: 11.94 kB / 0.5876 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.3026, allocations: 103.9 kB / 0.5877 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3026, allocations: 0 / 0.5877 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.3027, allocations: 16 kB / 0.5877 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.3027, allocations: 7.938 kB / 0.5877 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3027, allocations: 3.938 kB / 0.5877 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.3043, allocations: 1.162 MB / 0.5889 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.3045, allocations: 212.1 kB / 0.5891 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.3046, allocations: 11.98 kB / 0.5891 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/0.3052, allocations: 31.97 kB / 0.5891 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3053, allocations: 43.89 kB / 0.5892 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.3054, allocations: 20 kB / 0.5892 GB, free: 4.848 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001153/0.3065, allocations: 0.9352 MB / 0.5901 GB, free: 3.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3065, allocations: 0 / 0.5901 GB, free: 3.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00102/0.3075, allocations: 307.4 kB / 0.5904 GB, free: 3.609 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.002279/0.3098, allocations: 1.86 MB / 0.5922 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.3113, allocations: 0.682 MB / 0.5929 GB, free: 1.035 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3113, allocations: 4.125 kB / 0.5929 GB, free: 1.031 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006726/0.312, allocations: 295.6 kB / 0.5932 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.3133, allocations: 268.9 kB / 0.5934 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.3281, allocations: 11.2 MB / 0.6044 GB, free: 4.766 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/0.3289, allocations: 1.161 MB / 0.6055 GB, free: 3.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008147/0.3297, allocations: 390.6 kB / 0.6059 GB, free: 3.188 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/0.3302, allocations: 403.3 kB / 0.6062 GB, free: 2.797 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3302, allocations: 0 / 0.6062 GB, free: 2.797 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05525/0.3855, allocations: 27.99 MB / 0.6336 GB, free: 7.062 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.041/9.427, allocations: 11.98 kB / 0.6336 GB, free: 7.051 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_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_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.154417696001474]